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 Details

    • GcpKmsProperties

      public GcpKmsProperties()
  • Method Details

    • getCredentials

      public Credentials getCredentials()
      Description copied from interface: CredentialsSupplier
      Supplies credentials configuration.
      Specified by:
      getCredentials in interface CredentialsSupplier
      Returns:
      a POJO containing Google Cloud credentials location and scopes
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)