-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[DataFactory]Add sensitive fields extracted from connection string in swagger for AKV reference #4375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataFactory]Add sensitive fields extracted from connection string in swagger for AKV reference #4375
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,9 +109,17 @@ | |
| "description": "The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "accountKey": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of accountKey in connection string." | ||
| }, | ||
| "sasUri": { | ||
| "description": "SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property.", | ||
| "$ref": "../datafactory.json#/definitions/SecretBase" | ||
| "description": "SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "sasToken": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of sasToken in sas uri." | ||
| }, | ||
| "encryptedCredential": { | ||
| "type": "string", | ||
|
|
@@ -126,9 +134,17 @@ | |
| "type": "object", | ||
| "description": "The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference." | ||
| }, | ||
| "accountKey": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of accountKey in connection string." | ||
| }, | ||
| "sasUri": { | ||
| "description": "SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property.", | ||
| "$ref": "../datafactory.json#/definitions/SecretBase" | ||
| "description": "SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "sasToken": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of sasToken in sas uri." | ||
| }, | ||
| "serviceEndpoint": { | ||
| "type": "string", | ||
|
|
@@ -179,6 +195,10 @@ | |
| "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "password": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "servicePrincipalId": { | ||
| "type": "object", | ||
| "description": "The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string)." | ||
|
|
@@ -271,6 +291,10 @@ | |
| "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "password": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "servicePrincipalId": { | ||
| "type": "object", | ||
| "description": "The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string)." | ||
|
|
@@ -406,6 +430,10 @@ | |
| "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "accountKey": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of accountKey in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "type": "object", | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." | ||
|
|
@@ -620,6 +648,10 @@ | |
| "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "password": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "type": "object", | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." | ||
|
|
@@ -656,6 +688,10 @@ | |
| "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "password": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "type": "object", | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." | ||
|
|
@@ -692,6 +728,10 @@ | |
| "description": "The connection string.", | ||
| "$ref": "../datafactory.json#/definitions/SecretBase" | ||
| }, | ||
| "password": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "type": "object", | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." | ||
|
|
@@ -728,6 +768,10 @@ | |
| "description": "The connection string.", | ||
| "$ref": "../datafactory.json#/definitions/SecretBase" | ||
| }, | ||
| "password": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "type": "object", | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." | ||
|
|
@@ -2132,6 +2176,10 @@ | |
| "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "password": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", | ||
| "type": "object" | ||
|
|
@@ -2222,6 +2270,10 @@ | |
| "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "credString": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of credString in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", | ||
| "type": "object" | ||
|
|
@@ -2255,6 +2307,10 @@ | |
| "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "pwd": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", | ||
| "type": "object" | ||
|
|
@@ -2430,6 +2486,10 @@ | |
| "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "pwd": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", | ||
| "type": "object" | ||
|
|
@@ -2924,6 +2984,10 @@ | |
| "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "pwd": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", | ||
| "type": "object" | ||
|
|
@@ -3730,6 +3794,10 @@ | |
| "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "pwd": { | ||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", | ||
| "type": "object" | ||
|
|
@@ -3763,6 +3831,10 @@ | |
| "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", | ||
| "type": "object" | ||
| }, | ||
| "pwd": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this one named pwd while others password?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The property name needs to be same with the name in connection string. In this Netezza linked service case, a typical connection string is |
||
| "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", | ||
| "description": "The Azure key vault secret reference of password in connection string." | ||
| }, | ||
| "encryptedCredential": { | ||
| "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).", | ||
| "type": "object" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too, please use full words in names
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. This field will be back-filled into connection string, so the name should be the same.