Enclosing class:
Login

public static final class Login.Response extends VaultResponse
Response object parsed from JSON returned by the RestApi.
  • Method Details

    • token

      public VaultToken token()
      Token to use to invoke vault operations.
      Returns:
      vault token
    • accessor

      public String accessor()
      Accessor.
      Returns:
      accessor
    • tokenPolicies

      public List<String> tokenPolicies()
      Token policies attached to the token.
      Returns:
      list of token policy names
    • metadata

      public Map<String,String> metadata()
      Token metadata.
      Returns:
      metadata