Skip to content

Commit

Permalink
fixed application credentials usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Aug 30, 2023
1 parent 4dba309 commit 8522516
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions simple_vm_client/openstack_connector/openstack_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ def load_env_config(self) -> None:
if self.USE_APPLICATION_CREDENTIALS:
logger.info("APPLICATION CREDENTIALS will be used!")
try:
self.APPLICATION_CREDENTIAL_ID = os.environ["APPLICATION_CREDENTIAL_ID"]
self.APPLICATION_CREDENTIAL_ID = os.environ[
"OS_APPLICATION_CREDENTIAL_ID"
]
self.APPLICATION_CREDENTIAL_SECRET = os.environ[
"APPLICATION_CREDENTIAL_SECRET"
"OS_APPLICATION_CREDENTIAL_SECRET"
]
except KeyError:
logger.error(
Expand Down

0 comments on commit 8522516

Please sign in to comment.