Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
db3779a
Support usage of AWS Profiles
Dec 21, 2025
ff7787c
squash merge main updates w feature branch
lehmanmj Mar 17, 2026
7a6814a
chore: Update dist
aws-sdk-osds Mar 17, 2026
c561c25
consistent outputEnvCredentials
lehmanmj Mar 17, 2026
fd1a54a
take out tests temporarily
lehmanmj Mar 17, 2026
7723dcf
chore: Update dist
aws-sdk-osds Mar 17, 2026
f410faf
debug changes for static creds
lehmanmj Mar 17, 2026
b1cfc36
remove debug and only cleanup profile if it was set
lehmanmj Mar 17, 2026
e972b45
formatting fixes + remove profile from cleanup test
lehmanmj Mar 17, 2026
6f49f7a
feat: Support usage of AWS Profiles
kellertk Mar 18, 2026
401c265
Merge branch 'multi-profiles-feat' into jfeddern-feat/multiple-profiles
kellertk Mar 18, 2026
035c5b1
chore: fix failing test case and windows path
kellertk Mar 18, 2026
ff6d708
chore: lint project markdown files
kellertk Mar 18, 2026
8dcb0a7
chore: update scripts in package.json and tsconfig update
kellertk Mar 19, 2026
e0c1393
Merge branch 'main' into jfeddern-feat/multiple-profiles
lehmanmj Mar 24, 2026
8b2481d
make env vars consistent, readme linting
lehmanmj Mar 24, 2026
cec7fa7
debug for profile path env vars
lehmanmj Mar 25, 2026
795596e
remove debug
lehmanmj Mar 25, 2026
c183b8f
remove profile backups
lehmanmj Mar 25, 2026
4dd7a2a
error if we try to overwrite
lehmanmj Mar 25, 2026
2377800
add option to overwrite existing profiles
lehmanmj Mar 25, 2026
ecd3e6c
tests for overwrite option
lehmanmj Mar 25, 2026
30a2a27
default to no env vars
lehmanmj Mar 27, 2026
8706055
remove default from action file
lehmanmj Mar 27, 2026
c0ecf83
add static credential env var support
lehmanmj Mar 27, 2026
2e38082
validation fix for static creds multi profile
lehmanmj Mar 27, 2026
746e631
debug sleep for static creds validation
lehmanmj Mar 27, 2026
92f8d70
wait syntax
lehmanmj Mar 27, 2026
c253f21
undo sleep for creds validate
lehmanmj Mar 27, 2026
a56ea5b
Merge branch 'main' into jfeddern-feat/multiple-profiles
lehmanmj Mar 30, 2026
9597aae
test coverage, readme/action yml updates, validate creds later on sel…
lehmanmj Mar 30, 2026
75442b8
security dependency updates
lehmanmj Mar 30, 2026
b1d4dff
chore(deps-dev): bump @biomejs/biome from 2.4.8 to 2.4.10 (#1709)
dependabot[bot] Mar 31, 2026
32d7653
chore(deps-dev): bump @aws-sdk/credential-provider-env (#1713)
dependabot[bot] Mar 31, 2026
a84508c
chore: Update dist
aws-sdk-osds Mar 31, 2026
20cadf5
chore(deps): bump @aws-sdk/client-sts from 3.1015.0 to 3.1020.0 (#1710)
dependabot[bot] Mar 31, 2026
816a607
chore: Update dist
aws-sdk-osds Mar 31, 2026
97b3672
Merge branch 'main' into jfeddern-feat/multiple-profiles
lehmanmj Mar 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
*Issue #, if available:*
_Issue #, if available:_

*Description of changes:*
_Description of changes:_

---

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws-actions/configure-aws-credentials/blob/main/CONTRIBUTING.md)
- [ ] Have you followed the guidelines in our
[Contributing guide?](https://github.com/aws-actions/configure-aws-credentials/blob/main/CONTRIBUTING.md)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
By submitting this pull request, I confirm that you can use, modify, copy, and
redistribute this contribution, under the terms of your choice.
47 changes: 47 additions & 0 deletions .github/workflows/tests-integ-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,50 @@ jobs:
retry-max-attempts: 4
- name: check creds
run: aws sts get-caller-identity

profile-oidc:
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials') }}
permissions:
id-token: write
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: OIDC profile writing test
steps:
- name: checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false

- name: make profile 1
uses: ./
with:
aws-region: us-east-1
role-to-assume: ${{ secrets.INTEG_PROFILE_ROLE_1 }}
aws-profile: TestProfile1

- name: make profile 2
uses: ./
with:
aws-region: us-east-2
role-to-assume: ${{ secrets.INTEG_PROFILE_ROLE_2 }}
aws-profile: TestProfile2

- name: check profile1
run: aws sts get-caller-identity --profile TestProfile1

- name: check profile2
run: aws sts get-caller-identity --profile TestProfile2

- name: Get Caller Identity
id: no-creds-sts-step
continue-on-error: true
run: |
aws sts get-caller-identity

- name: fail if we got caller id with env creds
if: steps.no-creds-sts-step.outcome == 'success'
run: exit 1
17 changes: 17 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
default: true
MD007:
indent: 4
heading-style:
style: atx
ul-style:
style: dash
line-length:
stern: true
tables: false
code_blocks: false
no-inline-html:
allowed_elements:
- details
- summary
code-block-style:
style: fenced
12 changes: 8 additions & 4 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## Code of Conduct
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
opensource-codeofconduct@amazon.com with any additional questions or comments.
# Code of Conduct

This project has adopted the
[Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). For
more information see the
[Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
<opensource-codeofconduct@amazon.com> with any additional questions or
comments.
93 changes: 65 additions & 28 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,98 @@
# Contributing Guidelines

Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
documentation, we greatly value feedback and contributions from our community.

Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
information to effectively respond to your bug report or contribution.
Thank you for your interest in contributing to our project. Whether it's a bug
report, new feature, correction, or additional documentation, we greatly value
feedback and contributions from our community.

Please read through this document before submitting any issues or pull requests
to ensure we have all the necessary information to effectively respond to your
bug report or contribution.

## Reporting Bugs/Feature Requests

We welcome you to use the GitHub issue tracker to report bugs or suggest features.
We welcome you to use the GitHub issue tracker to report bugs or suggest
features.

When filing an issue, please check [existing open][open-issues],
or [recently closed][closed-issues], issues to make sure somebody
else hasn't already reported the issue.

When filing an issue, please check [existing open](https://github.com/aws-actions/configure-aws-credentials/issues), or [recently closed](https://github.com/aws-actions/configure-aws-credentials/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
[open-issues]: https://github.com/aws-actions/configure-aws-credentials/issues
[closed-issues]: https://github.com/aws-actions/configure-aws-credentials/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20

* A reproducible test case or series of steps
* The version of our code being used
* Any modifications you've made relevant to the bug
* Anything unusual about your environment or deployment
Please try to include as much information as you can. Details like
these are incredibly useful:

- A reproducible test case or series of steps
- The version of our code being used
- Any modifications you've made relevant to the bug
- Anything unusual about your environment or deployment

## Contributing via Pull Requests
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:

1. You are working against the latest source on the *main* branch.
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
Contributions via pull requests are much appreciated. Before sending us a pull
request, please ensure that:

1. You are working against the latest source on the _main_ branch.
2. You check existing open, and recently merged, pull requests to make sure
someone else hasn't addressed the problem already.
3. You open an issue to discuss any significant work - we would hate for your
time to be wasted.

To send us a pull request, please:

1. Fork the repository.
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
2. Modify the source; please focus on the specific change you are contributing.
If you also reformat all the code, it will be hard for us to focus on your
change.
3. Ensure local tests pass.
4. Commit to your fork using clear commit messages.
5. Send us a pull request, answering any default questions in the pull request interface.
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
5. Send us a pull request, answering any default questions in the pull request
interface.
6. Pay attention to any automated CI failures reported in the pull request, and
stay involved in the conversation.

GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
GitHub provides additional document on
[forking a repository](https://help.github.com/articles/fork-a-repo/) and
[creating a pull request][create-pr].

[create-pr]:
https://help.github.com/articles/creating-a-pull-request/

## Finding contributions to work on
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/aws-actions/configure-aws-credentials/labels/help%20wanted) issues is a great place to start.

Looking at the existing issues is a great way to find something to contribute
on. As our projects, by default, use the default GitHub issue labels
(enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any
['help wanted'](https://github.com/aws-actions/configure-aws-credentials/labels/help%20wanted)
issues is a great place to start.

## Code of Conduct
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
opensource-codeofconduct@amazon.com with any additional questions or comments.

This project has adopted the
[Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). For
more information see the
[Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
<opensource-codeofconduct@amazon.com> with any additional questions or
comments.

## Security issue notifications
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.

If you discover a potential security issue in this project we ask that you
notify AWS/Amazon Security via our
[vulnerability reporting page][vuln-report].

[vuln-report]:
http://aws.amazon.com/security/vulnerability-reporting/
Please do **not** create a public github issue.

## Licensing

See the [LICENSE](https://github.com/aws-actions/configure-aws-credentials/blob/main/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
See the
[LICENSE](https://github.com/aws-actions/configure-aws-credentials/blob/main/LICENSE)
file for our project's licensing. We will ask you to confirm the licensing of
your contribution.

We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
We may ask you to sign a
[Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement)
for larger changes.
Loading
Loading