-
Notifications
You must be signed in to change notification settings - Fork 4.4k
upgrade vault-plugin-auth-azure to v0.20.2 into release/1.19.x #30052
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
upgrade vault-plugin-auth-azure to v0.20.2 into release/1.19.x #30052
Conversation
CI Results: |
Build Results: |
8b475f7
to
e025477
Compare
@@ -0,0 +1,3 @@ | |||
```release-note:change | |||
auth/azure: Update plugin to v0.20.2. Login requires `resource_group_name`, `vm_name`, and `vmss_name` to match token claims |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still need to update the changelog in the plugin repo: https://github.com/hashicorp/vault-plugin-auth-azure/blob/main/CHANGELOG.md#unreleased
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can do it in this PR: hashicorp/vault-plugin-auth-azure#198
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fairclothjm
do you think the note is clear on the requirement and doesn't mislead users?
resource_group_name is always required. vm_name is not required but will be validated against token claims if provided . vmss_name is similar to vm_name
cc @tvoran for other PRs you're working on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is probably ok, but if we wanted to be very clear, we could change it a bit to something like:
Login now requires `resource_group_name` to match token claims. `vm_name` and `vmss_name` are also now required if present in the token claims.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Login now requires `resource_group_name` to match token claims. `vm_name` and `vmss_name` are also now required to match the token claims if provided on login.
I edited a bit the second sentence. What do you think? @fairclothjm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can keep the original version. The Azure docs captures the details well
@fairclothjm I will create it tomorrow. Thanks for the reminder :)! |
Description
What does this PR do?
The PR upgrades vault-plugin-auth-azure to v0.20.2 into release/1.19.x
TODO only if you're a HashiCorp employee
backport/
label that matches the desired release branch. Note that in the CE repo, the latest release branch will look likebackport/x.x.x
, but older release branches will bebackport/ent/x.x.x+ent
.of a public function, even if that change is in a CE file, double check that
applying the patch for this PR to the ENT repo and running tests doesn't
break any tests. Sometimes ENT only tests rely on public functions in CE
files.
in the PR description, commit message, or branch name.
description. Also, make sure the changelog is in this PR, not in your ENT PR.