CreateToken.Request |
CreateToken.Request.addMetadata(String key,
String value) |
Request metadata, passed through to the audit devices.
|
CreateToken.Request |
CreateToken.Request.addPolicy(String policy) |
Add a policy for the token.
|
static CreateToken.Request |
CreateToken.Request.builder() |
Fluent API builder for configuring a request.
|
CreateToken.Request |
CreateToken.Request.displayName(String displayName) |
The display name of the token.
|
CreateToken.Request |
CreateToken.Request.entityAlias(String entityAlias) |
Name of the entity alias to associate with during token creation.
|
CreateToken.Request |
CreateToken.Request.explicitMaxTtl(Duration explicitMaxTtl) |
If set, the token will have an explicit max TTL set upon it.
|
CreateToken.Request |
CreateToken.Request.id(String id) |
The ID of the client token.
|
CreateToken.Request |
CreateToken.Request.noDefaultPolicy(boolean noDefaultPolicy) |
If configured to true , the default policy will not be contained in this token's
policy set.
|
CreateToken.Request |
CreateToken.Request.noParent(boolean noParent) |
This argument only has effect if used by a root or sudo caller.
|
CreateToken.Request |
CreateToken.Request.numUses(int numUses) |
The maximum uses for the given token.
|
CreateToken.Request |
CreateToken.Request.period(String period) |
If specified, the token will be periodic; it will have no maximum TTL
(unless an "explicit-max-ttl" is also set) but every renewal will use the given period.
|
CreateToken.Request |
CreateToken.Request.renewable(boolean renewable) |
Set to false to disable the ability of the token to be renewed past its initial TTL.
|
CreateToken.Request |
CreateToken.Request.roleName(String roleName) |
The name of the token role.
|
CreateToken.Request |
CreateToken.Request.ttl(Duration ttl) |
The TTL period of the token.
|
CreateToken.Request |
CreateToken.Request.type(String type) |
Choose token type.
|