Describes the properties of a secret.
DESCRIBE can be abbreviated to DESC.
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¶
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.
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;