Skip to content

guydou/dj_secrets_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

dj-secrets-loader

The purpose of this project is to make docker secrets available in Django settings.py

Install

pip install dj-secrets-loader

Usage

in setting.py

from dj_secrets_loader import load_secrets
secrets = load_secrets()

The result will be a dictionary that it's keys are the filenames in docker secret folder ('/run/secrets/') and the value is the content of that file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages