pulumi env provider login commands can export SDK environment variables
Introduced 2026-08-04 · score 0.93
HOW TO USE IT
When logging in to an AWS, Azure, or GCP provider, add `--export-env-vars` to set standard SDK environment variables from the login outputs.
WHY THIS HELPS
Log in to an AWS, Azure, or GCP provider and make the login outputs available through standard SDK environment variables.
REQUIREMENTS AND LIMITATIONS
- Version: 3.256.0
- --export-env-vars: Also set standard SDK environment variables referencing the login outputs.
- Prerequisite: Pulumi CLI; these provider commands are marked experimental.
- The `--export-env-vars` flag is optional.
- Docs conflict: The available CLI reference is generated for v3.270.0 and does not document `--export-env-vars`; the v3.256.0 release note states the flag was added in that version.
FIRST-PARTY EVIDENCE
- https://github.com/pulumi/pulumi/releases/tag/v3.256.0
- https://www.pulumi.com/docs/iac/cli/commands/pulumi_env_provider_azure-login/
Check the installed version and the source before using it. Entry JSON