Class GcpIamAuthenticationOptions

java.lang.Object
org.springframework.vault.authentication.GcpIamAuthenticationSupport
org.springframework.vault.authentication.GcpIamAuthenticationOptions

@Deprecated(since="2.3.2", forRemoval=true) public class GcpIamAuthenticationOptions extends GcpIamAuthenticationSupport
Deprecated, for removal: This API element is subject to removal in a future version.
since 2.3.2
Authentication options for GcpIamAuthentication.

Authentication options provide the path, a GcpCredentialSupplier, role and JWT expiry for GCP IAM authentication. Instances of this class are immutable once constructed.

Since:
2.1
Author:
Mark Paluch, Magnus Jungsbluth
See Also:
  • Field Details

    • DEFAULT_GCP_AUTHENTICATION_PATH

      public static final String DEFAULT_GCP_AUTHENTICATION_PATH
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • builder

      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      a new GcpIamAuthenticationOptions.GcpIamAuthenticationOptionsBuilder.
    • getCredentialSupplier

      public GcpCredentialSupplier getCredentialSupplier()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      the gcp Credential supplier.
    • getServiceAccountIdAccessor

      public GcpServiceAccountIdAccessor getServiceAccountIdAccessor()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      the service account id to use as sub/iss claims.
      Since:
      2.1
    • getProjectIdAccessor

      public GcpProjectIdAccessor getProjectIdAccessor()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      GCP project id accessor to obtain the project id of GCP IAM API calls.
      Since:
      2.1