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

Deprecate the --impersonate command #218

Closed
arnaudlh opened this issue Nov 9, 2021 · 3 comments · Fixed by #223
Closed

Deprecate the --impersonate command #218

arnaudlh opened this issue Nov 9, 2021 · 3 comments · Fixed by #223
Assignees
Labels
enhancement New feature or request

Comments

@arnaudlh
Copy link
Member

arnaudlh commented Nov 9, 2021

When impersonating service principal context for pipelines troubleshooting, we recommend you use the --impersonate-sp-from-keyvault-url option instead of the old --impersonate

@arnaudlh arnaudlh added the enhancement New feature or request label Nov 9, 2021
@brk3
Copy link
Contributor

brk3 commented Nov 9, 2021

Hi @arnaudlh, don't want to hijack this issue but just in case you're not aware of the following issues:

aztfmod/terraform-azurerm-caf#759
aztfmod/terraform-azurerm-caf#761

It would appear the general story of 'deploy as user account, then let service principal take over' is broken in a handful of areas regardless of whether you use --impersonate-sp-from-keyvault-url or --impersonate.

@arnaudlh
Copy link
Member Author

arnaudlh commented Nov 9, 2021

Hi @arnaudlh, don't want to hijack this issue but just in case you're not aware of the following issues:

aztfmod/terraform-azurerm-caf#759

aztfmod/terraform-azurerm-caf#761

It would appear the general story of 'deploy as user account, then let service principal take over' is broken in a handful of areas regardless of whether you use --impersonate-sp-from-keyvault-url or --impersonate.

Adding @LaurentLesle

@brk3
Copy link
Contributor

brk3 commented Dec 2, 2021

I can confirm however that the basic functionality of --impersonate-sp-from-keyvault-url works fine, so support removing --impersonate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants