Access Keys

Generate a new access key

Generates a new access key for interacting with the Object Storage service. Each access key consists of a unique access_key and a corresponding secret_key, scoped to a specific region.

post/object-storage/access-keys

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/object-storage/access-keys
  • Auth: API key in header api_key

Request body

region'CANADA-1' required
descriptionobject

Optional description for the access key. Maximum length: 250 characters.

Example request

{
  "region": "CANADA-1"
}

Response

Created

access_keystring

Object-storage access key.

created_atstring date-time

ISO 8601 UTC timestamp marking when the resource was created.

idinteger

Unique numeric identifier.

region'CANADA-1'
secret_keystring

The corresponding secret key. This is only returned at the time of creation, store it securely.

user_idinteger

Identifier of the user.

descriptionobject

An optional description of the API key.

Example response

{
  "access_key": "AKUXU7D1M49L3NR9YJHU",
  "created_at": "2026-05-06T15:18:42Z",
  "id": 7613,
  "region": "CANADA-1",
  "secret_key": "IfzGQzxPiwi6mCOncLvNxVdItKPZh0dcMxAwcnpu",
  "user_id": 8429
}

Changes

No recorded changes to this operation across all 1 revision of this API.