Skip to content

Instantly share code, notes, and snippets.

@jankuc
Created February 11, 2020 15:30
Show Gist options
  • Save jankuc/6b96c9c97828edd807d4d8fd67a97673 to your computer and use it in GitHub Desktop.
Save jankuc/6b96c9c97828edd807d4d8fd67a97673 to your computer and use it in GitHub Desktop.
keyVault_connection_API.json
{
"properties": {
"name": "keyvault",
"connectionParameters": {
"vaultName": {
"type": "string",
"uiDefinition": {
"displayName": "Vault name",
"description": "Name of the vault",
"tooltip": "Provide name of the vault",
"constraints": {
"required": "true"
}
}
},
"token": {
"type": "oauthSetting",
"oAuthSettings": {
"identityProvider": "aadcertificate",
"clientId": "7ab7862c-4c57-491e-8a45-d52a7e023983",
"scopes": [],
"redirectMode": "Direct",
"redirectUrl": "https://logic-apis-westeurope.consent.azure-apim.net/redirect",
"properties": {
"IsFirstParty": "True"
},
"customParameters": {
"tenantId": {},
"resourceUri": {
"value": "https://vault.azure.net"
},
"loginUriAAD": {
"value": "https://login.windows.net"
}
}
}
},
"token:clientId": {
"type": "string",
"uiDefinition": {
"displayName": "Client ID",
"description": "Client (or Application) ID of the Azure Active Directory application.",
"constraints": {
"required": "false",
"hidden": "true"
}
}
},
"token:clientSecret": {
"type": "securestring",
"uiDefinition": {
"displayName": "Client Secret",
"description": "Client secret of the Azure Active Directory application.",
"constraints": {
"required": "false",
"hidden": "true"
}
}
},
"token:TenantId": {
"type": "string",
"uiDefinition": {
"displayName": "Tenant",
"description": "The tenant ID for the Azure Active Directory application.",
"constraints": {
"required": "false",
"hidden": "true"
}
}
},
"token:resourceUri": {
"type": "string",
"uiDefinition": {
"displayName": "ResourceUri",
"description": "The resource you are requesting authorization to use, for instance https://vault.azure.net",
"constraints": {
"required": "false",
"hidden": "true"
}
}
},
"token:grantType": {
"type": "string",
"allowedValues": [
{
"value": "code"
},
{
"value": "client_credentials"
}
],
"uiDefinition": {
"displayName": "Grant Type",
"description": "Grant type",
"constraints": {
"required": "false",
"hidden": "true",
"allowedValues": [
{
"text": "Code",
"value": "code"
},
{
"text": "Client Credentials",
"value": "client_credentials"
}
]
}
}
}
},
"metadata": {
"source": "marketplace",
"brandColor": "#0079d6"
},
"runtimeUrls": [
"https://logic-apis-westeurope.azure-apim.net/apim/keyvault"
],
"generalInformation": {
"iconUrl": "https://connectoricons-prod.azureedge.net/keyvault/icon_1.0.1247.1679.png",
"displayName": "Azure Key Vault",
"description": "Azure Key Vault is a service to securely store and access secrets.",
"releaseTag": "Production",
"tier": "Premium"
},
"capabilities": [
"actions"
]
},
"id": "/subscriptions/467d0b3b-6a6a-4c6f-b4ed-03dda940cff0/providers/Microsoft.Web/locations/westeurope/managedApis/keyvault",
"name": "keyvault",
"type": "Microsoft.Web/locations/managedApis",
"location": "westeurope"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment