jump to content

ClickHouse Cloud

Connect ClickHouse Cloud as an access review source using a Cloud API key ID and secret so the platform can list your organization's members.

View as Markdown

the platform reads your ClickHouse Cloud organization’s members through the ClickHouse Cloud API so you can review who has access.

  • the platform organization administrator access
  • The Admin organization role in ClickHouse Cloud (Admin performs all administrative activities for the organization, including creating API keys)
  • A key whose assigned role carries organization-level access, so it can list the organization’s members. A key limited to a service role, or to the sign-in-only Member organization role, cannot read them
  • Both halves of the key, the Key ID and the Key secret, which the console shows only once
the platform fieldClickHouse Cloud fieldNotes
NamenameFalls back to the email address
EmailemailA member with no email address is skipped
RoleassignedRoles[].roleNameThe system and custom roles assigned to the member. Falls back to the deprecated role field for a member with none: admin → Admin, developer → Developer
AdminassignedRoles[].roleNameFlagged as an administrator when an assigned role is named Admin. With no assigned roles, flagged when the deprecated role is admin. The match is on the exact name, so a custom role such as Billing Admin does not count
StatusNot supported
MFANot supported
Last loginNot supported
External IDuserIdStable identifier used to track the account across reviews. It stays the same when a user belongs to several organizations
Created atjoinedAtWhen the member joined the organization

ClickHouse Cloud marks role as deprecated and points API clients to assignedRoles. For an organization that has migrated to custom roles, role is frozen at its pre-migration value, which is Why ZebraByte reads assignedRoles first.

  1. In the ClickHouse Cloud console, signed in as an organization Admin, open the API Keys tab in the left menu.
  2. Click New API Key (until the organization has its first key, the page shows a create prompt instead of the button), name it (e.g. Probo Access Review), assign a role with organization-level access, and set an expiration.
  3. Click Generate API Key, then copy the Key ID and the Key secret. They are shown only on this screen.
  1. In the platform, go to Access Reviews > Sources > Add Source.
  2. Find ClickHouse Cloud, click API Key, paste the Key ID and the Key secret joined by a colon (keyId:keySecret), and click Connect.

the platform names the source ClickHouse Cloud and pulls your organization’s members into your campaigns.

  • Key rejected. Paste both halves joined by a colon, keyId:keySecret, with no spaces. The Key ID alone or the Key secret alone fails HTTP Basic authentication, and so does a key that has been disabled or has passed its expiration date.
  • “API key is not associated with any organization”. A key belongs to exactly one organization, and ClickHouse returns only that one. Create the key inside the organization you are reviewing.
  • No members appear. The key’s role must grant organization-level access. A key limited to a service role, such as Basic service API reader, reaches services but not the organization’s members.
  • Requests fail from the platform but the key works locally. If the key was created with Specific locations under Allow access to this API Key, only the IP addresses you listed can use it. Remove the restriction for ZebraByte Cloud. For a self-hosted deployment, you can instead allowlist that deployment’s fixed egress addresses.

Ultima actualizare: