Skip to main content

Directly use AWS Secrets Manager with Django settings.py

Project description

dynamic_reader_aws

dynamic_reader_aws is a Python library that simplifies the integration of AWS Secrets Manager with Django applications. It enables the seamless retrieval of secret values from AWS Secrets Manager and their direct integration into Django settings.py files.

Features

  • Seamless Integration: Utilizes boto3 to seamlessly interact with AWS Secrets Manager, enabling smooth retrieval of secret values.
  • Direct Integration with Django Settings: Streamlines the integration of secret key values into Django settings.py files, eliminating the need for manual configuration.
  • Enhanced Security: Ensures the secure handling of sensitive information by leveraging AWS Secrets Manager's encryption and access control features.
  • Simplified Configuration: Requires minimal configuration, including the Secrets Manager name, AWS region, and AWS credentials (AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY), making it easy to get started.

Installation

pip install dynamic_reader_aws



from dynamic_reader_aws import dynamic_secret_manager

# Provide AWS credentials and secret details
secrets_manager_name = "your_secrets_manager_name"
secret_key_name = "your_secret_key_name_in_secrets_manager"
region = "your_aws_region"
aws_access_key = "your_aws_access_key"
aws_secret_access_key = "your_aws_secret_access_key"
secret_key_name = "your_secret_key_name_in_secrets_manager"
# Integrate secrets with Django settings
dynamic_secret_manager(secrets_manager_name, secret_key_name, region, aws_access_key, aws_secret_access_key)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dynamic_reader_aws-0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamic_reader_aws-0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file dynamic_reader_aws-0.1.tar.gz.

File metadata

  • Download URL: dynamic_reader_aws-0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for dynamic_reader_aws-0.1.tar.gz
Algorithm Hash digest
SHA256 b5b378a5a369f0e0779b95b1863a103f4e6ccf09598c0ee577df29ab3ad6a78e
MD5 9902876d7a87589930f185a8b34a1580
BLAKE2b-256 4ebff9deb3ecc2feea11457b6a92cf4882704b09da6391228f8709d5b87b66bf

See more details on using hashes here.

File details

Details for the file dynamic_reader_aws-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dynamic_reader_aws-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 791de7095120864b18910546541aa084c0ee8b79f8a5ee1061413b1ba3811a81
MD5 c0f305bd1289cf883e5ecfb78a964bb5
BLAKE2b-256 53e2200d982c8ca516f224c101c2dba22405bdd69057fa659f8dd42081dc8ff8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page