Skip to content
Console
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

FieldTypeWhat it is
external_tenant_idstringWorkspace ID in the calling workload's namespace. Required.
page_sizeint32Defaults to 50. Values above 100 are capped.
page_tokenstringContinuation bound to the workload grant and tenant.

Response

FieldTypeWhat it is
keysWorkloadTenantKey[]Keys issued by the workload, including revoked keys.
next_page_tokenstringContinuation, absent after the last result.

WorkloadTenantKey

FieldTypeWhat it is
key_idstringCredential ID, not its secret value.
labelstringCaller-supplied label.
scopesstring[]Exact scopes the key carries (including a registered aggregate, if requested).
created_attimestampKey issuance time.
revoked_attimestampKey revocation time, absent for a live key.

Errors

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"