Get Public Key By Id
GET/users/v1/publickeys/:key_id
Get a current public key by key_id for this auth provider.
Request
Path Parameters
key_id Key Idrequired
Responses
- 200
- 404
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
kid Kid (string)required
Key ID - see https://datatracker.ietf.org/doc/html/rfc7517#section-4.5
kty Kty (string)required
Key Type - see https://datatracker.ietf.org/doc/html/rfc7517#section-4.1
n N (string)required
Modulus - see https://www.rfc-editor.org/rfc/rfc7518.html#section-6.3.1
e E (string)required
Exponent - see https://www.rfc-editor.org/rfc/rfc7518.html#section-6.3.1
{
"kid": "string",
"kty": "string",
"n": "string",
"e": "string"
}
Not Found
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...