-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add support for Org. Token types #943
Conversation
ee354e6
to
33ce473
Compare
33ce473
to
8f9efea
Compare
8f9efea
to
97a621f
Compare
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.
lgtm! 👍
97a621f
to
4aec160
Compare
f8d0b95
to
273b6e0
Compare
Blocking merging pending comments from Brandon and I noticed the delete unit test is giving false positives 😢 |
@glennsarti Yuck! I didn't realize the query param handling was so inconsistent in NewRequest. I tried to make it more consistent in #959, as well as replacing all the QueryEscape usage with PathEscape If you like it, we can get that merged and rebase this on top, utilizing |
@brandonc 100% I'll rebase and fixup once that's merged |
28252e6
to
a818252
Compare
Rebased and modified for main. Back to review @brandonc |
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.
Alright nice
HCP Terraform organizations now support different types of tokens. This commit updates the org. auth. token client to support CRUD operations with a token type URL attribute. Note that the integration tests require an organization that supports audit-logging
a818252
to
b9a6e7e
Compare
Rebased due to changelog merge conflict |
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.
👍
Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes. |
Description
HCP Terraform organizations now support different types of tokens. This commit updates the org. auth. token client to support CRUD operations with a token type URL attribute.
Note that the integration tests require an organization that supports audit-logging
Testing plan
Handled by integration tests
External links
Output from tests
Handled by CI