Fixed bug with incorrect namespaces, keys, and secrets.