Activate Web Key
POST/v2beta/web_keys/:id/activate
Switch the active signing web key. The previously active key will be deactivated. Note that the JWKs OIDC endpoint returns a cacheable response. Therefore it is not advised to activate a key that has been created within the cache duration (default is 5min), as the public key may not have been propagated to caches and clients yet.
Required permission:
iam.web_key.write
Required feature flag:
web_key
Request​
Responses​
- 200
- 400
- 403
- 404
- default
Web key activated successfully.
The feature flag web_key
is not enabled.
Returned when the user does not have permission to access the resource.
The web key to active does not exist.
An unexpected error response.