- 类别:
系统函数 (系统信息)
SYSTEM$GET_CMK_CONFIG¶
返回与客户管理的密钥 (CMKs) 和 Tri-Secret Secure 一起使用的配置信息:
语法¶
Amazon Web Services 和 Google Cloud Platform:
Microsoft Azure:
实参¶
tenant_id在 Microsoft Azure 订阅中指定 Azure 密钥保管库 租户 (https://docs.microsoft.com/en-us/azure/key-vault/general/basic-concepts) 的唯一标识符。
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.
返回¶
输出取决于托管您的 Snowflake 账户的云平台:
对于 Amazon Web Services,CMK 策略的语句标识符 (
Sid) 的片段:对于 Microsoft Azure,同意书 URL 和 Snowflake 服务主体的名称:
对于 Google Cloud Platform,gcloud 命令:
Access control requirements¶
只有账户管理员(具有 ACCOUNTADMIN 角色的用户)或被授予 MONITOR SECURITY 权限的角色才能调用此函数。
示例¶
获取 Microsoft Azure 上您的 Snowflake 账户的 CMK 配置信息: