Skip to main content
GET
/
fastedge
/
v1
/
secrets
/
{id}
Get secret by id
curl --request GET \
  --url https://api.gcore.com/fastedge/v1/secrets/{id} \
  --header 'Authorization: <api-key>'
{
  "name": "<string>",
  "comment": "<string>",
  "app_count": 123,
  "secret_slots": [
    {
      "slot": 123,
      "checksum": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

id
integer
required

Id of the secret

Response

Ok

name
string

The unique name of the secret.

comment
string

A description or comment about the secret.

app_count
integer

The number of applications that use this secret.

secret_slots
object[]

A list of secret slots associated with this secret.