public static interface AppRoleAuthenticationOptions.SecretId
AppRoleAuthenticationOptions.SecretId
by wrapping, pull-mode or whether to use a
string literal.Modifier and Type | Method and Description |
---|---|
static AppRoleAuthenticationOptions.SecretId |
absent()
Create a
AppRoleAuthenticationOptions.SecretId that represents an absent secretId. |
static AppRoleAuthenticationOptions.SecretId |
provided(String secretId)
Create a
AppRoleAuthenticationOptions.SecretId that encapsulates a static secretId . |
static AppRoleAuthenticationOptions.SecretId |
pull(VaultToken initialToken)
Create a
AppRoleAuthenticationOptions.SecretId that obtains its value using pull-mode, specifying a
initial token . |
static AppRoleAuthenticationOptions.SecretId |
wrapped(VaultToken initialToken)
Create a
AppRoleAuthenticationOptions.SecretId object that obtains its value from unwrapping a
response using the initial token from a Cubbyhole. |
static AppRoleAuthenticationOptions.SecretId wrapped(VaultToken initialToken)
AppRoleAuthenticationOptions.SecretId
object that obtains its value from unwrapping a
response using the initial token
from a Cubbyhole.initialToken
- must not be null.AppRoleAuthenticationOptions.SecretId
object that obtains its value from unwrapping a
response using the initial token
.VaultResponses.unwrap(String, Class)
static AppRoleAuthenticationOptions.SecretId pull(VaultToken initialToken)
AppRoleAuthenticationOptions.SecretId
that obtains its value using pull-mode, specifying a
initial token
. The token policy must allow reading the
SecretId from auth/approle/role/(role-name)/secret-id
.initialToken
- must not be null.AppRoleAuthenticationOptions.SecretId
that obtains its value using pull-mode.static AppRoleAuthenticationOptions.SecretId provided(String secretId)
AppRoleAuthenticationOptions.SecretId
that encapsulates a static secretId
.secretId
- must not be null or empty.AppRoleAuthenticationOptions.SecretId
that encapsulates a static SecretId
.static AppRoleAuthenticationOptions.SecretId absent()
AppRoleAuthenticationOptions.SecretId
that represents an absent secretId. Using this object
will not send a secretId during AppRole login.AppRoleAuthenticationOptions.SecretId
that represents an absent secretIdCopyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.