Skip to content

Commit

Permalink
WIP: estehtic variable reoder
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Mar 30, 2024
1 parent 0d6d217 commit 6e1039a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vault_oidc_ssh_cert_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def _issue_ssh_cert(

def github_vault_auth() -> None:
input_audience = os.environ["JWT_AUDIENCE"].strip()
oidc_backend = os.environ["OIDC_BACKEND"].strip("/ ")
oidc_role = os.environ["OIDC_ROLE"].strip()
oidc_backend = os.environ["OIDC_BACKEND"].strip("/ ")
vault_server = os.environ["VAULT_SERVER"].strip("/ ")

jwt_aud: str = _determine_audience(input_audience, vault_server)
Expand All @@ -72,8 +72,8 @@ def github_vault_auth() -> None:


def generate_and_sign() -> None:
ssh_backend = os.environ["SSH_BACKEND"].strip("/ ")
ssh_role = os.environ["SSH_ROLE"].strip()
ssh_backend = os.environ["SSH_BACKEND"].strip("/ ")
vault_server = os.environ["VAULT_SERVER"].strip("/ ")
vault_token = os.environ["VAULT_TOKEN"].strip()

Expand Down

0 comments on commit 6e1039a

Please sign in to comment.