Skip to content

Commit

Permalink
Remove references to ARM_REQUEST_TOKEN and ARM_REQUEST_URL (#1550)
Browse files Browse the repository at this point in the history
* Update __main__.py

Removes references to AZURE_REQUEST_TOKEN and AZURE_REQUEST_URL

* Update README.md

Removes references to AZURE_REQUEST_TOKEN and AZURE_REQUEST_URL
  • Loading branch information
toriancrane authored Jan 11, 2024
1 parent f8a04f9 commit 48f965d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions azure-py-oidc-provider-pulumi-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ $ pulumi env open myOrg/myEnvironment
}
```

If your identity provider does not offer an ID token directly but it does offer a way to exchange a local bearer token for an ID token, you will need to replace the `ARM_OIDC_TOKEN` environment variable with both of the following:

- `ARM_OIDC_REQUEST_TOKEN`
- `ARM_OIDC_REQUEST_URL`

## Clean-Up Resources

Once you are done, you can destroy all of the resources as well as the stack:
Expand Down
9 changes: 0 additions & 9 deletions azure-py-oidc-provider-pulumi-cloud/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,6 @@ def create_yaml_structure(args):
'ARM_USE_OIDC': 'true',
'ARM_CLIENT_ID': '${azure.login.clientId}',
'ARM_TENANT_ID': '${azure.login.tenantId}',
# 'ARM_OIDC_REQUEST_TOKEN': '${azure.login.oidc.token}',
# 'ARM_OIDC_REQUEST_URL': 'https://api.pulumi.com/oidc',
######
# You must set either the ARM_OIDC_REQUEST_TOKEN and ARM_OIDC_REQUEST_URL
# variables OR the ARM_OIDC_TOKEN variable. Use the former pair of variables
# if your identity provider does not offer an ID token directly
# but it does offer a way to exchange a local bearer token for an
# ID token.
######
'ARM_OIDC_TOKEN': '${azure.login.oidc.token}',
'ARM_SUBSCRIPTION_ID': '${azure.login.subscriptionId}'
}
Expand Down

0 comments on commit 48f965d

Please sign in to comment.