Skip to content

feat(auth): support restricted signing key IDs - #55

Open
rkdud007 wants to merge 2 commits into
mainfrom
rkdud007/restricted-key-id
Open

feat(auth): support restricted signing key IDs#55
rkdud007 wants to merge 2 commits into
mainfrom
rkdud007/restricted-key-id

Conversation

@rkdud007

@rkdud007 rkdud007 commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

https://github.com/pierredotco/monorepo/pull/2494

Let SDK clients sign requests with a restricted key by configuring its registered key ID.

Pass keyId and key_id into the JWT protected header as kid in the TypeScript and Python clients, and document and test both paths.

Let SDK clients sign requests with a restricted key by configuring its
registered key ID.

Pass keyId and key_id into the JWT protected header as kid in the
TypeScript and Python clients, and document and test both paths.
@rkdud007
rkdud007 requested review from evict and unknwon September 4, 2026 20:29
Configure a client with a restricted signing key ID and request a
remote URL without a TTL: the SDK mints a one-year token, and the
gateway rejects it because restricted keys are limited to one hour.

Default the token lifetime to one hour whenever a key ID is set. An
explicit defaultTTL, default_ttl, or per-call ttl still takes
precedence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant