SHOW USER WORKLOAD IDENTITY AUTHENTICATION METHODS¶
Lists the workload identity federation settings for a service user.
Syntax¶
SHOW USER WORKLOAD IDENTITY AUTHENTICATION METHODS [ FOR USER <username> ]
Parameters¶
FOR USER username
Lists the workload identity federation settings for the specified user.
If no user is specified, the command lists the settings for the current user.
Output¶
Column |
Description |
---|---|
|
Name of the service user. |
|
The identity provider that is issuing attestations for the service user. Possible values are:
|
|
Reserved for future use. |
|
Date and time that the service user last used workload identity federation to authenticate to Snowflake. |
|
Date and time that someone ran a CREATE USER or ALTER USER command to set the |
|
Additional details about how the service user is configured to use workload identity federation. The details depend on the value in the
|
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
Privilege |
Object |
Notes |
---|---|---|
MONITOR |
User |
Required only when displaying workload identity federation settings for a different service user. |
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.
Examples¶
Show workload identity authentication settings for the user example_service_user
:
SHOW USER WORKLOAD IDENTITY AUTHENTICATION METHODS FOR USER example_service_user;