from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
secret = client.fastedge.secrets.get(
0,
)
print(secret.app_count)
{
"name": "<string>",
"comment": "<string>",
"app_count": 123,
"secret_slots": [
{
"slot": 123,
"checksum": "<string>"
}
]
}
from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
secret = client.fastedge.secrets.get(
0,
)
print(secret.app_count)
{
"name": "<string>",
"comment": "<string>",
"app_count": 123,
"secret_slots": [
{
"slot": 123,
"checksum": "<string>"
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Id of the secret
Ok
The response is of type object
.
Was this page helpful?