java.lang.Object
de.stklcode.jvault.connector.model.TokenRole

public final class TokenRole extends Object
Vault Token Role metamodel.
Since:
0.9
Author:
Stefan Kalscheuer
  • 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
    • getDisallowedPolicies

      public List<String> getDisallowedPolicies()
      Returns:
      List of disallowed policies
    • 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