Access control
Create a signing key
The publicKey is a representation of the public key, encoded as base 64 and is passed as a string, and the privateKey is displayed only on creation. This is the only moment where the client can save the private key, otherwise it will be lost. Remember to decode your string when signing JWTs. Up to 10 signing keys can be generated, after that you must delete at least one signing key to create a new one.
POST
/
access-control
/
signing-key
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
id
string
name
string
Name of the signing key
userId
string
deprecatedcreatedAt
number
Timestamp (in milliseconds) at which the signing-key was created
lastSeen
number
Timestamp (in milliseconds) at which the signing-key was last used
publicKey
string
requireddisabled
boolean
Disable the signing key to allow rotation safely
Was this page helpful?