You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/vault/v1.20.x/content/api-docs/auth/kubernetes.mdx
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,12 @@ entities attempting to login.
146
146
[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#labelselector-v1-meta). Currently, label selectors with `matchExpressions` are not supported.
147
147
To use label selectors, **Vault must have permission to read namespaces** on the Kubernetes
148
148
cluster. If set with `bound_service_account_namespaces`, the conditions are `OR`ed.
149
-
-`audience``(string: "")` - Audience claim to verify in the JWT.
149
+
-`audience``(string: "")` - Audience claim to verify in the JWT. If you leave
150
+
`audience` unset, Vault logs a warning about setting an explicit audience
151
+
configuration to encourage better security practices. Note: the log entry for
152
+
early versions of Vault 1.20.x falsely indicates that `audience` becomes a
153
+
required field in Vault 1.21.x. You can safely ignore that portion of the
154
+
warning.
150
155
-`alias_name_source``(string: "serviceaccount_uid")` - Configures how identity aliases are generated.
151
156
Valid choices are: `serviceaccount_uid` and `serviceaccount_name`.
0 commit comments