Class KeyVaultPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<KeyVaultOperation>
com.azure.spring.cloud.autoconfigure.keyvault.environment.KeyVaultPropertySource
public class KeyVaultPropertySource
extends org.springframework.core.env.EnumerablePropertySource<KeyVaultOperation>
A key vault implementation of
EnumerablePropertySource
to enumerate all property pairs in Key Vault.- Since:
- 4.0.0
-
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
ConstructorDescriptionKeyVaultPropertySource
(String name, KeyVaultOperation operation) Create a newKeyVaultPropertySource
with the given name andKeyVaultOperation
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsProperty
(String name) getProperty
(String name) String[]
Methods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Constructor Details
-
KeyVaultPropertySource
Create a newKeyVaultPropertySource
with the given name andKeyVaultOperation
.- Parameters:
name
- the associated nameoperation
- theKeyVaultOperation
-
-
Method Details
-
getPropertyNames
- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<KeyVaultOperation>
-
getProperty
- Specified by:
getProperty
in classorg.springframework.core.env.PropertySource<KeyVaultOperation>
-
containsProperty
- Overrides:
containsProperty
in classorg.springframework.core.env.EnumerablePropertySource<KeyVaultOperation>
-