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

Implement a configurable credentials resolver chain #452

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
Update packages/smithy-aws-core/src/smithy_aws_core/credentials_resol…
…vers/credentials_resolver_chain.py

Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
alextwoods and nateprewitt authored Mar 24, 2025
commit c33518b46ec2d025701d3daf65735cd43b9e5921
Original file line number Diff line number Diff line change
@@ -10,8 +10,9 @@


def _env_creds_available() -> bool:
return bool(os.getenv("AWS_ACCESS_KEY_ID")) and bool(
os.getenv("AWS_SECRET_ACCESS_KEY")
return (
"AWS_ACCESS_KEY_ID" in os.environ
and "AWS_SECRET_ACCESS_KEY" in os.environ
)