GET
/
fastedge
/
v1
/
secrets
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
secrets = client.fastedge.secrets.list()
print(secrets.secrets)
{
  "secrets": [
    {
      "id": 123,
      "name": "<string>",
      "comment": "<string>",
      "app_count": 123
    }
  ]
}

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

Query Parameters

app_id
integer

App ID

secret_name
string

Secret name

Response

200
application/json

Ok

The response is of type object.