Class GcpIamCredentialsAuthentication

java.lang.Object
org.springframework.vault.authentication.GcpJwtAuthenticationSupport
org.springframework.vault.authentication.GcpIamCredentialsAuthentication
All Implemented Interfaces:
ClientAuthentication

public class GcpIamCredentialsAuthentication extends GcpJwtAuthenticationSupport implements ClientAuthentication
Google Cloud IAM credentials login implementation using GCP IAM service accounts to legitimate its authenticity via JSON Web Token using the IAM Credentials projects.serviceAccounts.signJwt method.

This authentication method uses Googles IAM Credentials API to obtain a signed token for a specific Credential. Service account details are obtained from a GoogleCredentials that can be retrieved either from a JSON file or the runtime environment (GAE, GCE).

GcpIamCredentialsAuthentication uses Google Java API that uses synchronous API.

Since:
2.3.2
Author:
Andreas Gebauer, Mark Paluch
See Also: