Skip to main content
GET
/
cloud
/
v1
/
caas
/
keys
/
{project_id}
/
{region_id}
/
{key_name}
Get API key
curl --request GET \
  --url https://api.gcore.com/cloud/v1/caas/keys/{project_id}/{region_id}/{key_name} \
  --header 'Authorization: <api-key>'
{
  "containers": [
    {
      "name": "<string>",
      "namespace": "<string>"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "expire": "2023-07-31T00:00:00Z",
  "is_disabled": true,
  "name": "<string>",
  "source": "<string>",
  "status": "<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

project_id
integer
required

Project id

region_id
integer
required

Region id

key_name
string
required

Key name

Response

200 - application/json

OK

containers
CaasNamespacedName · object[]
required

List of containers using key

created_at
string<date-time>
required

Key starts to work

description
string
required

Key description

expire
string<date-time> | null
required

Key expires at

Example:

"2023-07-31T00:00:00Z"

is_disabled
boolean
required

Set to true if key is disabled

name
string
required

Key name

source
string
required

Source of the apikey, can be 'cloud' or 'iate'

status
string
required

Key status