Secrets¶
Fujin supports multiple secret management adapters for secure handling of sensitive data during deployment.
System¶
The system adapter uses environment variables directly from your system. This is the simplest adapter and requires no additional setup.
Update your fujin.toml file with the following configuration:
[secrets]
adapter = "system"
DEBUG=False
AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
The system adapter will look for environment variables with the same name as the value after the $ sign.
Plugin Adapters¶
Additional secret adapters are available as separate plugin packages:
fujin-secrets-bitwarden - Bitwarden vault integration
fujin-secrets-1password - 1Password CLI integration
fujin-secrets-doppler - Doppler secrets management
Custom Adapters¶
You can create your own secret adapter by implementing the adapter interface and registering it via Python entry points.
See the plugin packages source code for examples of how to implement custom adapters.