apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: queue-ttl-binding
  namespace: default
spec:
  type: bindings.azure.storagequeues
  version: v1
  metadata:
  - name: storageAccount
    secretKeyRef:
        name: AzureBlobStorageAccount
        key:  AzureBlobStorageAccount
  - name: storageAccessKey
    secretKeyRef:
        name: AzureBlobStorageAccessKey
        key:  AzureBlobStorageAccessKey
  - name: queue
    value: "queuettlqueue"
  - name: ttlInSeconds
    value: 10 # Short TTL for easier testing
auth:
  secretStore: envvar-secret-store
