クラスの使用
org.springframework.vault.authentication.AuthenticationSteps
AuthenticationSteps を使用するパッケージ
org.springframework.vault.authentication 内の AuthenticationSteps 使用
修飾子と型メソッド説明static AuthenticationStepsAppRoleAuthentication.createAuthenticationSteps(AppRoleAuthenticationOptions options) AppRoleAuthenticationOptionsを指定して、AppRole 認証用のAuthenticationStepsを作成します。static AuthenticationStepsAwsEc2Authentication.createAuthenticationSteps(AwsEc2AuthenticationOptions options) AwsEc2AuthenticationOptionsを指定して、AWS-EC2 認証用のAuthenticationStepsを作成します。protected static AuthenticationStepsAwsEc2Authentication.createAuthenticationSteps(AwsEc2AuthenticationOptions options, AtomicReferenceSE<char[]> nonce, SupplierSE<char[]> nonceSupplier) static AuthenticationStepsAwsIamAuthentication.createAuthenticationSteps(AwsIamAuthenticationOptions options) AwsIamAuthenticationOptionsを指定して、AWS-IAM 認証用のAuthenticationStepsを作成します。protected static AuthenticationStepsAwsIamAuthentication.createAuthenticationSteps(AwsIamAuthenticationOptions options, software.amazon.awssdk.auth.credentials.AwsCredentials credentials, software.amazon.awssdk.regions.Region region) static AuthenticationStepsAzureMsiAuthentication.createAuthenticationSteps(AzureMsiAuthenticationOptions options) AzureMsiAuthenticationOptionsを指定して、Azure 認証用のAuthenticationStepsを作成します。protected static AuthenticationStepsAzureMsiAuthentication.createAuthenticationSteps(AzureMsiAuthenticationOptions options, @Nullable AzureVmEnvironment environment) static AuthenticationStepsClientCertificateAuthentication.createAuthenticationSteps()クライアント証明書認証用のAuthenticationStepsを作成します。static AuthenticationStepsClientCertificateAuthentication.createAuthenticationSteps(ClientCertificateAuthenticationOptions options) クライアント証明書認証用のAuthenticationStepsを作成します。static AuthenticationStepsCubbyholeAuthentication.createAuthenticationSteps(CubbyholeAuthenticationOptions options) CubbyholeAuthenticationOptionsを指定して、cubbyhole 認証用のAuthenticationStepsを作成します。static AuthenticationStepsGcpComputeAuthentication.createAuthenticationSteps(GcpComputeAuthenticationOptions options) GcpComputeAuthenticationOptionsが与えられた場合、GCE 認証用のAuthenticationStepsを作成します。static AuthenticationStepsGitHubAuthentication.createAuthenticationSteps(GitHubAuthenticationOptions options) GitHubAuthenticationOptionsを指定して、GitHub 認証用のAuthenticationStepsを作成します。static AuthenticationStepsKubernetesAuthentication.createAuthenticationSteps(KubernetesAuthenticationOptions options) KubernetesAuthenticationOptionsを指定して、Kubernetes 認証用のAuthenticationStepsを作成します。static AuthenticationStepsPcfAuthentication.createAuthenticationSteps(PcfAuthenticationOptions options) PcfAuthenticationOptionsを指定して、pcf 認証用のAuthenticationStepsを作成します。static AuthenticationStepsTokenAuthentication.createAuthenticationSteps(VaultToken token, boolean selfLookup) VaultTokenを指定してトークン認証用のAuthenticationStepsを作成します。static AuthenticationStepsUsernamePasswordAuthentication.createAuthenticationSteps(UsernamePasswordAuthenticationOptions options) UsernamePasswordAuthenticationOptionsを指定して、ユーザー名 / パスワード認証用のAuthenticationStepsを作成します。AppRoleAuthentication.getAuthenticationSteps()AuthenticationStepsFactory.getAuthenticationSteps()認証フローを記述するAuthenticationStepsを取得します。AwsEc2Authentication.getAuthenticationSteps()AwsIamAuthentication.getAuthenticationSteps()AzureMsiAuthentication.getAuthenticationSteps()ClientCertificateAuthentication.getAuthenticationSteps()CubbyholeAuthentication.getAuthenticationSteps()GcpComputeAuthentication.getAuthenticationSteps()GitHubAuthentication.getAuthenticationSteps()JwtAuthentication.getAuthenticationSteps()KubernetesAuthentication.getAuthenticationSteps()PcfAuthentication.getAuthenticationSteps()TokenAuthentication.getAuthenticationSteps()UsernamePasswordAuthentication.getAuthenticationSteps()static AuthenticationStepsAuthenticationSteps.just(AuthenticationSteps.HttpRequest<VaultResponse> request) VaultResponseを返すAuthenticationSteps.HttpRequestからフロー定義を作成します。static AuthenticationStepsAuthenticationSteps.just(VaultToken token) 提供されたVaultTokenを使用してフロー定義を作成します。現在の状態をボールトuriTemplateにポストすることにより、Vault からtokenをリクエストするターミナル操作。AuthenticationSteps.Node.login(FunctionSE<? super T, ? extends VaultToken> mappingFunction) 現在の状態オブジェクトにマッピングFunctionSE を適用することによって、結果としてtokenになるターミナル操作。AuthenticationSteps.Node.login(AuthenticationSteps.HttpRequest<VaultResponse> request) VaulturiTemplateに現在の状態で HTTP リクエストを発行することにより、Vault からtokenをリクエストするターミナル操作。現在の状態をボールトuriTemplateにポストすることにより、Vault からtokenをリクエストするターミナル操作。型 AuthenticationSteps のパラメーターを持つ org.springframework.vault.authentication のコンストラクター修飾子コンストラクター説明AuthenticationStepsExecutor(AuthenticationSteps steps, VaultClient vaultClient, RestClient restClient) AuthenticationStepsExecutor(AuthenticationSteps steps, RestClient client) AuthenticationStepsExecutor(AuthenticationSteps steps, RestOperations restOperations) 使用すべきではありません。AuthenticationStepsOperator(AuthenticationSteps steps, ReactiveVaultClient vaultClient, WebClient webClient) AuthenticationStepsOperator(AuthenticationSteps steps, WebClient webClient)
AuthenticationStepsExecutor(AuthenticationSteps, VaultClient, RestClient)を使用してください。