public class AppRoleAuthenticationOptions extends Object
AppRoleAuthentication
.
Authentication options provide the path, roleId and pull/push mode.
AppRoleAuthentication
can be constructed using builder()
. Instances of
this class are immutable once constructed.
AppRoleAuthentication
,
builder()
Modifier and Type | Class and Description |
---|---|
static class |
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
Builder for
AppRoleAuthenticationOptions . |
static interface |
AppRoleAuthenticationOptions.RoleId
RoleId type encapsulating how the roleId is actually obtained.
|
static interface |
AppRoleAuthenticationOptions.SecretId
SecretId type encapsulating how the secretId is actually obtained.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_APPROLE_AUTHENTICATION_PATH |
Modifier and Type | Method and Description |
---|---|
static AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
builder() |
String |
getAppRole() |
VaultToken |
getInitialToken()
Deprecated.
since 2.0, use
getRoleId() /getSecretId() to obtain
configuration modes (pull/wrapped) for an AppRole token. |
String |
getPath() |
AppRoleAuthenticationOptions.RoleId |
getRoleId() |
AppRoleAuthenticationOptions.SecretId |
getSecretId() |
UnwrappingEndpoints |
getUnwrappingEndpoints() |
public static final String DEFAULT_APPROLE_AUTHENTICATION_PATH
public static AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder builder()
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.public String getPath()
public AppRoleAuthenticationOptions.RoleId getRoleId()
public AppRoleAuthenticationOptions.SecretId getSecretId()
public UnwrappingEndpoints getUnwrappingEndpoints()
@Nullable @Deprecated public VaultToken getInitialToken()
getRoleId()
/getSecretId()
to obtain
configuration modes (pull/wrapped) for an AppRole token.Copyright © 2016–2021 Pivotal Software, Inc.. All rights reserved.