---
title: "Get access key"
method: GET
path: "/v1/cwobject/access-key/{accessKeyId}"
tags: ["CWObject"]
---

# Get access key

`GET /v1/cwobject/access-key/{accessKeyId}`

Retrieves metadata for a specific access key by ID. The secret key is never returned.

## Path parameters

- `accessKeyId` string, required

## Response `200`

OK

- GetAccessKeyInfoResponse — Metadata for a single access key.
  - `info` AccessKeyInfo — Metadata for a single access key. The secret value is never returned by any endpoint.
    - `accessKeyId` string — The access-key ID.
    - `status` string — The current status of the access key (for example, `ACCESS_KEY_STATUS_ACTIVE` or `ACCESS_KEY_STATUS_SUSPENDED`).
    - `principalName` string — The fully-qualified principal name that owns the access key.
    - `attributes` object — Free-form caller-supplied attributes attached to the key (for example, `name`).
    - `expiry` string, date-time — The expiration time of the access key. Permanent keys may report a sentinel value.
    - `orgId` string — The organization ID that owns the access key.
    - `multiAttributes` object — Free-form caller-supplied multi-valued attributes attached to the key. Each value is an `AttributeList` (an array of strings) so a single attribute key can carry multiple values. Distinct from `attributes`, which holds a single string per key.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.dev/coreweave/apis/coreweave-telemetry-relay-api.md) · [All operations](https://skmtc.dev/coreweave/apis/coreweave-telemetry-relay-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coreweave/coreweave-telemetry-relay-api/revisions/3b98ea4fe0c3/schema)
