From 2a61b8e1ad7cf99dc9ec7babcf41a809b4c25ac3 Mon Sep 17 00:00:00 2001 From: Masaki Yatsu Date: Wed, 3 Sep 2025 10:33:42 +0900 Subject: [PATCH] chore(vault): justfile clean up --- vault/justfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vault/justfile b/vault/justfile index 919a996..883fc6e 100644 --- a/vault/justfile +++ b/vault/justfile @@ -289,7 +289,14 @@ setup-oidc-auth: echo "You can now login to Vault using:" echo " VAULT_ADDR=${VAULT_ADDR} vault login -method=oidc" -# Setup JWT authentication for Keycloak tokens +# Disable OIDC authentication +disable-oidc-auth: + #!/bin/bash + set -euo pipefail + {{ _vault_root_env_setup }} + vault auth disable oidc + +# Setup JWT authentication for Keycloak tokens (not used currently) setup-jwt-auth audience role policy='default': #!/bin/bash set -euo pipefail @@ -325,13 +332,6 @@ setup-jwt-auth audience role policy='default': echo "" echo "Usage: client.auth.jwt.jwt_login(role='{{ role }}', jwt=token, path='jwt')" -# Disable OIDC authentication -disable-oidc-auth: - #!/bin/bash - set -euo pipefail - {{ _vault_root_env_setup }} - vault auth disable oidc - # Get key value get path field: #!/bin/bash