Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. IDMC REST API
  3. REST API resource quick references
  4. Platform REST API version 2 resources
  5. Platform REST API version 3 resources
  6. Data Integration REST API
  7. Cloud Data Integration for PowerCenter (CDI-PC) REST API
  8. Data Ingestion and Replication REST API
  9. Customer Managed REST API
  10. RunAJob utility
  11. ParamSetCli utility
  12. REST API codes

REST API Reference

REST API Reference

Connection details

Connection details

Create or update a Snowflake Data Cloud connection with client credentials authentication using the connection resource.
The following table describes the connection properties for client credentials authentication:
Property
Description
id
Connection ID.
This property is required only when you update the connection.
To get the connection ID, send the following GET request:
GET <serverURL>/api/v2/connection/name/<connection name>
orgId
Organization ID.
name
Name of the connection.
description
Description of the connection.
type
Type of connection. Set to
TOOLKIT_CCI
.
agentId
ID of the Secure Agent used to access the Snowflake account.
agentGroupId
ID of the Secure Agent group.
authentication
Authentication type. Set to
ClientCredentials
.
account
Snowflake account name.
warehouse
Snowflake warehouse name.
accessTokenURL
URL of the OAuth authorization server endpoint that provides the access token.
clientID
Client ID from the OAuth provider application.
clientSecret
Client secret from the OAuth provider application.
clientAuthentication
Method used to authenticate the client.
scope
Scope that defines the access privileges. To specify multiple scopes, separate them with a space.
accessToken
OAuth access token used to authenticate with Snowflake.
tokenType
Type of token.
accessTokenExpireIn
Duration in seconds after which the access token expires.
accessTokenUpdatedTime
Timestamp in milliseconds when the access token was last updated.
oAuthRefreshUrl
URL used to refresh the OAuth access token.
oAuthRefreshKey
Refresh key used to get a new access token.
oAuthRefreshText
Refresh token text used to get a new access token.

0 COMMENTS

We’d like to hear from you!