クラス AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
java.lang.ObjectSE
org.springframework.vault.authentication.AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
- 含まれているクラス:
- AppRoleAuthenticationOptions
public static class AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
extends ObjectSE
AppRoleAuthenticationOptions のビルダー。方法の概要
修飾子と型メソッド説明appRoleを構成します。build()新しいAppRoleAuthenticationOptionsインスタンスを作成します。マウントパスを構成します。RoleId を構成します。secretIdを構成します。unwrappingEndpoints(UnwrappingEndpoints endpoints) 使用するUnwrappingEndpointsを構成します。
メソッドの詳細
path
マウントパスを構成します。- パラメーター:
path- 空または null であってはなりません。- 戻り値:
- このビルダー。
- 関連事項:
roleId
public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder roleId(AppRoleAuthenticationOptions.RoleId roleId) RoleId を構成します。- パラメーター:
roleId- 空または null であってはなりません。- 戻り値:
- このビルダー。
- 導入:
- 2.0
secretId
public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder secretId(AppRoleAuthenticationOptions.SecretId secretId) secretIdを構成します。- パラメーター:
secretId- 空または null であってはなりません。- 戻り値:
- このビルダー。
- 導入:
- 2.0
appRole
appRoleを構成します。- パラメーター:
appRole- 空または null であってはなりません。- 戻り値:
- このビルダー。
- 導入:
- 1.1
unwrappingEndpoints
public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder unwrappingEndpoints(UnwrappingEndpoints endpoints) 使用するUnwrappingEndpointsを構成します。- パラメーター:
endpoints- null であってはなりません。- 戻り値:
- このビルダー
- 導入:
- 2.2
build
新しいAppRoleAuthenticationOptionsインスタンスを構築します。プッシュモードの場合はroleId(RoleId)、プルモードの場合はappRole(String)およびSecretId.pull(VaultToken)を構成する必要があります。- 戻り値:
- 新しい
AppRoleAuthenticationOptions。