REVOKE ASSUME SERVICE ACCOUNT reference

REVOKE ASSUME SERVICE ACCOUNT - revokes a service account from a user or a group.

For full documentation of the Access Control List and Role-based Access Control, see the RBAC operations page.

note

Role-based Access Control (RBAC) operations are only available in QuestDB Enterprise & QuestDB Cloud.


Syntax

Flow chart showing the syntax of the REVOKE ASSUME SERVICE ACCOUNT keyword

Description

  • REVOKE ASSUME SERVICE ACCOUNT serviceAccount FROM userOrGroup - revokes a service account from a user or a group

When a service account is revoked from a user, the user no no longer assume the service account.

Examples

Revoke a service account from a user

GRANT ASSUME SERVICE ACCOUNT ingestion TO john WITH GRANT OPTION;
namegrant_option
ingestiont
REVOKE ASSUME SERVICE ACCOUNT ingestion FROM john;
namegrant_option