Secret Keys

Get Secret Keys

get

Gets all secret keys for the project

Responses
200

OK

application/json
get
GET /v1/secret-keys HTTP/1.1
Host: 
Accept: */*
{
  "alternateSecretKeys": [
    "text"
  ],
  "defaultSecretKey": "text"
}

Add Secret Key

post

Adds a new secret key to the project

Responses
200

OK

application/json
post
POST /v1/secret-keys HTTP/1.1
Host: 
Accept: */*
{
  "secretKey": "text"
}

Delete Secret Key

delete

Deletes a secret key from the project

Path parameters
keystringRequired

the key to delete

Responses
200

OK

application/json
delete
DELETE /v1/secret-keys/{key} HTTP/1.1
Host: 
Accept: */*
{
  "alternateSecretKeys": [
    "text"
  ],
  "defaultSecretKey": "text"
}

Set Default Secret Key

post
Path parameters
keystringRequired

the secret key to set as default

Responses
204

Set default request processed, no content

No content

post
POST /v1/secret-keys/{key}/default HTTP/1.1
Host: 
Accept: */*

No content

Was this helpful?