Skip to content

Commit

Permalink
Merge pull request #36 from CanDIG/daisieh/approle
Browse files Browse the repository at this point in the history
move approle location
  • Loading branch information
daisieh authored Oct 25, 2024
2 parents fa8769c + 8947299 commit 5fc3a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authx/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def get_vault_token_for_service(service=SERVICE_NAME, vault_url=VAULT_URL, appro
raise CandigAuthError("no SERVICE_NAME specified")
# in CanDIGv2 docker stack, approle token should have been passed in
if approle_token is None:
with open("/run/secrets/vault-approle-token") as f:
with open("/home/candig/approle-token") as f:
approle_token = f.read().strip()
if approle_token is None:
raise CandigAuthError("no approle token found")
Expand Down

0 comments on commit 5fc3a64

Please sign in to comment.