POST
/
fastedge
/
v1
/
secrets
curl --request POST \
  --url https://api.gcore.com/fastedge/v1/secrets \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "comment": "<string>",
  "secret_slots": [
    {
      "slot": 123,
      "value": "<string>"
    }
  ]
}'
{
  "name": "<string>",
  "comment": "<string>",
  "app_count": 123,
  "secret_slots": [
    {
      "slot": 123,
      "checksum": "<string>"
    }
  ],
  "id": 123
}

Authorizations

APIKey
string
header
required

API key for authentication.

Body

application/json

Secret details

The body is of type object.

Response

200
application/json

Ok

The response is of type object.