Tutorial: Create and manage an organizational listing¶
Organizational listings in Snowflake allow you to share data products securely within your organization, making it easier for internal teams to discover and use trusted resources. As a provider, you can create listings that centralize access to datasets, Native Apps, and other resources, simplifying data sharing and collaboration across your teams. This guide will help you understand the steps and requirements to create and manage organizational listings effectively, ensuring that your data products are accessible while maintaining control over who can see and use them.
Before you begin, make sure you have the necessary privileges to create and manage organizational listings.
In this tutorial, we create a custom role (ORG_LISTING_PROVIDER) to manage listings on behalf of the organization.
Create a role to manage organizational listings¶
Switch to the ORGADMIN role (or ACCOUNTADMIN) to create a new role and add one or more users. These users will be the administrators for organizational listings. Then GRANT the new role the required privileges to create and share organizational listings.
Create an organizational listing¶
Create an organizational listings from the share with the required attributes included in YAML (entered in $$ delimiters).
This example shares the listing with all accounts in the organization:
For a complete list of all fields and values for an Organization listing see Organization listing manifest reference.
Alter an organizational listing¶
Alter the organizational listings by including any changes or additional attributes in the YAML.
Caution
When altering an organizational listing you must include all the attributes from the original listing manifest. Failure to include all attributes can cause errors or the unexpected removal of existing attributes from the listing manifest. Snowflake recommends capturing the existing listing manifest with the DESCRIBE LISTING command and then using the results as the input in the ALTER LISTING command.
This example shares the listing with a single account and adds a description to the listing:
View a list of organizational listings¶
To view organizational listings, run the following command:
(Optional) Add auto-fulfillment for organizational listings¶
To enable auto-fulfillment for your organizational listings, run the following commands:
Important
Before you run the command to enable auto-fulfillment, check to see if it’s already enabled and note the current settings. If it’s already turned on, you don’t need to run the command.
Clean up after the tutorial¶
To drop any unwanted objects you created during this tutorial, run one or more of the following commands as needed:
Important
If auto-fulfillment was enabled when you ran the last step, DO NOT disable it when you clean up after the query. Doing so will stop all auto-fulfillment on your account!