10/24/2018, 3:58 PM
are there any examples for scripting retrieval of PULUMI_ACCESS_TOKEN? working on automating our deploy pipeline:
You can script by using PULUMI_ACCESS_TOKEN environment variable.
i have a docker image with az, aws, terraform, packer, ansible etc.. these all work with AZ or AWS env vars, but it's unclear how to get pulumi in on the fun


10/24/2018, 4:04 PM
most CI/CD solutions should have secret storage that expose them as ENV vars
which CI system are you using?


10/25/2018, 4:30 PM
sorry for late reply, i'm using a self built docker image and some python logic to control deploys.. the question is not where to store the secret, but how to get the pulumi auth credential that I can inject into a CI system which will authorize pulumi. If we were using, say AWS Codebuild, the AZ service principal vars would get injected allowing access to the AZ resources, but I'd need that PULUMI_ACCESS_TOKEN to authorize pulumi as well.. just not sure how/where to get it
ah, well.. that was easy.. the docs say "script to get it".. but it's available in the console: