Role

Snowflake Documentation

A role in Snowflake defines a set of access controls and permissions.

Examples

Python

role = Role(
    name="some_role",
    owner="USERADMIN",
    comment="This is a sample role.",
)

YAML

roles:
  - name: some_role
    owner: USERADMIN
    comment: This is a sample role.

Fields

  • name (string, required) - The name of the role.

  • owner (string) - The owner of the role. Defaults to "USERADMIN".

  • tags (dict) - Tags associated with the role.

  • comment (string) - A comment for the role.

Last updated