ninjecto.plugins.namespaces.vault

Namespace plugin to access secrets in a Vault instance.

Functions

ninjecto.plugins.namespaces.vault.namespace_vault(config)

Fetch values stored on a Vault service.

Vault is a service used to manage secrets and protect sensitive data. Check more information at https://www.vaultproject.io/

To use this namespace add a configuration for your Vault instance of the form:

Then, in the templates, use the namespace as:

{{ vault.myvault.myengine.mysecret.mykey }}
Parameters
config (dict) – Plugin configuration, if any.
Returns
A dynamic namespace to access a secret on any level of a Vault service.
Return type
Namespace