Liking cljdoc? Tell your friends :D
Clojure only.

vault.auth.token

The /auth/token endpoint manages token-based authentication functionality.

Reference: https://www.vaultproject.io/api-docs/auth/token

The `/auth/token` endpoint manages token-based authentication functionality.

Reference: https://www.vaultproject.io/api-docs/auth/token
raw docstring

APIcljprotocol

The token auth endpoints manage token authentication functionality.

The token auth endpoints manage token authentication functionality.

create-orphan-token!clj

(create-orphan-token! client params)

Create a new auth token with no parent. This method uses the /auth/token/create-orphan endpoint.

Parameters are the same as for the create-token! call.

Create a new auth token with no parent. This method uses the
`/auth/token/create-orphan` endpoint.

Parameters are the same as for the `create-token!` call.

create-role-token!clj

(create-role-token! client role-name params)

Create a new auth token in the named role. This method uses the /auth/token/create/:role-name endpoint.

Parameters are the same as for the create-token! call.

Create a new auth token in the named role. This method uses the
`/auth/token/create/:role-name` endpoint.

Parameters are the same as for the `create-token!` call.

create-token!clj

(create-token! client params)

Create a new auth token. The token will be a child of the current one unless the :no-parent option is true. This method uses the /auth/token/create endpoint.

For parameter options, see: https://www.vaultproject.io/api-docs/auth/token#create-token

Create a new auth token. The token will be a child of the current one
unless the `:no-parent` option is true. This method uses the
`/auth/token/create` endpoint.

For parameter options, see:
https://www.vaultproject.io/api-docs/auth/token#create-token

lookup-tokenclj

(lookup-token client params)

Look up auth information about a token.

Depending on the parameters, this method operates on:

  • a directly-provided :token
  • a token :accessor
  • otherwise, the currently-authenticated token
Look up auth information about a token.

Depending on the parameters, this method operates on:
- a directly-provided `:token`
- a token `:accessor`
- otherwise, the currently-authenticated token

renew-token!clj

(renew-token! client params)

Renew a lease associated with a token. Token renewal is possible only if there is a lease associated with it.

Depending on the parameters, this method operates on:

  • a directly-provided :token
  • a token :accessor
  • otherwise, the currently-authenticated token

The parameters may also include a requested :increment value.

Renew a lease associated with a token. Token renewal is possible only if
there is a lease associated with it.

Depending on the parameters, this method operates on:
- a directly-provided `:token`
- a token `:accessor`
- otherwise, the currently-authenticated token

The parameters may also include a requested `:increment` value.

revoke-token!clj

(revoke-token! client params)

Revoke a token and all child tokens. When the token is revoked, all dynamic secrets generated with it are also revoked. Returns nil.

Depending on the parameters, this method operates on:

  • a directly-provided :token
  • a token :accessor
  • otherwise, the currently-authenticated token
Revoke a token and all child tokens. When the token is revoked, all
dynamic secrets generated with it are also revoked. Returns nil.

Depending on the parameters, this method operates on:
- a directly-provided `:token`
- a token `:accessor`
- otherwise, the currently-authenticated token
sourceraw docstring

resolve-auth!clj

(resolve-auth! client)

Look up the currently-authenticated token, merging updated information into the client's auth info. Returns the updated auth data.

Look up the currently-authenticated token, merging updated information into
the client's auth info. Returns the updated auth data.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close