Class GcpSecretManagerProperties

java.lang.Object
com.google.cloud.spring.autoconfigure.secretmanager.GcpSecretManagerProperties
All Implemented Interfaces:
CredentialsSupplier

@ConfigurationProperties("spring.cloud.gcp.secretmanager") public class GcpSecretManagerProperties extends Object implements CredentialsSupplier
  • Field Details

  • Constructor Details

    • GcpSecretManagerProperties

      public GcpSecretManagerProperties()
  • Method Details

    • getCredentials

      public Credentials getCredentials()
      Specified by:
      getCredentials in interface CredentialsSupplier
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
    • isAllowDefaultSecret

      public boolean isAllowDefaultSecret()
    • setAllowDefaultSecret

      public void setAllowDefaultSecret(boolean allowDefaultSecret)