SHOW USER PROGRAMMATIC ACCESS TOKENS FOR EXTERNAL CONSUMER

statementsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

Lists the Programmatic Access Tokens (PATs) associated with an external consumer.

Syntax

SHOW USER PROGRAMMATIC ACCESS TOKENS FOR EXTERNAL CONSUMER <name>

Alias

SHOW USER PATS FOR EXTERNAL CONSUMER <name>

Parameters

NameRequiredDescription
nameSpecifies the identifier for the external consumer whose tokens you want to list.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes OWNERSHIP or USAGE | External Consumer | Required to list the PATs for the external consumer. 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.

See also