Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing #1387 vault_azure_access_credentials crash #1388

Closed
wants to merge 4 commits into from

Conversation

TechyMatt
Copy link
Contributor

Adds a fix for #1387 to allow both subscription_id and tenant_id to be specified. In the event the token doesn't have permission to read the config on the vault backend, it also allows for an environment to be defined in the data source and override the default public cloud option. Values for non-public have been replicated from the Azure Terraform Provider to provide consistency.

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #1387

Release note for CHANGELOG:


Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

This is the final change that removes the token from needing access to the azure secrets engine config. It will attempt to query the azure secrets engine for the environment, but if it fails then it will use the value passed into the data source.
@benashz
Copy link
Contributor

benashz commented Mar 28, 2022

Thanks for the contribution @mb290. We will be fixing the issue under #1391, since this was work that was already in progress.

@benashz benashz closed this Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vault_azure_access_credentials crashes with subscription_id specified
2 participants