Skip to content

Commit

Permalink
add one more setting
Browse files Browse the repository at this point in the history
  • Loading branch information
meng-han committed Oct 9, 2024
1 parent 1703b1c commit 6140fe3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions confidant/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,10 @@ def str_env(var_name, default=''):

CUSTOM_CERTIFICATE_AUTHORITIES = json.loads(b64decode(decrypted_custom_cas)) \
if decrypted_custom_cas else {}

# provide a JSON with the following format:
# {"staging": "some_kid", "production": "some_kid"}
CUSTOM_CA_ACTIVE_KEYS = json.loads(str_env('CUSTOM_CA_ACTIVE_KEYS', '{}'))

# Configuration validation
_settings_failures = False
Expand Down

0 comments on commit 6140fe3

Please sign in to comment.