def get_secret(key, *args, **kwargs):
env_value = os.environ.get(key.replace('<STR_LIT:.>', '<STR_LIT:_>').upper())<EOL>if not env_value:<EOL><INDENT>return _get_secret_from_vault(key, *args, **kwargs)<EOL><DEDENT>return env_value<EOL>
Retrieves a secret.