algo/roles/cloud-ec2/tasks
Dan Guido 8ee15e6966
feat: Add AWS credentials file support (#14778)
* feat: Add AWS credentials file support

- Automatically reads AWS credentials from ~/.aws/credentials
- Supports AWS_PROFILE and AWS_SHARED_CREDENTIALS_FILE environment variables
- Adds support for temporary credentials with session tokens
- Maintains backward compatibility with existing credential methods
- Follows standard AWS credential precedence order

Based on PR #14460 by @lefth with the following improvements:
- Fixed variable naming to match existing code (access_key vs aws_access_key)
- Added session token support for temporary credentials
- Integrated credential discovery directly into prompts.yml
- Added comprehensive tests
- Added documentation

Closes #14382

* fix ansible lint

---------

Co-authored-by: Jack Ivanov <17044561+jackivanov@users.noreply.github.com>
2025-08-03 15:07:57 -06:00
..
cloudformation.yml feat: Add AWS credentials file support (#14778) 2025-08-03 15:07:57 -06:00
main.yml Ansible upgrade 6.1 (#14500) 2022-07-30 15:01:24 +03:00
prompts.yml feat: Add AWS credentials file support (#14778) 2025-08-03 15:07:57 -06:00
venv.yml Refactor to support Ansible 2.8 (#1549) 2019-09-28 08:10:20 +08:00