SecretKeyMissing
Docs version v1 (main)Nauthera is pre-1.0, in a design-partner program
The Secret an IdentityProvider, LDAPDirectory or OIDCClient names holds nothing under the key it names; the resource is Ready=False, Error, and nothing is sent.
Meaning
The Secret exists and has no value, or an empty one, under spec.clientSecretRef.key
(client-secret by default). The provider is not registered or updated until a value
appears; the operator reconciles the resource when the Secret changes.
An LDAPDirectory reports the same for the key spec. names, or
spec.caBundleRef.key on a bundle of kind Secret, and an OIDCClient for
spec. (client-secret by default).
Impact
The organization's end users cannot sign in or sign up through this provider if it was never registered; an existing registration keeps its previous secret.
Diagnosis
kubectl -n <ns> describe identityprovider <name>names the Secret and key, as the admin dashboard's Problems page does.kubectl -n <ns> get secret <secret> -o jsonpath='{.lists the keys without printing values.data}' | jq 'keys'
Mitigation
- Write the value under the expected key, or set
spec.clientSecretRef.key(an OIDCClient'sspec.) to the key that holds it. A Secret written withsecret. secretRef. key --from-fileis keyed by the file's name.
Escalation
The team that owns the provider's credential fixes the Secret. Escalate only if the key holds a value and the condition stays.
Operator failure reasons · Generated from operator/ in nauthera-server.