CreateTokenRole.Request |
CreateTokenRole.Request.addAllowedEntityAlias(String alias) |
f set, specifies the entity aliases which are allowed to be used during token generation.
|
CreateTokenRole.Request |
CreateTokenRole.Request.addAllowedPolicy(String policyName) |
If set, tokens can be created with any subset of the policies in this list, rather than the normal semantics of tokens
being a subset of the calling token's policies.
|
CreateTokenRole.Request |
CreateTokenRole.Request.addDisallowedPolicy(String policyName) |
If set, successful token creation via this role will require that no policies in the given list are requested.
|
CreateTokenRole.Request |
CreateTokenRole.Request.addTokenBoundCidr(String cidr) |
List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the
resulting token to these blocks as well.
|
static CreateTokenRole.Request |
CreateTokenRole.Request.builder() |
Fluent API builder for configuring a request.
|
CreateTokenRole.Request |
CreateTokenRole.Request.orphan(boolean orphan) |
If true, tokens created against this policy will be orphan tokens (they will have no parent).
|
CreateTokenRole.Request |
CreateTokenRole.Request.pathSuffix(String pathSuffix) |
If set, tokens created against this role will have the given suffix as part of their path in addition to the role name.
|
CreateTokenRole.Request |
CreateTokenRole.Request.renewable(boolean renewable) |
Set to false to disable the ability of the token to be renewed past its initial TTL.
|
CreateTokenRole.Request |
CreateTokenRole.Request.roleName(String roleName) |
The name of the token role.
|
CreateTokenRole.Request |
CreateTokenRole.Request.tokenExplicitMaxTtl(Duration duration) |
If set, will encode an explicit max TTL onto the token.
|
CreateTokenRole.Request |
CreateTokenRole.Request.tokenNoDefaultPolicy(boolean noDefaultPolicy) |
If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in
addAllowedPolicy(String) .
|
CreateTokenRole.Request |
CreateTokenRole.Request.tokenNumUses(int uses) |
The maximum number of times a generated token may be used (within its lifetime); 0 means unlimited.
|
CreateTokenRole.Request |
CreateTokenRole.Request.tokenPeriod(int period) |
The period, if any, to set on the token.
|
CreateTokenRole.Request |
CreateTokenRole.Request.tokenType(String type) |
The type of token that should be generated.
|