Skip to content

Commit

Permalink
Docs: improve bound_audiences documentation for jwt role (hashicorp#1692
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Kasama authored Dec 7, 2022
1 parent 9e6d309 commit 8949384
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/docs/r/jwt_auth_backend_role.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ The following arguments are supported:

* `role_type` - (Optional) Type of role, either "oidc" (default) or "jwt".

* `bound_audiences` - (Required for roles of type `jwt`, optional for roles of
type `oidc`) List of `aud` claims to match against. Any match is sufficient.
* `bound_audiences` - (For "jwt" roles, at least one of `bound_audiences`, `bound_subject`, `bound_claims`
or `token_bound_cidrs` is required. Optional for "oidc" roles.) List of `aud` claims to match against.
Any match is sufficient.

* `user_claim` - (Required) The claim to use to uniquely identify
the user; this will be used as the name for the Identity entity alias created
Expand Down

0 comments on commit 8949384

Please sign in to comment.