Class Login.Response

  • Enclosing class:
    Login

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

      • token

        public VaultToken token()
        Token to use to access Vault.
        Returns:
        token
      • accessor

        public String accessor()
        Accessor id.
        Returns:
        accessor
      • policies

        public List<String> policies()
        List of policy names of this token.
        Returns:
        policies
      • metadata

        public Map<String,​String> metadata()
        Additional token metadata.
        Returns:
        map with metadata