Skip to content

Commit

Permalink
update token cli docs
Browse files Browse the repository at this point in the history
  • Loading branch information
im2nguyen committed Nov 20, 2024
1 parent 2e6d184 commit 710cbd8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions website/content/docs/commands/token/capabilities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ token.

<Tip title="Related API endpoints">

QueryTokenCapabilities - [`POST:/sys/capabilities`](/vault/api-docs/system/capabilities)
QueryTokenCapabilitiesSelf - [`POST:/sys/capabilities-self`](/vault/api-docs/system/capabilities-self)
QueryTokenCapabilitiesAccessor - [`POST:/sys/capabilities-accessor`](/vault/api-docs/system/capabilities-accessor)
- QueryTokenCapabilities - [`POST:/sys/capabilities`](/vault/api-docs/system/capabilities)
- QueryTokenCapabilitiesSelf - [`POST:/sys/capabilities-self`](/vault/api-docs/system/capabilities-self)
- QueryTokenCapabilitiesAccessor - [`POST:/sys/capabilities-accessor`](/vault/api-docs/system/capabilities-accessor)

</Tip>

Expand Down
6 changes: 3 additions & 3 deletions website/content/docs/commands/token/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ If a role is specified, the role may override parameters specified here.

<Tip title="Related API endpoints">

CreateToken - [`POST:/auth/token/create`](/vault/api-docs/auth/token#create-token)
CreateTokenOrphan - [`POST:/auth/token/create-orphan`](/vault/api-docs/auth/token#create-token)
CreateTokenWithRole - [`POST:/auth/token/create/:role_name`](/vault/api-docs/auth/token#create-token)
- CreateToken - [`POST:/auth/token/create`](/vault/api-docs/auth/token#create-token)
- CreateTokenOrphan - [`POST:/auth/token/create-orphan`](/vault/api-docs/auth/token#create-token)
- CreateTokenWithRole - [`POST:/auth/token/create/:role_name`](/vault/api-docs/auth/token#create-token)

</Tip>

Expand Down
6 changes: 3 additions & 3 deletions website/content/docs/commands/token/lookup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ provide a token, Vault will use your locally authenticated token.

<Tip title="Related API endpoints">

LookupToken - [`POST:/auth/token/lookup`](/vault/api-docs/auth/token#lookup-a-token)
LookupTokenSelf - [`GET:/auth/token/lookup-self`](/vault/api-docs/auth/token#lookup-a-token-self)
LookupTokenAccessor - [`POST:/auth/token/lookup-accessor`](/vault/api-docs/auth/token#lookup-a-token-accessor)
- LookupToken - [`POST:/auth/token/lookup`](/vault/api-docs/auth/token#lookup-a-token)
- LookupTokenSelf - [`GET:/auth/token/lookup-self`](/vault/api-docs/auth/token#lookup-a-token-self)
- LookupTokenAccessor - [`POST:/auth/token/lookup-accessor`](/vault/api-docs/auth/token#lookup-a-token-accessor)

</Tip>

Expand Down
6 changes: 3 additions & 3 deletions website/content/docs/commands/token/renew.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ provide one. The renewal will fail if:

<Tip title="Related API endpoints">

RenewToken - [`POST:/auth/token/renew`](/vault/api-docs/auth/token#renew-a-token)
RenewTokenSelf - [`POST:/auth/token/renew-self`](/vault/api-docs/auth/token#renew-a-token-self)
RenewTokenAccessor - [`POST:/auth/token/renew-accessor`](/vault/api-docs/auth/token#renew-a-token-accessor)
- RenewToken - [`POST:/auth/token/renew`](/vault/api-docs/auth/token#renew-a-token)
- RenewTokenSelf - [`POST:/auth/token/renew-self`](/vault/api-docs/auth/token#renew-a-token-self)
- RenewTokenAccessor - [`POST:/auth/token/renew-accessor`](/vault/api-docs/auth/token#renew-a-token-accessor)

</Tip>

Expand Down
8 changes: 4 additions & 4 deletions website/content/docs/commands/token/revoke.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ provide a token, Vault will use the locally authenticated token. You can use the

<Tip title="Related API endpoints">

RevokeToken - [`POST:/auth/token/revoke`](/vault/api-docs/auth/token#revoke-a-token)
RevokeTokenSelf - [`POST:/auth/token/revoke-self`](/vault/api-docs/auth/token#revoke-a-token-self)
RevokeTokenAccessor - [`POST:/auth/token/revoke-accessor`](/vault/api-docs/auth/token#revoke-a-token-accessor)
RevokeTokenOrphanChildren - [`POST:/auth/token/revoke-orphan`](/vault/api-docs/auth/token#revoke-token-and-orphan-children)
- RevokeToken - [`POST:/auth/token/revoke`](/vault/api-docs/auth/token#revoke-a-token)
- RevokeTokenSelf - [`POST:/auth/token/revoke-self`](/vault/api-docs/auth/token#revoke-a-token-self)
- RevokeTokenAccessor - [`POST:/auth/token/revoke-accessor`](/vault/api-docs/auth/token#revoke-a-token-accessor)
- RevokeTokenOrphanChildren - [`POST:/auth/token/revoke-orphan`](/vault/api-docs/auth/token#revoke-token-and-orphan-children)

</Tip>

Expand Down

0 comments on commit 710cbd8

Please sign in to comment.