Describes the properties of a secret.
DESCRIBE can be abbreviated to DESC.
- See also:
DESC[RIBE] SECRET <name>
Specifies the identifier for the secret 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.
Access Control Requirements¶
A role used to execute this SQL command must have the following privileges at a minimum:
Note that operating on any object in a schema also requires the USAGE privilege on the parent database and 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.
Currently, the secret object can only be used in the context of the ServiceNow connector. For details, refer to the Snowflake Connector for ServiceNow.
Snowflake returns the following secret property values as columns in the query result:
Snowflake never returns the
To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.
Describe the secret:
DESC SECRET service_now_creds_pw;