--- # Was previously a plain Secret with the Cloudflare token committed in git. # Rotated to ExternalSecret+Vault (see scripts/rotate-cloudflare-token.sh) - # never commit a live token here again. apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: cloudflare-token-secret namespace: cert-manager spec: refreshInterval: 1h secretStoreRef: kind: ClusterSecretStore name: vault-backend target: name: cloudflare-token-secret creationPolicy: Owner data: - secretKey: cloudflare-token remoteRef: key: cloudflare-dns-token property: token