Returns a list of JSON Web Keys
GETGenerate JWT/auth/v1/jwks
Request
Query Parameters
Include JWKs from KeyCloak
Filter JWKs by issuer
Responses
- 200
- 400
- 401
- 403
- 500
Array of JWKs
- application/json
- Schema
- Example (from schema)
Schema
issuer
object
Issuer of the JWT
project
object
required
URL to the JWKs public keys, if no URL is provided you must include 'keys', if both are provided the keys fetched from the URL are merged with the supplied keys
An array of audiences that are valid for this issuer, an empty array is allowed
An array of roles that are allowed for this issuer, an empty permmits all roles
An uint64 bitmask representing the permissions valid for this issuser, an empty value permits all permissions
Indicates that this issuer is an internal issuer (NOTE: this field can not be set via the API)
Indicates that this issuer was added via a configuration, (NOTE: this field can not set via the API)
JWK public keys used for this issuer, an emtpy array is allowed if a JWKsURL is also provided
Keys maybe empty if the 'iss' param was set, in this case the keys will be under the issuer
object
{
"issuer": {
"iss": "string",
"project": {
"id": "string"
},
"JWKsURL": "string",
"aud": [
"string"
],
"roles": [
"string"
],
"prm": 0,
"internal": true,
"static": true,
"keys": [
null
]
},
"keys": [
null
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error message for the end user
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
Specific error scoped to a field
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error message for the end user
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
Specific error scoped to a field
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error message for the end user
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
Specific error scoped to a field
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error message for the end user
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
Specific error scoped to a field
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}