Skip to content

Expose JWKS cluster config through JWTProviderConfigEntry#17978

Merged
roncodingenthusiast merged 4 commits intomainfrom
issue-17886-expose-certs
Jul 4, 2023
Merged

Expose JWKS cluster config through JWTProviderConfigEntry#17978
roncodingenthusiast merged 4 commits intomainfrom
issue-17886-expose-certs

Conversation

@roncodingenthusiast
Copy link
Copy Markdown
Contributor

Description

  • Expose remote jwks cluster configuration through jwt-provider config entry to allow users to configure how remote jwks uri s are obtained.
  • We are starting with certs and connect timeout as we deem those are the most important ones currently. We will be adding more fields as we find the demand for this

Testing & Reproduction steps

  • write a jwt provider with jwks cluster
  • get the envoy config dump to ensure the cluster being configured has the right values

TODO

  • follow up this PR with docs

@roncodingenthusiast roncodingenthusiast added the backport/1.16 This release series is no longer active on CE. Use backport/ent/1.16. label Jun 30, 2023
@github-actions github-actions bot added theme/api Relating to the HTTP API interface theme/envoy/xds Related to Envoy support labels Jun 30, 2023
@roncodingenthusiast roncodingenthusiast force-pushed the issue-17886-expose-certs branch from b3628cd to 8a8a8c4 Compare June 30, 2023 15:55
@roncodingenthusiast roncodingenthusiast requested review from a team, kisunji, pglass and skpratt and removed request for a team June 30, 2023 15:57
@roncodingenthusiast roncodingenthusiast marked this pull request as ready for review June 30, 2023 15:57
@roncodingenthusiast roncodingenthusiast force-pushed the issue-17886-expose-certs branch from 8a8a8c4 to 34b3f87 Compare June 30, 2023 16:00
Copy link
Copy Markdown
Contributor

@johnlanda johnlanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly comment fixes to make them full sentences / with punctuation.

A few minor questions on some duplicated consts.

Copy link
Copy Markdown
Contributor

@johnlanda johnlanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@roncodingenthusiast
Copy link
Copy Markdown
Contributor Author

Linking #17886

roncodingenthusiast added a commit that referenced this pull request Jul 4, 2023
* Expose JWKS cluster config through JWTProviderConfigEntry

* fix typos, rename trustedCa to trustedCA
roncodingenthusiast added a commit that referenced this pull request Jul 4, 2023
…18002)

* Expose JWKS cluster config through JWTProviderConfigEntry

* fix typos, rename trustedCa to trustedCA
roncodingenthusiast added a commit that referenced this pull request Jul 14, 2023
### Description

<!-- Please describe why you're making this change, in plain English.
-->

- Add jwt-provider docs for jwks cluster configuration. The
configuration was added here:
#17978
hc-github-team-consul-core added a commit that referenced this pull request Jul 14, 2023
#18135)

## Backport

This PR is auto-generated from #18004 to be assessed for backporting due
to the inclusion of the label backport/1.16.



The below text is copied from the body of the original PR.

---

### Description

<!-- Please describe why you're making this change, in plain English.
-->

- Add jwt-provider docs for jwks cluster configuration. The
configuration was added here:
#17978


---

<details>
<summary> Overview of commits </summary>

  - 1ab3c3b 

</details>

Co-authored-by: Ronald Ekambi <[email protected]>