public static class AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder extends Object
AppRoleAuthenticationOptions.| Modifier and Type | Method and Description |
|---|---|
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
appRole(String appRole)
Configure a
appRole. |
AppRoleAuthenticationOptions |
build()
Build a new
AppRoleAuthenticationOptions instance. |
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
initialToken(VaultToken initialToken)
Configure a
initialToken. |
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
path(String path)
Configure the mount path.
|
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
roleId(String roleId)
Configure the RoleId.
|
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
secretId(String secretId)
Configure a
secretId. |
public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder path(String path)
path - must not be empty or null.this AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder.AppRoleAuthenticationOptions.DEFAULT_APPROLE_AUTHENTICATION_PATHpublic AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder roleId(String roleId)
roleId - must not be empty or null.this AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder secretId(String secretId)
secretId.secretId - must not be empty or null.this AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder appRole(String appRole)
appRole.appRole - must not be empty or null.this AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder initialToken(VaultToken initialToken)
initialToken.initialToken - must not be empty or null.this AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder.public AppRoleAuthenticationOptions build()
AppRoleAuthenticationOptions instance. Requires
roleId(String) for push mode or appRole(String) and
initialToken(VaultToken) for pull mode to be configured.AppRoleAuthenticationOptions.Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.