Grant
Represents a grant of privileges on a resource to a role in Snowflake.
Examples
Python
YAML
Fields
priv
(string, required) - The privilege to grant. Examples include 'SELECT', 'INSERT', 'CREATE TABLE'.on
(string or Resource, required) - The resource on which the privilege is granted. Can be a string like 'ACCOUNT' or a specific resource object.to
(string or Role, required) - The role to which the privileges are granted.grant_option
(bool) - Specifies whether the grantee can grant the privileges to other roles. Defaults to False.owner
(string or Role) - The owner role of the grant. Defaults to 'SYSADMIN'.
Last updated