View
Configuration can be provided to Snowflake Object Lifecycle Engine for the following operation with View:
- Manage Grants of View
#
Supported ParametersThe engine supports the parameters listed below.
- MANAGE_MODE: Configures what properties to manage for the View.
- Configuration key:
manage_mode
- Data Type: String
- Possible Values:
none
grants
all
(Default)
- Configuration key:
- SHARES: List of SHARES to which privileges are granted.
- Configuration key:
shares
- Data Type: Map
- Configuration key:
- GRANTS: List of Privileges and Roles to which privileges are granted to on the current view.
- Configuration key:
grants
- Data Type: Map
- Configuration key:
#
Basic syntaxview: <view-name>: shares: <privilege>: - <share-name> - <share-name> grants: <privilege>: - <grant-name> - <grant-name>
#
Supported View Grants to RolesFollowing is the list of Privileges Grant to Roles that can be specified in the View definition
- ALL PRIVILEGES
- SELECT
- OWNERSHIP
#
Supported View Grants to SharesFollowing is the list of Privileges Grant to Shares that can be specified in the View definition
- SELECT
#
Examplesview: DEV_VIEW: grants: SELECT: - HR_ROLE - ACCOUNTADMIN shares: SELECT: - DEV_SHARE