apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: azurekeyvault
spec:
  type: secretstores.azure.keyvault
  metadata:
  - name: vaultName
    secretKeyRef:
        name: AzureKeyVaultName
        key:  AzureKeyVaultName
  - name: azureTenantId
    secretKeyRef:
        name: AzureKeyVaultSecretStoreTenantId
        key:  AzureKeyVaultSecretStoreTenantId
  - name: azureClientId
    secretKeyRef:
        name: AzureKeyVaultSecretStoreClientId
        key:  AzureKeyVaultSecretStoreClientId
  - name: azureCertificateFile
    secretKeyRef:
        name: AzureKeyVaultSecretStoreCert
        key:  AzureKeyVaultSecretStoreCert

auth:
  secretStore: envvar-secret-store
