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()
      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)
    • isAllowDefaultSecret

      public boolean isAllowDefaultSecret()
    • setAllowDefaultSecret

      public void setAllowDefaultSecret(boolean allowDefaultSecret)