Skip to content

This module retrieves environment-specific settings from from the AWS SSM Parameter Store at runtime.

License

Notifications You must be signed in to change notification settings

Harvard-University-iCommons/django-ssm-parameter-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-ssm-parameter-store

This module retrieves environment-specific settings from from the AWS SSM Parameter Store at runtime.

Basic usage:

from dj_secure_settings.loader import load_secure_settings

SECURE_SETTINGS = load_secure_settings()

With no arguments, the load_secure_settings() method will determine the environment by looking for an environment variable named ENV, and it will determine the project name by using the grandparent-folder-name of the calling module.

You can explicitly pass values for either of these parameters to override the default behavior:

SECURE_SETTINGS = load_secure_settings(environment='dev', project_name='myproject')

About

This module retrieves environment-specific settings from from the AWS SSM Parameter Store at runtime.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages