SHOW USER WORKLOAD IDENTITY AUTHENTICATION METHODS¶
Lists the workload identity federation settings for a service user.
语法
参数
FOR USER username列出指定用户的工作负载身份联合设置。
如果未指定用户,则该命令将列出当前用户的设置。
输出
| Column | Description |
|---|---|
name | Name of the service user. |
type | 为服务用户颁发认证的身份提供商。可能的值:
|
comment | Reserved for future use. |
last_used | Date and time that the service user last used workload identity federation to authenticate to Snowflake. |
created_on | Date and time that someone ran a CREATE USER or ALTER USER command to set the WORKLOAD_IDENTITY parameter. |
additional_info | Additional details about how the service user is configured to use workload identity federation. The details depend on the value in the
|
访问控制要求
A role used to execute this operation must have the following privileges at a minimum:
| 权限 | 对象 | 备注 |
|---|---|---|
| MONITOR | 用户 | 仅在需要显示其他服务用户的工作负载身份联合设置时必需提供。 |
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
示例
Show workload identity authentication settings for the user example_service_user: