Class 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.
    • Constructor Detail

      • KeyVaultPropertySource

        public KeyVaultPropertySource​(String keyVaultName,
                                      KeyVaultOperation operation)
        Creates a new instance of KeyVaultPropertySource.
        Parameters:
        keyVaultName - the KeyVault name
        operation - the KeyVault operation
    • Method Detail

      • getPropertyNames

        public String[] getPropertyNames()
        Specified by:
        getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<KeyVaultOperation>
      • getProperty

        public Object getProperty​(String name)
        Specified by:
        getProperty in class org.springframework.core.env.PropertySource<KeyVaultOperation>