A library providing decorators for multi-source secret retrieval, allowing secrets to be fetched from environment variables, files, AWS Secrets Manager, and other backends. Current version is 0.12.14. Release cadence is irregular with frequent minor version bumps.
pip install decorative-secretsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Retrieve a secret from an environment variable using the @secret decorator.
Define your function with a parameter to accept the secret, e.g., `def func(secret_value):`.
Remove the `from_env=True` argument; just pass the environment variable name directly.
Use underscores or other characters instead of periods, or wrap the key in quotes and use explicit backend configuration.