- Categories:
System functions (System Information)
SYSTEM$GET_ CMK_ INFO_ POSTGRES¶
Returns the status of your customer-managed key (CMK) for use with Snowflake Postgres Tri-Secret Secure. Information is returned only for currently registered and activated keys.
语法
返回
Returns a status message indicating the state of your CMK. The output includes the values that you specified when calling SYSTEM$REGISTER_CMK_INFO_POSTGRES.
The following messages are possible, using CMKs on Amazon Web Services as a representative example:
-
Your CMK is registered, but not yet enabled, to use Snowflake Postgres Tri-Secret Secure:
-
Your CMK is activated and in use with Snowflake Postgres Tri-Secret Secure:
-
您有一个活动 CMK,但您刚刚预注册了一个新密钥:
-
You have an active key, but have not registered any CMK to use Snowflake Postgres Tri-Secret Secure:
-
You have not registered any CMK to use Snowflake Postgres Tri-Secret Secure:
访问控制要求
只有账户管理员(具有 ACCOUNTADMIN 角色的用户)或被授予账户 MONITOR SECURITY 权限的角色才能调用此函数。
示例
获取 Snowflake 账户的状态 CMK: