Skip to content

Commit 51dda47

Browse files
Update ingress docs for authentication
For auth-on-unauthenticated-request the example was showing values for auth-type, and for auth-scope options were missing and example was also for auth-type.
1 parent cc1c597 commit 51dda47

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/guide/ingress/annotation.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,21 @@ ALB supports authentication with Cognito or OIDC. See [Authenticate Users Using
216216

217217
!!!example
218218
```
219-
alb.ingress.kubernetes.io/auth-type: openid
219+
alb.ingress.kubernetes.io/auth-on-unauthenticated-request: authenticate
220220
```
221221

222222
- <a name="auth-scope">`alb.ingress.kubernetes.io/auth-scope`</a> specifies the set of user claims to be requested from the IDP(cognito or oidc).
223223

224+
!!!info "options:"
225+
* **phone**
226+
* **email**
227+
* **profile**
228+
* **openid**
229+
* **aws.cognito.signin.user.admin**
230+
224231
!!!example
225232
```
226-
alb.ingress.kubernetes.io/auth-type: openid
233+
alb.ingress.kubernetes.io/auth-scope: email,openid
227234
```
228235

229236
- <a name="auth-session-cookie">`alb.ingress.kubernetes.io/auth-session-cookie`</a> specifies the name of the cookie used to maintain session information

0 commit comments

Comments
 (0)