Change environment variable prefix
This commit is contained in:
parent
634f4a1adc
commit
0d7bb6fdf6
|
@ -4,7 +4,7 @@ import os
|
|||
logger = logging.getLogger(__name__)
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
ENV_KEY_PREFIX = 'CF_IV_'
|
||||
ENV_KEY_PREFIX = 'CF_PD_'
|
||||
|
||||
def load_secret(env_key: str) -> str:
|
||||
filepath = os.environ.get(ENV_KEY_PREFIX + env_key)
|
||||
|
|
Loading…
Reference in New Issue
Block a user