# Was a plain Secret with the OIDC client_id/client_secret hardcoded in # plaintext (the file's own old comment even said "hardcoded from # blueprint") - found and fixed 2026-08-20 alongside # infrastructure/authentik/grafana-blueprint.yaml (same value, same Vault # path - see that file for the full story). apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: grafana-authentik-oauth namespace: grafana spec: refreshInterval: 1h secretStoreRef: kind: ClusterSecretStore name: vault-backend target: name: grafana-authentik-oauth creationPolicy: Owner template: type: Opaque data: GF_AUTH_GENERIC_OAUTH_CLIENT_ID: "{{ .clientId }}" GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET: "{{ .clientSecret }}" data: - secretKey: clientId remoteRef: key: grafana-oauth property: client-id - secretKey: clientSecret remoteRef: key: grafana-oauth property: client-secret