Class SecretManagerPropertySource

java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<SecretManagerTemplate>
com.google.cloud.spring.secretmanager.SecretManagerPropertySource

public class SecretManagerPropertySource extends org.springframework.core.env.EnumerablePropertySource<SecretManagerTemplate>
A property source for Secret Manager which accesses the Secret Manager APIs when getProperty(java.lang.String) is called.
Since:
1.2.2
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

    org.springframework.core.env.PropertySource.StubPropertySource
  • Field Summary

    Fields inherited from class org.springframework.core.env.PropertySource

    logger, name, source
  • Constructor Summary

    Constructors
    Constructor
    Description
    SecretManagerPropertySource(String propertySourceName, SecretManagerTemplate secretManagerTemplate, GcpProjectIdProvider projectIdProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The SecretManagerPropertySource is not enumerable, so this always returns an empty array.

    Methods inherited from class org.springframework.core.env.EnumerablePropertySource

    containsProperty

    Methods inherited from class org.springframework.core.env.PropertySource

    equals, getName, getSource, hashCode, named, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait