インターフェース 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