Ask Your Question
3

How can one deploy an ARM template for Cloud Service to a subscription separate from the keyVault?

asked 2023-05-14 16:06:34 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-05-14 16:31:02 +0000

devzero gravatar image

To deploy an ARM template for Cloud Service to a subscription separate from the keyVault, you can follow these steps:

  1. Create a new resource group in the separate subscription where you want to deploy the Cloud Service.
  2. Upload the ARM template to a storage account or a public repository like GitHub.
  3. Modify the ARM template to reference the keyVault in the original subscription using its fully qualified domain name (FQDN).
  4. Create a deployment in the new subscription using the modified ARM template and specify the storage account or GitHub repository where the ARM template is located.
  5. When prompted for the keyVault credentials during the deployment, provide the appropriate credentials for the keyVault in the original subscription.

This approach allows you to deploy the Cloud Service to a separate subscription without needing to move the keyVault or duplicate its contents.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-14 16:06:34 +0000

Seen: 9 times

Last updated: May 14 '23