sprinkles-config
raw JSON → 0.1.4 verified Sat May 09 auth: no python
Generate config files from AWS Secrets Manager. Current version 0.1.4. Low release cadence.
pip install sprinkles-config Common errors
error ModuleNotFoundError: No module named 'sprinkles' ↓
cause Forgot to install the library.
fix
pip install sprinkles-config
error ClientError: An error occurred (AccessDenied) when calling the GetSecretValue operation: User: arn:aws:iam::... is not authorized to perform: secretsmanager:GetSecretValue ↓
cause IAM permissions missing for Secrets Manager.
fix
Attach policy with secretsmanager:GetSecretValue for the secret ARN.
Warnings
gotcha The library requires AWS credentials configured (environment variables or IAM role). It will fail silently if not present. ↓
fix Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or run on EC2 with IAM role.
deprecated Python 3.6 support is deprecated; library requires >=Python 3.6 but not tested on newer Python versions. ↓
fix Use Python 3.7+ but expect potential issues.
Imports
- Sprinkles wrong
import Sprinklescorrectfrom sprinkles import Sprinkles
Quickstart
from sprinkles import Sprinkles
sprinkles = Sprinkles()
# Fetch secret and write config file
sprinkles.generate(config_path='config.yaml')