I would like to pull my Azure access params like a...
# typescript
o
I would like to pull my Azure access params like azure-native:tenantId from the Environment. To be more explicit, I want to pass them in from my Github Action. Currently these params are in Pulumi Config and the azure-native library implicitly loads them:
Copy code
const az_config = new pulumi.Config('azure-native')
What do I need to add to pull the Azure credentials from the Environment?
q
You can manually create a Provider and use
process.env
to pass in the required credentials https://www.pulumi.com/registry/packages/azure-native/api-docs/provider/
I believe you can also use
az
command to login before running Pulumi commands
o
Thanks guys. The Provider docs is what I needed. Yes, I could use az login but that's just an example of the things I need from github.