@FunctionalInterface public interface GoogleCredentialsSupplier extends Supplier<com.google.auth.oauth2.GoogleCredentials>
ServiceAccountCredentials for GCP IAM credentials
authentication. Implementations are used by GcpIamCredentialsAuthentication.GcpIamCredentialsAuthentication| Modifier and Type | Method and Description |
|---|---|
default com.google.auth.oauth2.GoogleCredentials |
get()
Exception-safe helper to get
ServiceAccountCredentials from
getCredentials(). |
com.google.auth.oauth2.GoogleCredentials |
getCredentials()
Get a
GoogleCredentials for GCP IAM credentials authentication via JWT
signing. |
default com.google.auth.oauth2.GoogleCredentials get()
ServiceAccountCredentials from
getCredentials().com.google.auth.oauth2.GoogleCredentials getCredentials()
throws IOException
GoogleCredentials for GCP IAM credentials authentication via JWT
signing.GoogleCredentials.IOException - if the credentials lookup fails.Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.