GitHub - mirumee/aws_secrets_cache: Cache AWS Secrets · GitHub
Skip to content

mirumee/aws_secrets_cache

Folders and files

Repository files navigation

Use AWS Secrets Manager as dict.

This package provides convenient way of using secrets manager as a dict. You can configure underlying cache time with ttl parameter. If you want to use non default kms key id pass it with kms_key_id parameter.

sec = Secrets(client=boto3.client('secretsmanager'))
# Set secret
sec['name'] = value
# Get secret
value = sec['name']

About

Cache AWS Secrets

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages