Skip to content

feat(identity): multiple active secrets - #6338

Merged
juliamrch merged 14 commits into
release/kong-identity-m1from
iss4475
Jul 30, 2026
Merged

feat(identity): multiple active secrets #6338
juliamrch merged 14 commits into
release/kong-identity-m1from
iss4475

Conversation

@juliamrch

@juliamrch juliamrch commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

closes #4475

Preview Links

https://deploy-preview-6338--kongdeveloper.netlify.app/identity/auth-servers/#kong-identity-client-credential-authentication-flow

Testing instructions

To quickly test this, go to the Konnect Docs DEV org > Identity > Authorization servers and click any server. Then:

  • Create a new client
  • Copy the client ID and the Client secret
  • Copy this command to test the connection, and run it after replacing the values:
curl -s -X POST "<auth)server-issuer-url>/auth/oauth/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials" \
  -d "client_id=client-id" \
  -d "client_secret=<client-secret>"
  • Create a new secret:
❯ curl -X POST "https://us.api.konghq.tech/v1/auth-servers/<auth-server-id>/clients/<client-id>/secrets" \
     --no-progress-meter --fail-with-body  \
     -H "Authorization: Bearer $KONNECT_TOKEN" \
     --json '{
       "secret": "'new-secret'",
       "enabled": true
     }'

Try to connect with both the first and the second secrets, to check that both are active.

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 58cf6e3
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a6b1908667f5d00081be27c
😎 Deploy Preview https://deploy-preview-6338--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@juliamrch
juliamrch changed the base branch from main to release/kong-identity-m1 July 23, 2026 14:48
@juliamrch juliamrch self-assigned this Jul 23, 2026
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
@juliamrch
juliamrch marked this pull request as ready for review July 27, 2026 13:03
@juliamrch
juliamrch requested a review from a team as a code owner July 27, 2026 13:03
Comment thread app/kong-identity/auth-servers.md
juliamrch and others added 8 commits July 29, 2026 16:02
Co-authored-by: ajessup <andrew.jessup@konghq.com>

Co-authored-by: Diana <diana.brezza@konghq.com>
Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>
Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>
Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>
Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>
Removed the comment section detailing the authorization code flow for OAuth2.
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
Comment thread app/kong-identity/auth-servers.md Outdated
juliamrch and others added 5 commits July 29, 2026 17:59
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
@juliamrch
juliamrch merged commit 9d62ab8 into release/kong-identity-m1 Jul 30, 2026
13 checks passed
@juliamrch
juliamrch deleted the iss4475 branch July 30, 2026 09:55
juliamrch added a commit that referenced this pull request Jul 30, 2026
* feat(identity): how to rotate a client secret (#6463)

* adapt Jessup instructions to a full guide

* Apply suggestions from code review

Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>

* Apply suggestion from @juliamrch

* Apply suggestions from code review

Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>

---------

Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>

* feat(identity): multiple active secrets  (#6338)

* Port Kong Identity clients & secrets docs

Co-authored-by: ajessup <andrew.jessup@konghq.com>

Co-authored-by: Diana <diana.brezza@konghq.com>

* update Clients definition

* Apply suggestions from code review

Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>

* Apply suggestion from @juliamrch

* Apply suggestions from code review

Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>

* Remove OAuth2 authorization code flow comment

Removed the comment section detailing the authorization code flow for OAuth2.

* add how-to link

* Update auth-servers.md

Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>

* Update auth-servers.md

Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>

* Update auth-servers.md

Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>

* specify the options when generating a new secret with the API

* syntax + tables

---------

Co-authored-by: Diana <diana.brezza@konghq.com>
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>

---------

Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
Co-authored-by: Diana <diana.brezza@konghq.com>
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kong Identity: Multiple active secrets for clients via Konnect and DCR

2 participants