We can define variables on a pipeline, we can pass to templates, we can create “global” variables and such … but sometimes, you need to be able to share a (secret) value, like license-key, over about all your projects. Thing is – out-of-the-box variable-definition in DevOps – as far as I know – is “just” on project-level. To share variables over multiple repos, you can create a variable group, and use that variable group in multiple pipelines. In a way, it’s simple: you can create variables, and store the value of the variable as a secret or not, simply by tapping the “lock” when creating a variable. You are probably aware on how “secrets” work in AzureDevops.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |