インターフェース AppRoleAuthenticationOptions.SecretId
- 含まれているクラス:
- AppRoleAuthenticationOptions
public static interface AppRoleAuthenticationOptions.SecretId
secretId が実際にどのように取得されるかをカプセル化する SecretId 型。折り返し、プルモード、または文字列リテラルを使用するかどうかによって
AppRoleAuthenticationOptions.SecretId を取得するためのファクトリメソッドを提供します。- 導入:
- 2.0
方法の概要
静的メソッド修飾子と型メソッド説明absent()存在しない secretId を表すAppRoleAuthenticationOptions.SecretIdを作成します。静的secretIdをカプセル化するAppRoleAuthenticationOptions.SecretIdを作成します。pull(VaultToken initialToken) プルモードを使用して値を取得するAppRoleAuthenticationOptions.SecretIdを作成し、initial tokenを指定します。wrapped(VaultToken initialToken) Cubbyhole からinitial tokenを使用してレスポンスをアンラップして値を取得するAppRoleAuthenticationOptions.SecretIdオブジェクトを作成します。
メソッドの詳細
wrapped
Cubbyhole からinitial tokenを使用してレスポンスをアンラップして値を取得するAppRoleAuthenticationOptions.SecretIdオブジェクトを作成します。- パラメーター:
initialToken- null であってはなりません。- 戻り値:
initial tokenを使用してレスポンスをアンラップして値を取得するAppRoleAuthenticationOptions.SecretIdオブジェクト。- 関連事項:
pull
プルモードを使用して値を取得するAppRoleAuthenticationOptions.SecretIdを作成し、initial tokenを指定します。トークンポリシーは、auth/approle/role/(role-name)/secret-idからの SecretId の読み取りを許可する必要があります。- パラメーター:
initialToken- null であってはなりません。- 戻り値:
- プルモードを使用してその値を取得する
AppRoleAuthenticationOptions.SecretId。
provided
静的secretIdをカプセル化するAppRoleAuthenticationOptions.SecretIdを作成します。- パラメーター:
secretId- null または空であってはなりません。- 戻り値:
- 静的
SecretIdをカプセル化するAppRoleAuthenticationOptions.SecretId。
absent
存在しない secretId を表すAppRoleAuthenticationOptions.SecretIdを作成します。このオブジェクトを使用すると、AppRole ログイン中に secretId は送信されません。- 戻り値:
- secretId が存在しないことを示す
AppRoleAuthenticationOptions.SecretId