Skip to content

Commit b4768f5

Browse files
authored
Merge pull request #47821 from aramase/aramase/d/update_authn_constraints
Add note about k8s.io, kubernetes disallowed prefix for structured authn
2 parents 424f3fc + 3ff8a9c commit b4768f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/reference/access-authn-authz/authentication.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,12 @@ jwt:
466466
expression: 'claims.sub'
467467
# extra attributes to be added to the UserInfo object. Keys must be domain-prefix path and must be unique.
468468
extra:
469+
# key is a string to use as the extra attribute key.
470+
# key must be a domain-prefix path (e.g. example.org/foo). All characters before the first "/" must be a valid
471+
# subdomain as defined by RFC 1123. All characters trailing the first "/" must
472+
# be valid HTTP Path characters as defined by RFC 3986.
473+
# k8s.io, kubernetes.io and their subdomains are reserved for Kubernetes use and cannot be used.
474+
# key must be lowercase and unique across all extra attributes.
469475
- key: 'example.com/tenant'
470476
# valueExpression is a CEL expression that evaluates to a string or a list of strings.
471477
valueExpression: 'claims.tenant'

0 commit comments

Comments
 (0)