Skip to main content

Access Management Policy

Access Management policies control privileges for data objects in Snowflake, allowing you to manage access without relying on data engineers or submitting tickets. With these policies, non-technical users can define which Snowflake roles have access to specific data objects.

Privileges

Specific privileges are included depending on the schema object and level of access you are granting. Refer to the following table for details:

Object Type

Grant Level

Privileges Included

Database

Read

  • USAGEUSAGE ON ALL SCHEMAS

  • SELECT ON ALL TABLES

  • SELECT ON ALL VIEWS

  • USAGE ON FUTURE SCHEMAS

  • SELECT ON FUTURE TABLES

  • SELECT ON FUTURE VIEWS

Database

Write

  • USAGEUSAGE ON ALL SCHEMAS

  • INSERT ON ALL TABLES

  • TRUNCATE ON ALL TABLES

  • UPDATE ON ALL TABLES

  • INSERT ON ALL VIEWS

  • TRUNCATE ON ALL VIEWS

  • UPDATE ON ALL VIEWS

  • FUTURE ON ALL SCHEMAS

  • FUTURE ON ALL TABLES

  • FUTURE ON ALL VIEWS

Database

Read/Write

All privileges in Read and Write

Schema

Read

  • USAGE

  • SELECT ON ALL TABLES

  • SELECT ON ALL VIEWS

  • FUTURE ON ALL TABLES

  • FUTURE ON ALL VIEWS

  • USAGE on parent database

Schema

Write

  • USAGE

  • INSERT ON ALL TABLES

  • TRUNCATE ON ALL TABLES

  • UPDATE ON ALL TABLES

  • INSERT ON ALL VIEWS

  • TRUNCATE ON ALL VIEWS

  • UPDATE ON ALL VIEWS

  • FUTURE ON ALL TABLES

  • FUTURE ON ALL VIEWS

  • USAGE on parent database

Schema

Read/Write

All privileges in Read and Write

Table

Read

  • SELECT

  • USAGE on parent schema

  • USAGE on parent database

Table

Write

INSERTTRUNCATEUPDATEUSAGE on parent schemaUSAGE on parent database

Table

Read/Write

All privileges in read and write

View

Read

  • SELECT

  • USAGE on parent schema

  • USAGE on parent databaseUSAGE on parent database

View

Write

  • INSERT

  • TRUNCATE

  • UPDATE

  • USAGE on parent schema

  • USAGE on parent database

View

Read/Write

All privileges in read and write

To create an access management policy:

  1. Ensure the Snowflake account that contains the schema objects to which you are applying policy has been connected in ALTR. Learn more.

  2. Select Policy in the Navigation menu.

  3. Click Create Policy.

  4. Locate the Access Management Policy card and click Create Policy.

  5. Locate the Snowflake card and click Create Policy.

    Note

    Access management policy is currently only supported for Snowflake data sources.

  6. Enter a user-friendly Policy Name to identify the policy.

  7. Select a Data Source that the policy affects.

  8. Only data sources connected in ALTR display in the dropdown. If your data source does not display in the dropdown, ensure it has been connected to ALTR. Learn more.

  9. Click Next.

  10. Click + Rule Statement to add a rule statement that defines access to data objects either by object name or by tag.

  11. Select either object name or tag to determine how access is controlled by database objects.

    1. object name—controls access by the object name and location

    2. tag—controls access by the tag assigned to the object

  12. Create the policy rule statement by selecting the following options:

    1. Role that the policy affects, which is an ALTR user group. Learn more.User Group Management

    2. Read, write or read/write to determine the level of access of the schema object that the users with the selected role can access. Specific privileges are included depending on the schema object and level of access you are granting. Learn more.

    3. object type: database, schema, table or view to determine what kind of object the roles have access to.

  13. Define the object or the tag, depending on the type of rule statement.

  14. Click Next.

  15. Set a schedule in your local time to automatically check for new data objects that match the rules and update the policy to include them. If you do not want to automatically check for new objects, select none. You can also manually refresh the policy at any time. Learn more.

  16. Click Save.

Note

Depending on the number of objects in the database or the size of the Snowflake warehouse, it make take some time for ALTR to create your policy.