Skip to content

fix: Name of special header for AWS credential#946

Merged
amanda-tarafa merged 4 commits intoaip-dev:masterfrom
amanda-tarafa:patch-1
Oct 17, 2025
Merged

fix: Name of special header for AWS credential#946
amanda-tarafa merged 4 commits intoaip-dev:masterfrom
amanda-tarafa:patch-1

Conversation

@amanda-tarafa
Copy link
Copy Markdown
Contributor

The JSON example is correct.
See b/151677419 for more context.

@amanda-tarafa amanda-tarafa requested a review from a team September 27, 2022 12:35
@amanda-tarafa
Copy link
Copy Markdown
Contributor Author

FYI: @jskeet

Comment thread aip/auth/4117.md Outdated
`us-east-1d`. The region should be determined by stripping the last
character, e.g. `us-east-1`.
- Check the environment variables `ACCESS_ACCESS_KEY_ID`,
- Check the environment variables `AWS_ACCESS_ACCESS_KEY_ID`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two ACCESS? The documentation for the CI says AWS_ACCESS_KEY_ID:

https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, thanks for catching this! I'll push a fix shortly.

@coryan
Copy link
Copy Markdown
Contributor

coryan commented Oct 17, 2025

Ping.

The JSON example is correct.
See b/151677419 for more context.
All the headers in the example, except for Authorization itself should be included on the signed header list.
No need to fetch the token if environment variables for both the region and the security credentials have been provided.
@amanda-tarafa
Copy link
Copy Markdown
Contributor Author

I've rebased and resolve conflicts. This was never merged because it never got the required reviews.

Can someone from @aip-dev/auth and @aip-dev/google review this, @lsirac already approved. Thanks.

@amanda-tarafa amanda-tarafa enabled auto-merge (squash) October 17, 2025 20:03
@amanda-tarafa
Copy link
Copy Markdown
Contributor Author

(I've set it to auto merge, as soon as it is approved, it will be merged)

@noahdietz noahdietz removed the request for review from neomagus00 October 17, 2025 20:47
@noahdietz
Copy link
Copy Markdown
Collaborator

I can approve for @aip-dev/google but that is more top-level OWNERS here. Do you think someone from @aip-dev/auth should Approve?

Copy link
Copy Markdown
Collaborator

@noahdietz noahdietz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the Changelog as well

Comment thread aip/auth/4117.md
@amanda-tarafa
Copy link
Copy Markdown
Contributor Author

Please update the Changelog as well

Done!

@amanda-tarafa amanda-tarafa merged commit 1a0ff77 into aip-dev:master Oct 17, 2025
2 checks passed
@amanda-tarafa amanda-tarafa deleted the patch-1 branch October 18, 2025 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants