SHOW ROLES IN SERVICE

statementsupportedContainer services & dev tooling

docs.snowflake.com ↗

Lists all the service roles associated with a service. These are the roles defined in the service specification. For more information, see Managing service-related privileges. Snowpark Container Services is available to accounts in AWS, Microsoft Azure, and Google Cloud Platform commercial regions, with some exceptions. For more information, see Available regions and considerations.

Syntax

SHOW ROLES IN SERVICE <name>

Parameters

NameRequiredDescription
nameName of the service.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes USAGE | Service | 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.

Output

The command output provides the following columns: Column | Description created_on | Date and time when the service role was created name | Service role name comment | Comment, if any, for the service role

See also

Referenced by