On this page
List keys in Workload tenants
Lists keys issued by this workload in its named tenant, without secrets.
Lists keys issued by this workload in its named tenant, without secrets.
- Path
GET https://api.sylphx.com/v1/access/workload/tenants/external-tenant-id/keys - Scope
access:whoami - Effect
read— nothing is written. - Collection workload_tenants
- Query
page_size,page_token - Host
https://api.sylphx.com
Request
| Field | Type | What it is |
|---|---|---|
external_tenant_id | string | Workspace ID in the calling workload's namespace. Required. |
page_size | int32 | Defaults to 50. Values above 100 are capped. |
page_token | string | Continuation bound to the workload grant and tenant. |
Response
| Field | Type | What it is |
|---|---|---|
keys | WorkloadTenantKey[] | Keys issued by the workload, including revoked keys. |
next_page_token | string | Continuation, absent after the last result. |
WorkloadTenantKey
| Field | Type | What it is |
|---|---|---|
key_id | string | Credential ID, not its secret value. |
label | string | Caller-supplied label. |
scopes | string[] | Exact scopes the key carries (including a registered aggregate, if requested). |
created_at | timestamp | Key issuance time. |
revoked_at | timestamp | Key revocation time, absent for a live key. |
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.PAGE_TOKEN_MISMATCH— A page token was reused with different parameters.
Every error arrives in the body Errors describes.
Examples
curl "https://api.sylphx.com/v1/access/workload/tenants/external-tenant-id/keys" \
-H "Authorization: Bearer $SYLPHX_API_KEY"