diff --git a/vault_oidc_ssh_cert_action.py b/vault_oidc_ssh_cert_action.py index ac78f15..ad196bc 100644 --- a/vault_oidc_ssh_cert_action.py +++ b/vault_oidc_ssh_cert_action.py @@ -155,7 +155,7 @@ def _revoke_token(vault_server: str, vault_token: str) -> None: def run() -> None: input_audience = os.environ["JWT_AUDIENCE"].strip() oidc_role = os.environ["OIDC_ROLE"].strip() - oidc_backend = os.environ["OIDC_BACKEND_ROLE"].strip("/ ") + oidc_backend = os.environ["OIDC_BACKEND_PATH"].strip("/ ") ssh_role = os.environ["SSH_ROLE"].strip() ssh_backend = os.environ["SSH_BACKEND_PATH"].strip("/ ") vault_server = os.environ["VAULT_SERVER"].strip("/ ")