Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) page = client.cloud.secrets.list( project_id=1, region_id=1, ) page = page.results[0] print(page.id)
{ "count": 1, "results": [ { "algorithm": "aes", "bit_length": 256, "content_types": { "default": "application/octet-stream" }, "created": "2023-03-23T20:00:00+00:00", "expiration": "2023-06-23T20:00:00+00:00", "id": "bfc7824b-31b6-4a28-a0c4-7df137139215", "mode": "cbc", "name": "AES key", "secret_type": "opaque", "status": "ACTIVE" } ] }
0 < x <= 1000
x >= 0
Show child attributes
Was this page helpful?