-
Notifications
You must be signed in to change notification settings - Fork 530
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
Configure S3's credential chain based on config #2889
Conversation
@joe-elliott could we include some sort of documentation update alongside that tell what to configure for using this. |
I've updated the docs to include the new config param. Does that cover your request? |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-2889-to-release-v2.2 origin/release-v2.2
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 957f1606c2af309d88c456fc7a5fb5737dcbc3a9
# When the conflicts are resolved, stage and commit the changes
git add . && git cherry-pick --continue If you have the GitHub CLI installed: # Create the PR body template
PR_BODY=$(gh pr view 2889 --json body --template 'Backport 957f1606c2af309d88c456fc7a5fb5737dcbc3a9 from #2889{{ "\n\n---\n\n" }}{{ index . "body" }}')
# Push the branch to GitHub and a PR
echo "${PR_BODY}" | gh pr create --title "[release-v2.2] Configure S3's credential chain based on config" --body-file - --label "type/bug" --label "backport" --base release-v2.2 --milestone release-v2.2 --web Or, if you don't have the GitHub CLI installed (we recommend you install it!): # If you don't have the GitHub CLI installed: Push the branch to GitHub and manually create a PR:
git push --set-upstream origin backport-2889-to-release-v2.2
# Remove the local backport branch
git switch main
git branch -D backport-2889-to-release-v2.2 Unless you've used the GitHub CLI above, now create a pull request where the |
* Configure S3's credential chain based on config * Changelog * Update docs (cherry picked from commit 957f160)
* Configure S3's credential chain based on config * Changelog * Update docs (cherry picked from commit 957f160) Co-authored-by: Mario <[email protected]>
What this PR does:
Configures the S3 credentials chain based on what S3 auth method is configured.
Added a config param to S3 config
native_aws_auth_enabled
. When enabled, Tempo will use the default authentication methods of the AWS SDK for go based on known environment variables and known AWS config files.Which issue(s) this PR fixes:
Fixes #2888
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]