Is it possible to deploy without changing credentials? #391
Replies: 2 comments 3 replies
-
Sure, use Selective Deployment feature and exclude credential object-type from deployment. |
Beta Was this translation helpful? Give feedback.
-
Hello! I'm currently using the config-PRD.csv to change those credentials, but for some linked services this is not working. For SQL database: linkedService, my_db_ls_name, +typeProperties.password, "$($env:SQL_PASSWORD)" Where is the error? For all these linked services, I have a line before with -typeProperties.encryptedCredential. I checked the arguments in the adf_publish branch already. And in the pipeline log I have this: |
Beta Was this translation helpful? Give feedback.
-
Can credentials remain unchanged during deployment? I ask because currently, we manually configure credentials for each environment. Creating secrets and keys in Azure Key Vault is challenging, as only a few employees have the authority. Consequently, when deploying, I find myself having to revisit the environment to reconfigure all keys and secrets. This is necessary since the resources transition to the next environment, but the keys and secrets pertain to the previous one.
I accept other ideas also.
Obs.: Can I store account key, passwords and so on in variables inside Azure DevOps or even the new encrypted credential and pass through the csv config file?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions