DESCRIBE RESTRICTED SESSION SCOPE

statementsupportedAccess control (grants, roles)

docs.snowflake.com ↗

Object: RESTRICTED SESSION SCOPE

Describes the properties of a restricted session scope, including the YAML definition body. DESCRIBE can be abbreviated to DESC. RSS is a shorthand alias for RESTRICTED SESSION SCOPE. You can use either form in this statement.

Syntax

{ DESCRIBE | DESC } { RESTRICTED SESSION SCOPE | RSS } <name>

Parameters

NameRequiredDescription
nameIdentifier for the restricted session scope to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. For more details, see Identifier requirements.

Usage notes

Access control requirements

A role used to execute this SQL command must have at least one of the following privileges at a minimum: Privilege | Object USAGE, MODIFY, or OWNERSHIP | Restricted session scope Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema. 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 output of the command includes the following columns, which describe the properties and metadata of the object: Column | Description created_on | Date and time when the restricted session scope was created. name | Name of the restricted session scope. comment | Comment for the restricted session scope, if any. definition | YAML document that defines the privilege ceiling.

See also

Referenced by