This Account Usage view includes a row for each credential used as a first or
second factor for authentication. This view includes rows for the following types
of credentials:
AWS: AWS Identity and Access Management (AWS IAM) is the identity provider, which indicates the workload is running on AWS. See
Workload identity federation.
AZURE: Microsoft Entra ID is the identity provider, which indicates the workload is running on Microsoft Azure. See
Workload identity federation.
GCP: Google Accounts is the identity provider, which indicates the workload is running on Google Cloud. See
Workload identity federation.
ACTIVE: The programmatic access token can be used to authenticate and has not expired yet.
EXPIRED: The programmatic access token cannot be used to authenticate because the expiration date has passed.
DISABLED: The programmatic access token is disabled because user login access is disabled or
the user is locked out of logging in.
For other types of credentials, the status can be one of the following:
PENDING: The user started the enrollment process for an MFA method but has not completed the process. For example,
the user started registering an authenticator but never finished the setup process for the authenticator. As a result,
the MFA method is not considered to be valid yet.
ENROLLED: The user has completed the enrollment process for the MFA method, and the MFA method can be used for
second-factor authentication.
ADDITIONAL_DETAILS
OBJECT
Additional details about the credential. The additional details depend on the type of the credential (the value in the
TYPE column):
For the MINS_TO_BYPASS_NETWORK_POLICY_REQUIREMENT key, the value is an integer representing the number of minutes
during which the requirement of having a network policy is bypassed. You can
specify this value when generating the token.
For the ROLE_RESTRICTION key, the value is an array of the roles that are used for privilege evaluation and
object creation during the session authenticated with this token. You can specify these roles when
generating the token.
For the ROTATED_TO key, the value is the name of the newer token that this token was replaced by during
rotation.
These key-value pairs are present only if the corresponding properties are set in the token. For example:
For the issuer key, the value is the issuer URL of the OpenID Connect (OIDC) provider.
For the subject key, the value is the identifier of the federated workload.
For the audience_list key, the value is the custom audiences that are allowed in an OIDC ID token. An empty value means
the default audience snowflakecomputing.com is required.
CREATED_BY
VARCHAR
Name of the user who created the credential.
LAST_ALTERED_BY
VARCHAR
Name of the user who last modified the credential.
CREATED_ON
TIMESTAMP_LTZ
Date and time when the credential was created.
LAST_USED_ON
TIMESTAMP_LTZ
Date and time when the credential was last used for authentication.
LAST_ALTERED
TIMESTAMP_LTZ
Date and time when the credential was last modified.
If a programmatic access token is generated soon after a user is created, the information about that user in this view might
be incomplete. It might take some time for the user information to be included in the view.