RBAC Configuration Management v1 1723989259
RBAC Configuration Management v1 1723989259
Management
Overview
One of the most important thing that comes up during the RBAC management is
about how do we VIEW GRANTED PRIVILEGES in SNOWFLAKE. This short
document would give us insights around the same.
This is usually applicable for Snowflake objects. Those objects can be of account
level objects OR the general Snowflake objects
Key Information Applicable to:
Standard Objects:
SHOW GRANTS ON <objects>; (Objects can be schema, table, views, etc..)
Explanation : This command gives us the view of the privileges that were
granted to the object. See below image where the privilege is
of type “USAGE”
GRANTED_BY ⟶ This gives the information about which role has given the grants .
Example: “SECURITYADMIN” role is responsible for managing
Column reading grants hence this can come as an output of the column.
GRANTED_ON ⟶ This refers which all are the objects on which the grants have
been given. Like schema, table, views, warehouse, etc.
PRIVILEGE ⟶ This refers to what kind of privileges are associated with those
objects. Like USAGE, SELECT, INSERT. The “privilege” &
“granted on” can always be read together to know the grant
levels associated with an object.
Relevant Resources
https://docs.snowflake.com/en/user-guide/security-access-control-configure#label-
security-role-hierarchy
https://docs.snowflake.com/en/user-guide/security-access-control-considerations