java.lang.Object
de.stklcode.jvault.connector.model.TokenRole
Vault Token Role metamodel.
- Since:
- 0.9
- Author:
- Stefan Kalscheuer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder for vault token roles. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TokenRole.Builder
builder()
GetTokenRole.Builder
instance.getName()
-
Constructor Details
-
TokenRole
public TokenRole()Construct emptyTokenRole
object. -
TokenRole
-
-
Method Details
-
builder
GetTokenRole.Builder
instance.- Returns:
- Token Role Builder.
-
getName
- Returns:
- Token Role name
-
getAllowedPolicies
- Returns:
- List of allowed policies
-
getDisallowedPolicies
- Returns:
- List of disallowed policies
-
getOrphan
- Returns:
- Is Token Role orphan?
-
getRenewable
- Returns:
- Is Token Role renewable?
-
getPathSuffix
- Returns:
- Path suffix
-
getAllowedEntityAliases
- Returns:
- List of allowed entity aliases
-
getTokenBoundCidrs
- Returns:
- Token bound CIDR blocks
-
getTokenExplicitMaxTtl
- Returns:
- Token explicit maximum TTL
-
getTokenNoDefaultPolicy
- Returns:
- Token without default policy?
-
getTokenNumUses
- Returns:
- Token number of uses
-
getTokenPeriod
- Returns:
- Token period
-
getTokenType
- Returns:
- Token type
-