Azure / Azure/typespec-azure

[Feature Request] Define common models like JSON Web Key (JWK)

Open
#196 0 comments 0 reactions 0 assignees View on GitHub
design:needed
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 21h
Merged PRs (30d)
164

Description

**Is your feature request related to a problem? Please describe.**
The REST API Stewardship Board has seen a number of services use JWKs or their variants e.g., JWTs, and related times like JWEs as part of JOSE declarations e.g., https://github.com/Azure/azure-rest-api-specs-pr/issues/16580#issuecomment-1919601365

**Describe the solution you'd like**
We should define these standard types and allow them to be imported. That might also help us with client generation where having a specific type we know about might lend itself in some languages e.g., .NET to use built-in support. At the very least, it helps ensure that every service using JWKs are defining them correctly and consistently.

**Describe alternatives you've considered**
It could even be in a separate library instead of Foundation or Core (I doubt ARM would need it).

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Review how shared models are defined and imported from Foundation or Core, then determine whether JWK, JWT, and JWE belong there or in a separate library; done means the chosen standard types are consistently defined and importable for REST API use.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.