mirumee / aws_secrets_cache

Cache AWS Secrets

Repository from Github https://github.commirumee/aws_secrets_cacheRepository from Github https://github.commirumee/aws_secrets_cache

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

License:Other


Languages

Language:Python 100.0%