From aeb0080f7cc784b018407ce1d04330b8d2f02382 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Tue, 20 Jan 2026 06:59:38 +0100 Subject: [PATCH] Updated TOKEN_ACCESSOR calculation. --- docs/Identity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Identity.md b/docs/Identity.md index a709c6f..1b9ec69 100644 --- a/docs/Identity.md +++ b/docs/Identity.md @@ -60,7 +60,7 @@ export VAULT_TOKEN=$(vault login -token-only -method=userpass username="your-use You can also use the following command to set VAULT_TOKEN and TOKEN_ACCESSOR: ```bash -export $(vault token lookup -format=json | jq -r '.data | "TOKEN_ACCESSOR=\(.accessor) VAULT_TOKEN=\(.id)"') +export TOKEN_ACCESSOR=$(vault token lookup -format=json | jq -r .data.accessor) ``` You can then use the `TOKEN_ACCESSOR` to look up token details without exposing the actual token.