Class GcpIamAuthentication

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

@Deprecated(since="2.3.2", forRemoval=true) public class GcpIamAuthentication extends GcpJwtAuthenticationSupport implements ClientAuthentication
Deprecated, for removal: This API element is subject to removal in a future version.
since 2.3.2, use GcpIamCredentialsAuthentication instead.
GCP IAM login implementation using GCP IAM service accounts to legitimate its authenticity via JSON Web Token using the deprecated IAM projects.serviceAccounts.signJwt method.

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

GcpIamAuthentication uses Google Java API that uses synchronous API.

Since:
2.1
Author:
Mark Paluch, Magnus Jungsbluth, Bruno Rodrigues
See Also: