Automatic Sign-in to execute ProvisionComposer.js /Deploy Resources #5312
-
Hi, I am using provisioncomposer.js to deploy the resources, but with that we will have to manually sign-in by pasting the url and code. Is there an option to use service principal / managed identity /connect command to automatically login from some configuration. I have configured provisioncomposer.js in Jenkins. I want to make it automated for creating the resources and update the appsettings.json with the generated keys. If i get some support, it will be great.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
@benbrown can you please comment on this? |
Beta Was this translation helpful? Give feedback.
-
This provision script using ARM templates and the az cli to achieve the outcome. It is possible to use your own mechanism and auth to execute the ARM templates, but we do not plan to add this functionality natively to the provision script. |
Beta Was this translation helpful? Give feedback.
-
Hi Ben, I noticed the below thread where it is mentioned that composer team will provide some support for CI/CD related documentation. |
Beta Was this translation helpful? Give feedback.
-
@UmaPrelude in the ci/cd environment, credentials are provided via different mechanisms other than interactive login. Future integrations in that area will take advantage of the available auth mechanisms - keyvault, service principals, etc. |
Beta Was this translation helpful? Give feedback.
This provision script using ARM templates and the az cli to achieve the outcome. It is possible to use your own mechanism and auth to execute the ARM templates, but we do not plan to add this functionality natively to the provision script.