public static interface AppRoleAuthenticationOptions.RoleId
AppRoleAuthenticationOptions.RoleId
by wrapping, pull-mode or whether to use a
string literal.Modifier and Type | Method and Description |
---|---|
static AppRoleAuthenticationOptions.RoleId |
provided(String roleId)
Create a
AppRoleAuthenticationOptions.RoleId that encapsulates a static roleId . |
static AppRoleAuthenticationOptions.RoleId |
pull(VaultToken initialToken)
Create a
AppRoleAuthenticationOptions.RoleId that obtains its value using pull-mode, specifying a
initial token . |
static AppRoleAuthenticationOptions.RoleId |
wrapped(VaultToken initialToken)
Create a
AppRoleAuthenticationOptions.RoleId object that obtains its value from unwrapping a
response using the initial token from a Cubbyhole. |
static AppRoleAuthenticationOptions.RoleId wrapped(VaultToken initialToken)
AppRoleAuthenticationOptions.RoleId
object that obtains its value from unwrapping a
response using the initial token
from a Cubbyhole.initialToken
- must not be null.AppRoleAuthenticationOptions.RoleId
object that obtains its value from unwrapping a response
using the initial token
.VaultResponses.unwrap(String, Class)
static AppRoleAuthenticationOptions.RoleId pull(VaultToken initialToken)
AppRoleAuthenticationOptions.RoleId
that obtains its value using pull-mode, specifying a
initial token
. The token policy must allow reading the
roleId from auth/approle/role/(role-name)/role-id
.initialToken
- must not be null.AppRoleAuthenticationOptions.RoleId
that obtains its value using pull-mode.static AppRoleAuthenticationOptions.RoleId provided(String roleId)
AppRoleAuthenticationOptions.RoleId
that encapsulates a static roleId
.roleId
- must not be null or empty.AppRoleAuthenticationOptions.RoleId
that encapsulates a static roleId
.Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.