Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Script designed to simplify the management of permissions in your Snowflake databases.

Notifications You must be signed in to change notification settings

bastgau/snow-revoke-privileges

Repository files navigation

maintainer twitter made-for-vscode made-with-python made-with-docker

quality-code

snow-revoke-privileges

snowflake

Script designed to simplify the management of permissions in your Snowflake databases.

With this tool, you can effortlessly revoke all permissions granted to existing objects, as well as future objects. Additionally, it modify object ownership by assigning them to another role (by default SYSADMIN).

Usage

Please, check the instructions before executing the command line :

python -m snow_revoke_privileges

Requirements

The project uses pip as package installer.

A configuration file named config.yaml must be created using the same format as config-example.yaml.

You have to use an account with the permissions to REVOKE PRIVILEGE and GRANT OWNERSHIP.

VSCode extensions

The following extensions are recommanded:

The file .vcode/settings.json was updated with my own configuration.

Enjoy!