java.lang.Object
de.stklcode.jvault.connector.model.TokenRole
All Implemented Interfaces:
Serializable

public final class TokenRole extends Object implements Serializable
Vault Token Role metamodel.
Since:
0.9, 1.1 implements Serializable
Author:
Stefan Kalscheuer
See Also:
  • Constructor Details

  • Method Details

    • builder

      public static TokenRole.Builder builder()
      Get TokenRole.Builder instance.
      Returns:
      Token Role Builder.
    • getName

      public String getName()
      Returns:
      Token Role name
    • getAllowedPolicies

      public List<String> getAllowedPolicies()
      Returns:
      List of allowed policies
    • getAllowedPoliciesGlob

      public List<String> getAllowedPoliciesGlob()
      Returns:
      List of allowed policy glob patterns
      Since:
      1.1
    • getDisallowedPolicies

      public List<String> getDisallowedPolicies()
      Returns:
      List of disallowed policies
    • getDisallowedPoliciesGlob

      public List<String> getDisallowedPoliciesGlob()
      Returns:
      List of disallowed policy glob patterns
      Since:
      1.1
    • getOrphan

      public Boolean getOrphan()
      Returns:
      Is Token Role orphan?
    • getRenewable

      public Boolean getRenewable()
      Returns:
      Is Token Role renewable?
    • getPathSuffix

      public String getPathSuffix()
      Returns:
      Path suffix
    • getAllowedEntityAliases

      public List<String> getAllowedEntityAliases()
      Returns:
      List of allowed entity aliases
    • getTokenBoundCidrs

      public List<String> getTokenBoundCidrs()
      Returns:
      Token bound CIDR blocks
    • getTokenExplicitMaxTtl

      public Integer getTokenExplicitMaxTtl()
      Returns:
      Token explicit maximum TTL
    • getTokenNoDefaultPolicy

      public Boolean getTokenNoDefaultPolicy()
      Returns:
      Token without default policy?
    • getTokenNumUses

      public Integer getTokenNumUses()
      Returns:
      Token number of uses
    • getTokenPeriod

      public Integer getTokenPeriod()
      Returns:
      Token period
    • getTokenType

      public String getTokenType()
      Returns:
      Token type
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object