java.lang.Object
com.azure.spring.cloud.autoconfigure.keyvault.environment.KeyVaultOperation

public class KeyVaultOperation extends Object
KeyVaultOperation wraps the operations to access Key Vault.
Since:
4.0.0
  • Constructor Details

    • KeyVaultOperation

      public KeyVaultOperation(com.azure.security.keyvault.secrets.SecretClient secretClient, Duration refreshDuration, List<String> secretKeys, boolean caseSensitive)
      Constructor.
      Parameters:
      secretClient - the Key Vault secret client.
      refreshDuration - the refresh in milliseconds (0 or less disables refresh).
      secretKeys - the secret keys to look for.
      caseSensitive - the case-sensitive flag.
  • Method Details

    • getProperty

      public String getProperty(String property)
      Get the property.
      Parameters:
      property - the property to get.
      Returns:
      the property value.
    • getPropertyNames

      public String[] getPropertyNames()
      Get the property names.
      Returns:
      the property names.