Back to Questdb

REVOKE ASSUME SERVICE ACCOUNT reference

documentation/query/sql/acl/revoke-assume-service-account.md

latest1.1 KB
Original Source

import { EnterpriseNote } from "@site/src/components/EnterpriseNote"

<EnterpriseNote> RBAC provides fine-grained database permissions management. </EnterpriseNote>

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.


Syntax

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

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