yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
9.06k stars 1.08k forks source link

[Azure] - Support for service principal information is displayed as JSON #5849

Open chirag-yb opened 4 years ago

chirag-yb commented 4 years ago

We should allow users to upload a provider config JSON file for their service principal instead of manually entering all the required fields - clientId/secret, tenantID, subscriptionId and such. This is similar to the GCP provider config JSON file

{ "clientId": "b52dd125-9272-4b21-9862-0be667bdf6dc", "clientSecret": "ebc6e170-72b2-4b6f-9de2-99410964d2d0", "subscriptionId": "ffa52f27-be12-4cad-b1ea-c2c241b6cceb", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "activeDirectoryEndpointUrl": "https://login.microsoftonline.com", "resourceManagerEndpointUrl": "https://management.azure.com/", "activeDirectoryGraphResourceId": "https://graph.windows.net/", "sqlManagementEndpointUrl": "https://management.core.windows.net:8443/", "galleryEndpointUrl": "https://gallery.azure.com/", "managementEndpointUrl": "https://management.core.windows.net/" }

5623

chirag-yb commented 4 years ago

Azure service principal doc - https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals