Class GcpKmsProperties
java.lang.Object
com.google.cloud.spring.autoconfigure.kms.GcpKmsProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties("spring.cloud.gcp.kms")
public class GcpKmsProperties
extends Object
implements CredentialsSupplier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.void
setProjectId
(String projectId)
-
Constructor Details
-
GcpKmsProperties
public GcpKmsProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getProjectId
-
setProjectId
-