Class GcpIamCredentialsAuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.GcpIamAuthenticationSupport
org.springframework.vault.authentication.GcpIamCredentialsAuthenticationOptions
Authentication options for
GcpIamCredentialsAuthentication
.
Authentication options provide the path, a GoogleCredentialsSupplier
, role and
JWT expiry for GCP IAM authentication. Instances of this class are immutable once
constructed.- Since:
- 2.3.2
- Author:
- Andreas Gebauer, Magnus Jungsbluth
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder forGcpIamCredentialsAuthenticationOptions
. -
Field Summary
-
Method Summary
Methods inherited from class org.springframework.vault.authentication.GcpIamAuthenticationSupport
getClock, getJwtValidity, getPath, getRole
-
Field Details
-
DEFAULT_GCP_AUTHENTICATION_PATH
- See Also:
-
-
Method Details
-
builder
public static GcpIamCredentialsAuthenticationOptions.GcpIamCredentialsAuthenticationOptionsBuilder builder() -
getCredentialSupplier
- Returns:
- the
GoogleCredentials
supplier.
-
getServiceAccountIdAccessor
- Returns:
- the service account id to use as sub/iss claims.
-