Files
fabric-rest-api-specs/platform/examples/connections/CreateCloudConnectionWithKeyPair.json
T

56 lines
2.0 KiB
JSON

{
"parameters": {
"createConnectionRequest": {
"connectivityType": "ShareableCloud",
"displayName": "SnowflakeCloudConnection",
"connectionDetails": {
"type": "SQL",
"creationMethod": "SQL",
"parameters": [
{
"dataType": "Text",
"name": "server",
"value": "contoso.database.windows.net"
},
{
"dataType": "Text",
"name": "warehouse",
"value": "snowflake-warehouse"
}
]
},
"privacyLevel": "Organizational",
"credentialDetails": {
"singleSignOnType": "None",
"connectionEncryption": "NotEncrypted",
"skipTestConnection": false,
"credentials": {
"credentialType": "KeyPair",
"identifier": "admin",
"privateKey": "-----BEGIN ENCRYPTED PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ...\\n-----END ENCRYPTED PRIVATE KEY-----",
"passphrase": "********"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "eeec9a3a-6ef5-4e2b-bb6a-0060bd2f0172",
"displayName": "ContosoCloudConnection",
"connectivityType": "ShareableCloud",
"connectionDetails":{
"type": "SQL",
"path": "contoso.database.windows.net;snowflake-warehouse"
},
"privacyLevel": "Organizational",
"credentialDetails": {
"credentialType": "KeyPair",
"singleSignOnType": "None",
"connectionEncryption": "NotEncrypted",
"skipTestConnection": false
}
}
}
}
}