Interface GCPCredentialsService
- All Superinterfaces:
ConfigurableComponent,ControllerService
@Tags({"gcp","security","credentials","auth","session"})
@CapabilityDescription("Provides GCP GoogleCredentials.")
public interface GCPCredentialsService
extends ControllerService
GCPCredentialsService interface to support getting Google Cloud Platform
GoogleCredentials used for instantiating Google cloud services.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.auth.oauth2.GoogleCredentialsGet Google CredentialsMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Method Details
-
getGoogleCredentials
Get Google Credentials- Returns:
- Valid Google Credentials suitable for authorizing requests on the platform.
- Throws:
ProcessException- process exception in case there is problem in getting credentials
-