Secret Keys
Gets all secret keys for the project
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
get
GET /v1/secret-keys HTTP/1.1
Host:
Accept: */*
{
"alternateSecretKeys": [
"text"
],
"defaultSecretKey": "text"
}
Adds a new secret key to the project
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
post
POST /v1/secret-keys HTTP/1.1
Host:
Accept: */*
{
"secretKey": "text"
}
Deletes a secret key from the project
Path parameters
keystringRequired
the key to delete
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
delete
DELETE /v1/secret-keys/{key} HTTP/1.1
Host:
Accept: */*
{
"alternateSecretKeys": [
"text"
],
"defaultSecretKey": "text"
}
Path parameters
keystringRequired
the secret key to set as default
Responses
204
Set default request processed, no content
No content
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
post
POST /v1/secret-keys/{key}/default HTTP/1.1
Host:
Accept: */*
No content
Was this helpful?