Class AppRoleAuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.AppRoleAuthenticationOptions
Authentication options for
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.
- Author:
- Mark Paluch, Vincent Le Nair, Christophe Tafani-Dereeper
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder forAppRoleAuthenticationOptions
.static interface
RoleId type encapsulating how the roleId is actually obtained.static interface
SecretId type encapsulating how the secretId is actually obtained. -
Field Summary
-
Method Summary
-
Field Details
-
DEFAULT_APPROLE_AUTHENTICATION_PATH
- See Also:
-
-
Method Details
-
builder
- Returns:
- a new
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.
-
getPath
- Returns:
- the mount path.
-
getRoleId
- Returns:
- the RoleId.
-
getSecretId
- Returns:
- the bound SecretId.
-
getAppRole
- Returns:
- the bound AppRole.
- Since:
- 1.1
-
getUnwrappingEndpoints
- Returns:
- the endpoint configuration.
- Since:
- 2.2
-