DESCRIBE INTEGRATION
statementsupportedIntegrations, network & secretsDescribes the properties of an integration. DESCRIBE can be abbreviated to DESC. API integrations: ALTER API INTEGRATION, CREATE API INTEGRATION Catalog integrations: ALTER CATALOG INTEGRATION, CREATE CATALOG INTEGRATION External access integrations: ALTER EXTERNAL ACCESS INTEGRATION, CREATE EXTERNAL ACCESS INTEGRATION Notification integrations: ALTER NOTIFICATION INTEGRATION, CREATE NOTIFICATION INTEGRATION Security integrations: ALTER SECURITY INTEGRATION, CREATE SECURITY INTEGRATION Storage integrations: ALTER STORAGE INTEGRATION, CREATE STORAGE INTEGRATION
Syntax
supportedpartialnot supportednot scored
{ DESC | DESCRIBE } [ { API | CATALOG | EXTERNAL ACCESS | NOTIFICATION | SECURITY | STORAGE } ] INTEGRATION <name>
Parameters
| Name | Required | Description |
|---|---|---|
{ API | CATALOG | EXTERNAL ACCESS | NOTIFICATION | SECURITY | STORAGE } | Describes an integration of the specified type. For more information about some of these types, see the following topics: DESCRIBE CATALOG INTEGRATION DESCRIBE NOTIFICATION INTEGRATION | |
name | Specifies the identifier for the integration 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 information, see Identifier requirements. |
Usage notes
- To post-process the output of this command, you can use the pipe operator (->>) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query. For example, you can use the pipe operator or RESULT_SCAN function to select specific columns from the SHOW command output or filter the rows. When you refer to the output columns, use double-quoted identifiers for the column names. For example, to select the output column type, specify SELECT "type". You must use double-quoted identifiers because the output column names for SHOW commands are in lowercase. The double quotes ensure that the column names in the SELECT list or WHERE clause match the column names in the SHOW command output that was scanned.
- If the integration is an API integration, then the output includes the API_KEY column. The API_KEY displays a masked value if an API key was entered. (This does not display either the original unencrypted key or the encrypted version of the key.)
- If the security integration has the TYPE property set to OAUTH (that is, Snowflake OAuth), Snowflake returns two additional security integration properties in the query result that cannot be set with either a CREATE SECURITY INTEGRATION or an ALTER SECURITY INTEGRATION command:
- OAUTH_ALLOWED_AUTHORIZATION_ENDPOINTS: A list of all supported endpoints for a client application to receive an authorization code from Snowflake.
- OAUTH_ALLOWED_TOKEN_ENDPOINTS: A list of all supported endpoints for a client application to exchange an authorization code for an access token or to obtain a refresh token.
- If the security integration has the TYPE property set to OIDC, Snowflake returns OIDC-specific properties in the query result with the columns property, property_type, property_value, and property_default. OIDC_CLIENT_SECRET is never returned. OIDC_REDIRECT_URIS is returned but can’t be set with CREATE or ALTER. For sample output and property behavior, see CREATE SECURITY INTEGRATION (OIDC).
Access control requirements
A role used to execute this operation must have the following privilege on the integration at a minimum: Integration | Minimum privilege API integration | USAGE Catalog integration | USAGE External access integration | USAGE Notification integration (QUEUE or WEBHOOK) | USAGE Notification integration (EMAIL) | Any privilege on the integration. USAGE is sufficient. Security integration with TYPE = API_AUTHENTICATION | USAGE Other security integrations, including Snowflake OAuth, External OAuth, SAML2, SCIM, and OIDC | OWNERSHIP Storage integration | USAGE OWNERSHIP also allows DESCRIBE for every integration type. For a security integration that isn’t API_AUTHENTICATION, USAGE isn’t enough. 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.