Compare commits
No commits in common. "c385e17d4598cbaa0fc8594f89c54998e8914f46" and "e5afd4a12f4e0c8958dfc63355453e8ab45c0903" have entirely different histories.
c385e17d45
...
e5afd4a12f
|
@ -10,13 +10,13 @@ Usage:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import secret_loader
|
import secret_loader
|
||||||
|
secrets = secret_loader.SecretLoader(env_key_prefix = 'MYAPP')
|
||||||
secrets = secret_loader.SecretLoader(env_key_prefix='MYAPP')
|
|
||||||
|
|
||||||
db_username = secrets.load_or_fail('DATABASE_USERNAME')
|
db_username = secrets.load_or_fail('DATABASE_USERNAME')
|
||||||
db_password = secrets.load_or_fail('DATABASE_PASSWORD')
|
db_password = secrets.load_or_fail('DATABASE_PASSWORD')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Secret loading order:
|
Secret loading order:
|
||||||
|
|
||||||
0. Hardcoded values. **This is purely for debugging, prototyping, and for
|
0. Hardcoded values. **This is purely for debugging, prototyping, and for
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.12'
|
__version__ = '0.1.11'
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -19,13 +19,13 @@ Usage:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import secret_loader
|
import secret_loader
|
||||||
|
secrets = secret_loader.SecretLoader(env_key_prefix = 'MYAPP')
|
||||||
secrets = secret_loader.SecretLoader(env_key_prefix='MYAPP')
|
|
||||||
|
|
||||||
db_username = secrets.load_or_fail('DATABASE_USERNAME')
|
db_username = secrets.load_or_fail('DATABASE_USERNAME')
|
||||||
db_password = secrets.load_or_fail('DATABASE_PASSWORD')
|
db_password = secrets.load_or_fail('DATABASE_PASSWORD')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Secret loading order:
|
Secret loading order:
|
||||||
|
|
||||||
0. Hardcoded values. **This is purely for debugging, prototyping, and for
|
0. Hardcoded values. **This is purely for debugging, prototyping, and for
|
||||||
|
|
Loading…
Reference in New Issue
Block a user