- Categories:
System functions (System Information)
SYSTEM$SHOW_ OAUTH_ CLIENT_ SECRETS¶
以字符串形式返回客户端密钥。客户端 ID 和客户端密钥必须包含在 OAuth 令牌端点的授权标头中。
语法
实参
integration_name集成的名称。请注意,集成名称区分大小写,且必须为大写,并用单引号括起来。
输出
该函数在 JSON 对象中返回以下元素:
| Column Name | Data Type | Description |
|---|---|---|
| oauth_client_secret_2 | BASE64 | Secondary client secret for the specified integration. Snowflake supports two client secrets to allow for uninterrupted rotation. |
| oauth_client_secret | BASE64 | Client secret for the specified integration |
| oauth_client_id | STRING | Client ID in Snowflake |
示例
以下示例检索了指定集成的客户端密钥: