Secret Keys
Gets all secret keys for the project
OK
AlternateSecretKeys are additional secret keys that can be used for an account.
DefaultSecretKey is the default secret key for the account.
Names are the names of the secret keys that can be used for an account. index 0 is the default secret key, index 1+ are alternate secret key names
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
GET /v1/secret-keys HTTP/1.1
Accept: */*
{
"alternateSecretKeys": [
"text"
],
"defaultSecretKey": "text",
"names": [
"text"
]
}Adds a new secret key to the project
OK
SecretKey is the secret key that was added.
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
POST /v1/secret-keys HTTP/1.1
Accept: */*
{
"secretKey": "text"
}Deletes a secret key from the project
the key to delete
OK
AlternateSecretKeys are additional secret keys that can be used for an account.
DefaultSecretKey is the default secret key for the account.
Names are the names of the secret keys that can be used for an account. index 0 is the default secret key, index 1+ are alternate secret key names
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
DELETE /v1/secret-keys/{key} HTTP/1.1
Accept: */*
{
"alternateSecretKeys": [
"text"
],
"defaultSecretKey": "text",
"names": [
"text"
]
}the secret key to set as default
Set default request processed, no content
No content
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
POST /v1/secret-keys/{key}/default HTTP/1.1
Accept: */*
No content
Sets or updates the name on an existing secret key
the secret key to rename
Name is the new name to store with the secret key. An empty name clears it.
Rename request processed, no content
No content
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
POST /v1/secret-keys/{key}/name HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}No content
Last updated
Was this helpful?