- Categories:
System functions (System Information)
SYSTEM$GET_CMK_CONFIG¶
Returns configuration information for use with customer-managed keys (CMKs) and Tri-Secret Secure.
Syntax¶
Amazon Web Services and Google Cloud Platform:
Microsoft Azure:
Arguments¶
tenant_idSpecifies the unique identifier for the Azure Key Vault tenant in your Microsoft Azure subscription.
This value is in the GUID format, such as
b3ddabe4-e5ed-4e71-8827-0cefb99af240. You can find this value by logging into the Portal and navigating to Key Vault » Overview. Select the Directory ID value.
Returns¶
The output depends on the cloud platform that hosts your Snowflake account:
For Amazon Web Services, a snippet of the statement identifier (
Sid) for the CMK policy:For Microsoft Azure, a consent URL and the name of the Snowflake service principal:
For Google Cloud Platform, a gcloud command:
Access control requirements¶
Only account administrators (users with the ACCOUNTADMIN role) or a role that is granted the MONITOR SECURITY privilege can call this function.
Examples¶
Obtain the configuration information for the CMK for your Snowflake account on Microsoft Azure: