v1

latestOpenAPI 3.0.2Mozilla Public License 2.02026-07-17307105155.2 KB
auth

This token create path is used to create new tokens adhering to the given role.

post/auth/token/create/{role_name}

Request body

display_namestring

Name to associate with this token

entity_aliasstring

Name of the entity alias to associate with this token

explicit_max_ttlstring

Explicit Max TTL of this token

idstring

Value for the token

metadataobject

Arbitrary key=value metadata to associate with the token

no_default_policyboolean

Do not include default policy for this token

no_parentboolean

Create the token with no parent

num_usesinteger

Max number of uses for this token

periodstring

Renew period

policiesstring[]

List of policies for the token

renewableboolean

Allow token to be renewed past its initial TTL up to system/mount maximum TTL

ttlstring

Time to live for this token

typestring

Token type

Response

OK