# Okta - Client secret rotation and key management - Use a URL to fetch keys dynamically option

**URL:** <https://devforum.okta.com/t/okta-client-secret-rotation-and-key-management-use-a-url-to-fetch-keys-dynamically-option/30886>\
**Category:** OAuth/OIDC\
**Created:** [October 10, 2024, 5:10am UTC](https://devforum.okta.com/t/okta-client-secret-rotation-and-key-management-use-a-url-to-fetch-keys-dynamically-option/30886 "2024-10-10T05:10:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danoroian-perficient](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@danoroian-perficient](https://devforum.okta.com/u/danoroian-perficient)\
**Post date:** [October 10, 2024, 5:10am UTC](https://devforum.okta.com/t/okta-client-secret-rotation-and-key-management-use-a-url-to-fetch-keys-dynamically-option/30886/1 "2024-10-10T05:10:25Z")

</div>

Hi, we are currently in analysis to implement client secret rotation for an okta application service.

According to this guide we are exploring the Use a URL to fetch keys dynamically option:

> **[Client secret rotation and key management | Okta Developer](https://developer.okta.com/docs/guides/client-secret-rotation-key/main/)**
>
> Okta client secret rotation helps you rotate and manage your client secrets without service or app downtime. Additionally, you can generate public/private key pairs and manage them using the Admin Console.

However there doesn`t seem to be any info about any possible authentication mechanism or ways for us to secure this endpoint that will get the public keys. Are there any possible ways to add some security around it ?

Thanks

---

<div class="post-metadata">

**Author:** ![nikitag](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@nikitag](https://devforum.okta.com/u/nikitag)\
**Post date:** [October 15, 2024, 7:57am UTC](https://devforum.okta.com/t/okta-client-secret-rotation-and-key-management-use-a-url-to-fetch-keys-dynamically-option/30886/2 "2024-10-15T07:57:41Z")

</div>

Hi there, Okta’s Keys endpoint https:/{yourOktaDomain}/oauth2/v1/keys is a public metadata endpoint and has only public keys which are not considered a security issue while sharing.  
If you have specific security questions, let us know.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [November 14, 2024, 7:58am UTC](https://devforum.okta.com/t/okta-client-secret-rotation-and-key-management-use-a-url-to-fetch-keys-dynamically-option/30886/3 "2024-11-14T07:58:28Z")

</div>

Closed on November 14, 2024, 7:58am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
