Tom Keller
438100a0eb
chore: add link to GH security docs ( #1962 )
...
* feat: add translate-env-variables option
* feat: add translate-env-variables option
* chore: add link to GH security docs
* chore: remove duplicate wording
2026-09-11 22:22:09 +00:00
Tom Keller
57b83659c2
feat: add translate-env-variables option ( #1961 )
...
* feat: add translate-env-variables option
* feat: add translate-env-variables option
2026-09-11 14:58:45 -07:00
Tom Keller
aa6526434b
fix: account-ids handling, mask proxy as secret in logs ( #1943 )
...
* fix: enforce allowed-account-ids when the list contains empty entries
An empty first element previously short-circuited the allowed account
check. Empty entries are now filtered out and validation applies
whenever any non-empty entry exists.
* fix: enforce allowed-account-ids on the use-existing-credentials path
The early return for valid pre-existing credentials skipped the
allowed-account-ids check, now included.
* fix: reject newlines in names and values when writing profile files
If the profile file writing was enabled, we emitted newlines into the
file verbatim, permitting injecting arbitrary profiles into the file.
Writing now fails instead.
* fix: honor configured STS endpoint for "ambient" credentials
Ambient credential resolution built a bare STS client, so a web-identity
token found by the SDK default chain (e.g. AWS_WEB_IDENTITY_TOKEN_FILE on
a self-hosted runner) was exchanged with public STS instead of any
operator-configured sts-endpoint. Resolution now passes the configured
region, endpoint, and proxy handler to the default provider chain.
* fix: mask proxy URL credentials in job logs
Basic-auth userinfo in the http-proxy input or HTTP(S)_PROXY environment
variables was never registered as a secret, so error messages carrying
the proxy URL printed the credentials unmasked in the job log.
* fix: omit account IDs from the allowed-account-ids failure message
The mismatch error is thrown before exportAccountId registers the
account-id mask, so setFailed wrote the raw account ID (and the
configured allow-list) into a public annotation. (C4)
* chore: remove outdated examples
All of the examples were out of date and we do not have a mechanism for
keeping them up to date. Removed the examples.
2026-08-31 14:31:24 -07:00
Tom Keller
ba7d3485af
chore: clarify issue template policy ( #1921 )
2026-08-12 10:13:32 -07:00
Tom Keller
0802eece3e
chore: bump stale-issue-cleanup to v7 ( #1914 )
2026-08-04 11:56:48 -07:00
Tom Keller
fa8d6a57bb
fix: PackedPolicyTooLarge detection in STS tags ( #1899 )
...
Closes #1898 .
Due to a bundling, checking for `error instanceof
PackedPolicyTooLargeException` fails. Instead we need to explicitly
check for `error.name`.
2026-07-22 11:25:24 -07:00
Tom Keller
9d2a1c17c0
chore(docs): document immutable OIDC subject claim ( #1889 )
...
GitHub made the OIDC `sub` claim immutable for repositories created on
github.com on or after 2026-04-23 (and older repos that opt in). The claim
now appends the numeric org and repository IDs after each name, separated by
`@`, e.g. `repo:org@123456/repo@789012:ref:refs/heads/main`.
Closes #1888 .
2026-07-15 11:06:00 -07:00
Tom Keller
9ae780b171
fix: attach git credentials before Tag Major Version push ( #1877 )
...
The Tag Major Version step ran 'git push origin' after Checkout Again
re-cloned with persist-credentials: false, leaving the remote without
credentials. This caused 'fatal: could not read Username' (exit 128) on
the first release. Set the authenticated remote URL using OSDS_ACCESS_TOKEN
before pushing tags, mirroring the Update README step.
2026-07-09 13:46:15 -07:00
Tom Keller
d01d678e65
chore: release 6.2.2
...
Release-As: 6.2.2
2026-07-07 09:56:53 -07:00
Tom Keller
8efa52b284
chore(deps-dev): bump vitest dependencies ( #1874 )
...
Combines dependabot PRs #1866 and #1865 . Both packages must move
together because @vitest/coverage-v8 declares an exact peer dependency.
2026-07-07 09:46:57 -07:00
Tom Keller
4d281fbc56
fix: enforce allowed-account-ids on all auth paths ( #1847 )
...
* fix: enforce allowed-account-ids on all auth paths
The allowed-account-ids list was only enforced in some auth flows. This
was due to the check being included in validateCredentials, which was
skipped if (GITHUB_ACTIONS && AccessKeyId && output-env-credentials) ->
false.
This unifies credential validation into a single path.
- validateCredentials(credentials?, ...) resolves credentials, proves
liveness via one GetCallerIdentity call, and returns the identity.
- validateAccountId(expectedAccountIds, account) is now a pure comparison
against the resolved account, enforced against the final (assumed)
account independent of auth method, GITHUB_ACTIONS, or
output-env-credentials.
- exportAccountId(identity, ...) consumes the resolved identity instead of
making its own GetCallerIdentity call, so credential resolution happens
exactly once per credential set.
Pre-assume account checks remain gated on !roleToAssume so cross-account
assume-role (source account differs from the role's target) is preserved.
Adds regression tests for the OIDC wrong-account case (the previously
missing negative test), OIDC with output-env-credentials: false, and the
assume-role wrong-account case.
* chore: move validateAccountId into helpers
2026-06-26 13:33:19 -07:00
4ab3589ed2
chore: replay 6.2 devel changes onto main ( #1807 )
...
* chore(deps-dev): bump vitest from 3.2.4 to 4.1.5 (#1748 )
* chore(deps-dev): bump vitest from 3.2.4 to 4.1.5
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 3.2.4 to 4.1.5.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-version: 4.1.5
dependency-type: direct:development
update-type: version-update:semver-major
...
* chore(deps-dev): update @vitest/coverage-v8
Bump @vitest/coverage-v8 to ^4.1.5 to match peer dependency, and move
vi.mock('node:fs') calls to the top level of test files to reflect
actual hoisting semantics required by vitest 4.x.
---------
(cherry picked from commit 78f374f6d1 )
* chore(deps): bump @actions/core from 2.0.3 to 3.0.1 (#1746 )
* chore(deps): bump @actions/core from 2.0.3 to 3.0.1
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 2.0.3 to 3.0.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-version: 3.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
* chore: update test mocks for @actions/core ESM
@actions/core v3 ships as an ESM module with non-configurable exports,
breaking vi.spyOn(). Switch to vi.mock('@actions/core') which
intercepts at the module loader level.
---------
(cherry picked from commit 64d8e82527 )
* chore(deps): bump @aws-sdk/client-sts from 3.1043.0 to 3.1044.0 (#1754 )
Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts ) from 3.1043.0 to 3.1044.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1044.0/clients/client-sts )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
dependency-version: 3.1042.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
(cherry picked from commit 4cfda40a13 )
* chore: bump unit test node version (#1758 )
(cherry picked from commit 39d1702721 )
* chore: automatic major version tagging (#1565 )
* Update release-please.yml to auto-update version tag
* chore: configure release-please auto floating tag
---------
(cherry picked from commit c36525a567 )
* feat: Allow custom session tags to be passed when assuming a role (#1759 )
* Add possibility to input custom session tags
* Use json for input to custom-tags, add documentation for custom-tags
* Add more examples
* Simplify example to avoid parse error
* Add input validation for custom tags
* Fix unit tests for custom-tags
* Add debugging message
* Skip failing test for now
* Build package
* Remove some unused validation for custom tags
* feat: add validation for custom session tags
Harden the custom-tags feature against misuse and
misconfiguration:
- Validate input is a JSON object (reject arrays, primitives, null)
- Enforce STS tag constraints: key length (128), value length (256),
allowed characters
- Reject nested object/array values that would silently stringify to
'[object Object]'
- Block overriding default session tags (GitHub, Repository,
Workflow, etc.)
- Enforce 50-tag session limit
- Warn when custom-tags used with OIDC or web identity
- Fix missing await on helpers test assertion
- Remove unused CUSTOM_TAGS_JSON_INPUTS fixture
- Normalize test mocking to vi.mocked() pattern
---------
(cherry picked from commit 61f50f630f )
* chore: configure codeql to ignore generated code (#1760 )
(cherry picked from commit dc2353e57a )
* feat: support custom STS endpoints (#1762 )
Closes #1067 . This is a advanced option
and is not needed for most deployments.
(cherry picked from commit 8d52d05d7a )
* chore: automate README version bumping (#1763 )
Closes #1420 .
(cherry picked from commit 07ada0fe07 )
* feat: add more retry logic and better logging (#1764 )
Wraps exportAccountId and validateCredentials calls in retryAndBackoff.
Closes #1681 . Adds a label parameter to retryAndBackoff for better
info-level log messages.
(cherry picked from commit 540d0c13ae )
* feat: add regex validation to role-session-name (#1765 )
Previously invalid role session names would get errors from the STS
API instead of this action rejecting them, causing unnecessary retries.
Now we check them and fail early.
Closes #1656 . That FR recommended that we sanitize the name before
sending to STS, but instead we error to not silently change the user's
selected session name (avoiding the potential security sharp edge)
(cherry picked from commit e35449909c )
* chore: update documentation for environment workflows (#1766 )
Closes #1238 .
(cherry picked from commit 3f7e1b63d7 )
* chore(deps): bump @aws-sdk/client-sts from 3.1044.0 to 3.1045.0 (#1767 )
Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts ) from 3.1044.0 to 3.1045.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1045.0/clients/client-sts )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
dependency-version: 3.1045.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
(cherry picked from commit a388f23f7d )
* chore(deps-dev): bump @vitest/coverage-v8 from 4.1.5 to 4.1.6 (#1768 )
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8 ) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.6/packages/coverage-v8 )
---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
dependency-version: 4.1.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
(cherry picked from commit 1fb495c4b2 )
* chore(deps-dev): bump @smithy/property-provider from 4.2.14 to 4.3.1 (#1771 )
Bumps [@smithy/property-provider](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/property-provider ) from 4.2.14 to 4.3.1.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/property-provider/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/property-provider@4.3.1/packages/property-provider )
---
updated-dependencies:
- dependency-name: "@smithy/property-provider"
dependency-version: 4.3.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
(cherry picked from commit 1ab31502aa )
* chore(deps): bump @smithy/node-http-handler from 4.6.1 to 4.7.1 (#1770 )
Bumps [@smithy/node-http-handler](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/node-http-handler ) from 4.6.1 to 4.7.1.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/node-http-handler/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/node-http-handler@4.7.1/packages/node-http-handler )
---
updated-dependencies:
- dependency-name: "@smithy/node-http-handler"
dependency-version: 4.7.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
(cherry picked from commit dbd503f368 )
* chore(deps-dev): bump @biomejs/biome from 2.4.14 to 2.4.15 (#1772 )
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.4.14 to 2.4.15.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.15/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.4.15
dependency-type: direct:development
update-type: version-update:semver-patch
...
(cherry picked from commit 7521c55910 )
* chore(deps-dev): bump @types/node from 25.6.0 to 25.7.0 (#1773 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.6.0 to 25.7.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 25.7.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
(cherry picked from commit ef734cca81 )
* feat: expose run id in STS client user-agent (#1774 )
* feat: expose run id in STS client user-agent
Closes #483 .
This commit modifies the user-agent string so that it includes the
GITHUB_RUN_ID and the GITHUB_RUN_ATTEMPT, in the format typically used
by the SDK. User agent strings are logged to CloudTrail, allowing users
to correlate CloudTrail events with GHA runs. We took this approach
instead of logging the ACCESS_KEY_ID as suggested in the issue to avoid
logging sensitive information.
* feat: add github_action to ua string
(cherry picked from commit 29d1be3027 )
* feat: add additional session tags by default (#1775 )
Closes #390 .
Note that 50 session tags are the AWS default, and this commit changes
our default set from 7 tags to 15 tags. This commit includes logic to
split the tags into "required" vs "overridable". Required tags are this
action's previous defaults and could never be overridden. Overridable
tags are the new set and can be overridden by custom-tags. The action
will not add tags if the addition plus the required plus the user's
custom tags exceed the AWS limit of 50 total tags. This ensures
backwards compat for the tag additions.
(cherry picked from commit e0ba768507 )
* chore: document forgejo compatibility (#1776 )
* chore: document forgejo compatibility
* chore: linting fixes
(cherry picked from commit f35a7d7d7e )
* fix: skip credential check on output-env-credentials: false (#1778 )
Closes #1554 .
(cherry picked from commit 58e7c47adf )
* chore: update README for additional claim support (#1779 )
* chore: update README for additional claim support
* chore: lint fix (whitespace)
(cherry picked from commit 713aaabfec )
* chore(deps): bump @smithy/node-http-handler from 4.7.1 to 4.7.3 (#1781 )
Bumps [@smithy/node-http-handler](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/node-http-handler ) from 4.7.1 to 4.7.3.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/node-http-handler/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/node-http-handler@4.7.3/packages/node-http-handler )
---
updated-dependencies:
- dependency-name: "@smithy/node-http-handler"
dependency-version: 4.7.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
(cherry picked from commit a7c33ae483 )
* chore(deps-dev): bump @types/node from 25.7.0 to 25.9.0 (#1785 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.7.0 to 25.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 25.9.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
(cherry picked from commit ffde832a1d )
* chore(deps-dev): bump @aws-sdk/credential-provider-env (#1784 )
Bumps [@aws-sdk/credential-provider-env](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages-internal/credential-provider-env ) from 3.972.34 to 3.972.38.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages-internal/credential-provider-env/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/HEAD/packages-internal/credential-provider-env )
---
updated-dependencies:
- dependency-name: "@aws-sdk/credential-provider-env"
dependency-version: 3.972.38
dependency-type: direct:development
update-type: version-update:semver-patch
...
(cherry picked from commit bc1093db1d )
* chore(deps-dev): bump @smithy/property-provider from 4.3.1 to 4.3.3 (#1783 )
Bumps [@smithy/property-provider](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/property-provider ) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/property-provider/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/property-provider@4.3.3/packages/property-provider )
---
updated-dependencies:
- dependency-name: "@smithy/property-provider"
dependency-version: 4.3.3
dependency-type: direct:development
update-type: version-update:semver-patch
...
(cherry picked from commit fe6ad3af19 )
* chore(deps): bump @aws-sdk/client-sts from 3.1045.0 to 3.1049.0 (#1782 )
Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts ) from 3.1045.0 to 3.1049.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1049.0/clients/client-sts )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
dependency-version: 3.1049.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
(cherry picked from commit 4684f47f89 )
* chore: reconcile lockfile and test formatting
* chore: Update dist
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
Co-authored-by: Sylvain Verly <sylvain.verly@gmail.com >
2026-05-28 14:44:54 -07:00
Tom Keller
217d17914b
fix: allow kubelet token symlink ( #1805 )
...
* Revert "chore: Update dist"
This reverts commit 5548f3441b .
* Revert "chore: document container credentials provider support (and delete transitive tags in AssumeRoleWithWebIdentity) (#1780 )"
This reverts commit 77cd089899 .
* Revert "chore: replay 6.2 devel changes onto main (#1800 )"
This reverts commit 87eb0cf693 .
* fix: allow kubelet token symlink
Closes #1804
2026-05-28 20:25:29 +00:00
Tom Keller and Michael Lehmann
77cd089899
chore: document container credentials provider support (and delete transitive tags in AssumeRoleWithWebIdentity) ( #1780 )
...
* chore: document container credentials provider support (and delete transitive tags in AssumeRoleWithWebIdentity)
Closes #1546
Closes #942
Documents that eks and codebuild work when using the role-chaining flag.
* revert force-skip-oidc changes
* README changes for Container Credentials and adding missing input options
* linting
---------
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
2026-05-27 13:42:45 -07:00
Tom Keller
dbacf3135e
chore: bump release version ( #1801 )
...
Release-As: 6.2.0
2026-05-26 10:15:12 -07:00
87eb0cf693
chore: replay 6.2 devel changes onto main ( #1800 )
...
* chore(deps-dev): bump vitest from 3.2.4 to 4.1.5 (#1748 )
* chore(deps-dev): bump vitest from 3.2.4 to 4.1.5
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 3.2.4 to 4.1.5.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.5/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-version: 4.1.5
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore(deps-dev): update @vitest/coverage-v8
Bump @vitest/coverage-v8 to ^4.1.5 to match peer dependency, and move
vi.mock('node:fs') calls to the top level of test files to reflect
actual hoisting semantics required by vitest 4.x.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Keller <kellertk@amazon.com >
(cherry picked from commit 78f374f6d1 )
* chore(deps): bump @actions/core from 2.0.3 to 3.0.1 (#1746 )
* chore(deps): bump @actions/core from 2.0.3 to 3.0.1
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 2.0.3 to 3.0.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-version: 3.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: update test mocks for @actions/core ESM
@actions/core v3 ships as an ESM module with non-configurable exports,
breaking vi.spyOn(). Switch to vi.mock('@actions/core') which
intercepts at the module loader level.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Keller <kellertk@amazon.com >
(cherry picked from commit 64d8e82527 )
* chore(deps): bump @aws-sdk/client-sts from 3.1043.0 to 3.1044.0 (#1754 )
Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts ) from 3.1043.0 to 3.1044.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1044.0/clients/client-sts )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
dependency-version: 3.1042.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 4cfda40a13 )
* chore: bump unit test node version (#1758 )
(cherry picked from commit 39d1702721 )
* chore: automatic major version tagging (#1565 )
* Update release-please.yml to auto-update version tag
* chore: configure release-please auto floating tag
---------
Co-authored-by: Tom Keller <kellertk@amazon.com >
(cherry picked from commit c36525a567 )
* feat: Allow custom session tags to be passed when assuming a role (#1759 )
* Add possibility to input custom session tags
* Use json for input to custom-tags, add documentation for custom-tags
* Add more examples
* Simplify example to avoid parse error
* Add input validation for custom tags
* Fix unit tests for custom-tags
* Add debugging message
* Skip failing test for now
* Build package
* Remove some unused validation for custom tags
* feat: add validation for custom session tags
Harden the custom-tags feature against misuse and
misconfiguration:
- Validate input is a JSON object (reject arrays, primitives, null)
- Enforce STS tag constraints: key length (128), value length (256),
allowed characters
- Reject nested object/array values that would silently stringify to
'[object Object]'
- Block overriding default session tags (GitHub, Repository,
Workflow, etc.)
- Enforce 50-tag session limit
- Warn when custom-tags used with OIDC or web identity
- Fix missing await on helpers test assertion
- Remove unused CUSTOM_TAGS_JSON_INPUTS fixture
- Normalize test mocking to vi.mocked() pattern
---------
Co-authored-by: Sylvain Verly <sylvain.verly@gmail.com >
(cherry picked from commit 61f50f630f )
* chore: configure codeql to ignore generated code (#1760 )
(cherry picked from commit dc2353e57a )
* feat: support custom STS endpoints (#1762 )
Closes #1067 . This is a advanced option
and is not needed for most deployments.
(cherry picked from commit 8d52d05d7a )
* chore: automate README version bumping (#1763 )
Closes #1420 .
(cherry picked from commit 07ada0fe07 )
* feat: add more retry logic and better logging (#1764 )
Wraps exportAccountId and validateCredentials calls in retryAndBackoff.
Closes #1681 . Adds a label parameter to retryAndBackoff for better
info-level log messages.
(cherry picked from commit 540d0c13ae )
* feat: add regex validation to role-session-name (#1765 )
Previously invalid role session names would get errors from the STS
API instead of this action rejecting them, causing unnecessary retries.
Now we check them and fail early.
Closes #1656 . That FR recommended that we sanitize the name before
sending to STS, but instead we error to not silently change the user's
selected session name (avoiding the potential security sharp edge)
(cherry picked from commit e35449909c )
* chore: update documentation for environment workflows (#1766 )
Closes #1238 .
(cherry picked from commit 3f7e1b63d7 )
* chore(deps): bump @aws-sdk/client-sts from 3.1044.0 to 3.1045.0 (#1767 )
Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts ) from 3.1044.0 to 3.1045.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1045.0/clients/client-sts )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
dependency-version: 3.1045.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a388f23f7d )
* chore(deps-dev): bump @vitest/coverage-v8 from 4.1.5 to 4.1.6 (#1768 )
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8 ) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.6/packages/coverage-v8 )
---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
dependency-version: 4.1.6
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 1fb495c4b2 )
* chore(deps-dev): bump @smithy/property-provider from 4.2.14 to 4.3.1 (#1771 )
Bumps [@smithy/property-provider](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/property-provider ) from 4.2.14 to 4.3.1.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/property-provider/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/property-provider@4.3.1/packages/property-provider )
---
updated-dependencies:
- dependency-name: "@smithy/property-provider"
dependency-version: 4.3.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 1ab31502aa )
* chore(deps): bump @smithy/node-http-handler from 4.6.1 to 4.7.1 (#1770 )
Bumps [@smithy/node-http-handler](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/node-http-handler ) from 4.6.1 to 4.7.1.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/node-http-handler/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/node-http-handler@4.7.1/packages/node-http-handler )
---
updated-dependencies:
- dependency-name: "@smithy/node-http-handler"
dependency-version: 4.7.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit dbd503f368 )
* chore(deps-dev): bump @biomejs/biome from 2.4.14 to 2.4.15 (#1772 )
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.4.14 to 2.4.15.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.15/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.4.15
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 7521c55910 )
* chore(deps-dev): bump @types/node from 25.6.0 to 25.7.0 (#1773 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.6.0 to 25.7.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 25.7.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ef734cca81 )
* feat: expose run id in STS client user-agent (#1774 )
* feat: expose run id in STS client user-agent
Closes #483 .
This commit modifies the user-agent string so that it includes the
GITHUB_RUN_ID and the GITHUB_RUN_ATTEMPT, in the format typically used
by the SDK. User agent strings are logged to CloudTrail, allowing users
to correlate CloudTrail events with GHA runs. We took this approach
instead of logging the ACCESS_KEY_ID as suggested in the issue to avoid
logging sensitive information.
* feat: add github_action to ua string
(cherry picked from commit 29d1be3027 )
* feat: add additional session tags by default (#1775 )
Closes #390 .
Note that 50 session tags are the AWS default, and this commit changes
our default set from 7 tags to 15 tags. This commit includes logic to
split the tags into "required" vs "overridable". Required tags are this
action's previous defaults and could never be overridden. Overridable
tags are the new set and can be overridden by custom-tags. The action
will not add tags if the addition plus the required plus the user's
custom tags exceed the AWS limit of 50 total tags. This ensures
backwards compat for the tag additions.
(cherry picked from commit e0ba768507 )
* chore: document forgejo compatibility (#1776 )
* chore: document forgejo compatibility
* chore: linting fixes
(cherry picked from commit f35a7d7d7e )
* fix: skip credential check on output-env-credentials: false (#1778 )
Closes #1554 .
(cherry picked from commit 58e7c47adf )
* chore: update README for additional claim support (#1779 )
* chore: update README for additional claim support
* chore: lint fix (whitespace)
(cherry picked from commit 713aaabfec )
* chore(deps): bump @smithy/node-http-handler from 4.7.1 to 4.7.3 (#1781 )
Bumps [@smithy/node-http-handler](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/node-http-handler ) from 4.7.1 to 4.7.3.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/node-http-handler/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/node-http-handler@4.7.3/packages/node-http-handler )
---
updated-dependencies:
- dependency-name: "@smithy/node-http-handler"
dependency-version: 4.7.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a7c33ae483 )
* chore(deps-dev): bump @types/node from 25.7.0 to 25.9.0 (#1785 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.7.0 to 25.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 25.9.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ffde832a1d )
* chore(deps-dev): bump @aws-sdk/credential-provider-env (#1784 )
Bumps [@aws-sdk/credential-provider-env](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages-internal/credential-provider-env ) from 3.972.34 to 3.972.38.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages-internal/credential-provider-env/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/HEAD/packages-internal/credential-provider-env )
---
updated-dependencies:
- dependency-name: "@aws-sdk/credential-provider-env"
dependency-version: 3.972.38
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit bc1093db1d )
* chore(deps-dev): bump @smithy/property-provider from 4.3.1 to 4.3.3 (#1783 )
Bumps [@smithy/property-provider](https://github.com/smithy-lang/smithy-typescript/tree/HEAD/packages/property-provider ) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/smithy-lang/smithy-typescript/releases )
- [Changelog](https://github.com/smithy-lang/smithy-typescript/blob/main/packages/property-provider/CHANGELOG.md )
- [Commits](https://github.com/smithy-lang/smithy-typescript/commits/@smithy/property-provider@4.3.3/packages/property-provider )
---
updated-dependencies:
- dependency-name: "@smithy/property-provider"
dependency-version: 4.3.3
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit fe6ad3af19 )
* chore(deps): bump @aws-sdk/client-sts from 3.1045.0 to 3.1049.0 (#1782 )
Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts ) from 3.1045.0 to 3.1049.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1049.0/clients/client-sts )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
dependency-version: 3.1049.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 4684f47f89 )
* chore: reconcile lockfile and test formatting
* chore: Update dist
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
Co-authored-by: Sylvain Verly <sylvain.verly@gmail.com >
2026-05-26 10:06:35 -07:00
Tom Keller
c39f282697
fix: additional filesystem checks ( #1799 )
...
Release-As: 6.1.2
2026-05-26 09:44:48 -07:00
Tom Keller
3cc0e19239
chore: unstage devel changes ( #1786 )
...
* Revert "chore: Update dist"
This reverts commit e8614cfbf0 .
* Revert "chore(deps): bump @aws-sdk/client-sts from 3.1045.0 to 3.1049.0 (#1782 )"
This reverts commit 4684f47f89 .
* Revert "chore: Update dist"
This reverts commit 48b8685c96 .
* Revert "chore(deps-dev): bump @smithy/property-provider from 4.3.1 to 4.3.3 (#1783 )"
This reverts commit fe6ad3af19 .
* Revert "chore: Update dist"
This reverts commit 2520c5e921 .
* Revert "chore(deps-dev): bump @aws-sdk/credential-provider-env (#1784 )"
This reverts commit bc1093db1d .
* Revert "chore(deps-dev): bump @types/node from 25.7.0 to 25.9.0 (#1785 )"
This reverts commit ffde832a1d .
* Revert "chore: Update dist"
This reverts commit 707acd96f6 .
* Revert "chore(deps): bump @smithy/node-http-handler from 4.7.1 to 4.7.3 (#1781 )"
This reverts commit a7c33ae483 .
* Revert "chore: update README for additional claim support (#1779 )"
This reverts commit 713aaabfec .
* Revert "chore: Update dist"
This reverts commit e6e8eba750 .
* Revert "fix: skip credential check on output-env-credentials: false (#1778 )"
This reverts commit 58e7c47adf .
* Revert "chore: document forgejo compatibility (#1776 )"
This reverts commit f35a7d7d7e .
* Revert "chore: Update dist"
This reverts commit 3884f59ecd .
* Revert "feat: add additional session tags by default (#1775 )"
This reverts commit e0ba768507 .
* Revert "chore: Update dist"
This reverts commit 6795889618 .
* Revert "feat: expose run id in STS client user-agent (#1774 )"
This reverts commit 29d1be3027 .
* Revert "chore(deps-dev): bump @types/node from 25.6.0 to 25.7.0 (#1773 )"
This reverts commit ef734cca81 .
* Revert "chore(deps-dev): bump @biomejs/biome from 2.4.14 to 2.4.15 (#1772 )"
This reverts commit 7521c55910 .
* Revert "chore: Update dist"
This reverts commit c0e2737f14 .
* Revert "chore(deps): bump @smithy/node-http-handler from 4.6.1 to 4.7.1 (#1770 )"
This reverts commit dbd503f368 .
* Revert "chore: Update dist"
This reverts commit 18a236fbd1 .
* Revert "chore(deps-dev): bump @smithy/property-provider from 4.2.14 to 4.3.1 (#1771 )"
This reverts commit 1ab31502aa .
* Revert "chore(deps-dev): bump @vitest/coverage-v8 from 4.1.5 to 4.1.6 (#1768 )"
This reverts commit 1fb495c4b2 .
* Revert "chore: Update dist"
This reverts commit 1e8fec8ea1 .
* Revert "chore(deps): bump @aws-sdk/client-sts from 3.1044.0 to 3.1045.0 (#1767 )"
This reverts commit a388f23f7d .
* Revert "chore: update documentation for environment workflows (#1766 )"
This reverts commit 3f7e1b63d7 .
* Revert "feat: add regex validation to role-session-name (#1765 )"
This reverts commit e35449909c .
* Revert "chore: Update dist"
This reverts commit 958a80fc34 .
* Revert "feat: add more retry logic and better logging (#1764 )"
This reverts commit 540d0c13ae .
* Revert "chore: automate README version bumping (#1763 )"
This reverts commit 07ada0fe07 .
* Revert "chore: Update dist"
This reverts commit f8d4eb68a9 .
* Revert "feat: support custom STS endpoints (#1762 )"
This reverts commit 8d52d05d7a .
* Revert "chore: Update dist"
This reverts commit 681892c11b .
* Revert "chore: configure codeql to ignore generated code (#1760 )"
This reverts commit dc2353e57a .
* Revert "feat: Allow custom session tags to be passed when assuming a role (#1759 )"
This reverts commit 61f50f630f .
* Revert "chore: automatic major version tagging (#1565 )"
This reverts commit c36525a567 .
* Revert "chore: bump unit test node version (#1758 )"
This reverts commit 39d1702721 .
* Revert "chore(deps): bump @aws-sdk/client-sts from 3.1043.0 to 3.1044.0 (#1754 )"
This reverts commit 4cfda40a13 .
* Revert "chore(deps-dev): bump @biomejs/biome from 2.4.13 to 2.4.14 (#1756 )"
This reverts commit 8856e12f3a .
* Revert "chore(deps): bump @actions/core from 2.0.3 to 3.0.1 (#1746 )"
This reverts commit 64d8e82527 .
* Revert "chore(deps-dev): bump vitest from 3.2.4 to 4.1.5 (#1748 )"
This reverts commit 78f374f6d1 .
2026-05-25 12:19:31 -07:00
Tom Keller
713aaabfec
chore: update README for additional claim support ( #1779 )
...
* chore: update README for additional claim support
* chore: lint fix (whitespace)
2026-05-14 14:50:49 -07:00
Tom Keller
58e7c47adf
fix: skip credential check on output-env-credentials: false ( #1778 )
...
Closes #1554 .
2026-05-14 13:39:34 -07:00
Tom Keller
f35a7d7d7e
chore: document forgejo compatibility ( #1776 )
...
* chore: document forgejo compatibility
* chore: linting fixes
2026-05-13 15:49:18 -07:00
Tom Keller
e0ba768507
feat: add additional session tags by default ( #1775 )
...
Closes #390 .
Note that 50 session tags are the AWS default, and this commit changes
our default set from 7 tags to 15 tags. This commit includes logic to
split the tags into "required" vs "overridable". Required tags are this
action's previous defaults and could never be overridden. Overridable
tags are the new set and can be overridden by custom-tags. The action
will not add tags if the addition plus the required plus the user's
custom tags exceed the AWS limit of 50 total tags. This ensures
backwards compat for the tag additions.
2026-05-13 14:43:50 -07:00
Tom Keller
29d1be3027
feat: expose run id in STS client user-agent ( #1774 )
...
* feat: expose run id in STS client user-agent
Closes #483 .
This commit modifies the user-agent string so that it includes the
GITHUB_RUN_ID and the GITHUB_RUN_ATTEMPT, in the format typically used
by the SDK. User agent strings are logged to CloudTrail, allowing users
to correlate CloudTrail events with GHA runs. We took this approach
instead of logging the ACCESS_KEY_ID as suggested in the issue to avoid
logging sensitive information.
* feat: add github_action to ua string
2026-05-12 16:18:34 -07:00
Tom Keller
3f7e1b63d7
chore: update documentation for environment workflows ( #1766 )
...
Closes #1238 .
2026-05-11 23:08:10 +00:00
Tom Keller
e35449909c
feat: add regex validation to role-session-name ( #1765 )
...
Previously invalid role session names would get errors from the STS
API instead of this action rejecting them, causing unnecessary retries.
Now we check them and fail early.
Closes #1656 . That FR recommended that we sanitize the name before
sending to STS, but instead we error to not silently change the user's
selected session name (avoiding the potential security sharp edge)
2026-05-11 21:32:33 +00:00
Tom Keller
540d0c13ae
feat: add more retry logic and better logging ( #1764 )
...
Wraps exportAccountId and validateCredentials calls in retryAndBackoff.
Closes #1681 . Adds a label parameter to retryAndBackoff for better
info-level log messages.
2026-05-11 10:00:14 -07:00
Tom Keller
07ada0fe07
chore: automate README version bumping ( #1763 )
...
Closes #1420 .
2026-05-08 10:36:29 -07:00
Tom Keller
8d52d05d7a
feat: support custom STS endpoints ( #1762 )
...
Closes #1067 . This is a advanced option
and is not needed for most deployments.
2026-05-07 14:50:17 -07:00
Tom Keller
dc2353e57a
chore: configure codeql to ignore generated code ( #1760 )
2026-05-06 15:29:32 -07:00
Tom Keller and Sylvain Verly
61f50f630f
feat: Allow custom session tags to be passed when assuming a role ( #1759 )
...
* Add possibility to input custom session tags
* Use json for input to custom-tags, add documentation for custom-tags
* Add more examples
* Simplify example to avoid parse error
* Add input validation for custom tags
* Fix unit tests for custom-tags
* Add debugging message
* Skip failing test for now
* Build package
* Remove some unused validation for custom tags
* feat: add validation for custom session tags
Harden the custom-tags feature against misuse and
misconfiguration:
- Validate input is a JSON object (reject arrays, primitives, null)
- Enforce STS tag constraints: key length (128), value length (256),
allowed characters
- Reject nested object/array values that would silently stringify to
'[object Object]'
- Block overriding default session tags (GitHub, Repository,
Workflow, etc.)
- Enforce 50-tag session limit
- Warn when custom-tags used with OIDC or web identity
- Fix missing await on helpers test assertion
- Remove unused CUSTOM_TAGS_JSON_INPUTS fixture
- Normalize test mocking to vi.mocked() pattern
---------
Co-authored-by: Sylvain Verly <sylvain.verly@gmail.com >
2026-05-06 15:22:56 -07:00
Tom Keller
39d1702721
chore: bump unit test node version ( #1758 )
2026-05-06 20:44:44 +00:00
a7f0c828ac
feat: Support usage of AWS Profiles ( #1696 )
...
* Support usage of AWS Profiles
* squash merge main updates w feature branch
Squashed commit of the following:
commit ef2df4679f908ff30d5a711258ace2fa906c4bf3
Author: Michael Lehmann <lehmanmj@amazon.com >
Date: Tue Mar 17 11:24:04 2026 -0700
dist update
commit db3779a0e9
Author: Jan Feddern <jf@novatec-gmbh.de >
Date: Sun Dec 21 11:28:36 2025 +0100
Support usage of AWS Profiles
* chore: Update dist
* consistent outputEnvCredentials
* take out tests temporarily
* chore: Update dist
* debug changes for static creds
* remove debug and only cleanup profile if it was set
* formatting fixes + remove profile from cleanup test
* feat: Support usage of AWS Profiles
Adds a config option to support writing to profile files instead of
exporting environment variables.
Closes #1594 . Closes #1586 . Closes #112 .
* chore: fix failing test case and windows path
* chore: lint project markdown files
* chore: update scripts in package.json and tsconfig update
* make env vars consistent, readme linting
* debug for profile path env vars
* remove debug
* remove profile backups
* error if we try to overwrite
* add option to overwrite existing profiles
* tests for overwrite option
* default to no env vars
* remove default from action file
* add static credential env var support
* validation fix for static creds multi profile
* debug sleep for static creds validation
* wait syntax
* undo sleep for creds validate
* test coverage, readme/action yml updates, validate creds later on self-hosted runner
* security dependency updates
* chore(deps-dev): bump @biomejs/biome from 2.4.8 to 2.4.10 (#1709 )
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.4.8 to 2.4.10.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.10/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.4.10
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @aws-sdk/credential-provider-env (#1713 )
Bumps [@aws-sdk/credential-provider-env](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages-internal/credential-provider-env ) from 3.972.22 to 3.972.24.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages-internal/credential-provider-env/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/HEAD/packages-internal/credential-provider-env )
---
updated-dependencies:
- dependency-name: "@aws-sdk/credential-provider-env"
dependency-version: 3.972.24
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: Update dist
* chore(deps): bump @aws-sdk/client-sts from 3.1015.0 to 3.1020.0 (#1710 )
Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts ) from 3.1015.0 to 3.1020.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases )
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1020.0/clients/client-sts )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
dependency-version: 3.1020.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: Update dist
* fix: do not write empty profile files
Also cleanup fix, additional test, README typo cleanup
* linting fix
* chore: linting fix
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Jan Feddern <jf@novatec-gmbh.de >
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
Co-authored-by: GitHub Actions <github-aws-sdk-osds-automation@amazon.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 16:27:00 -07:00
Tom Keller
e6bb6e5ff3
chore: add text to CONTRIBUTING.md ( #1719 )
2026-04-03 16:06:45 -07:00
Tom Keller
11b1c58b24
feat: add skip cleanup option ( #1716 )
...
Closes #1545
2026-04-03 15:00:34 -07:00
Tom Keller
a7a2c1125c
feat!: update action to use node24 ( #1632 )
2026-01-28 13:49:29 -08:00
Tom Keller
6e3375df07
chore: remove release-please release automation ( #1631 )
2026-01-28 13:13:04 -08:00
Tom Keller
98abed7841
chore: add workflow_dispatch trigger to release workflow ( #1630 )
2026-01-28 11:40:15 -08:00
Tom Keller
a87e741eba
feat: Add global timeout support ( #1487 )
2026-01-27 15:45:43 -08:00
Tom Keller
569add8750
fix: properly expose getProxyForUrl (introduced in #1482 ) ( #1486 )
...
* chore: use stricter typescript config
* fix: properly expose getProxyForUrl (in #1482 )
2026-01-27 15:45:43 -08:00
Tom Keller
c8eae42842
feat: add no-proxy support ( #1482 )
2026-01-27 15:45:43 -08:00
Tom Keller
7de3ac08ca
chore: revert 163b496 ( #1473 )
2026-01-27 15:45:43 -08:00
Tom Keller
9515e12615
chore: update AWS role references to use variables ( #1472 )
2026-01-27 15:45:43 -08:00
Tom Keller
e1f27963af
chore: remove release-please-action override ( #1467 )
2026-01-27 15:45:43 -08:00
Tom Keller
0a6b7158f2
chore: Fix markdown link formatting in README.md ( #1466 )
2026-01-27 15:45:43 -08:00
Tom Keller
ecfe99e00b
chore: update README with versioning ( #1465 )
...
* chore: update README with versioning and license info
* chore: fix typo
2026-01-27 15:45:43 -08:00
Tom Keller and Michael Lehmann
9fb1716ceb
feat: support account id allowlist ( #1456 )
...
* feat: support account id allowlist
* chore: update readme
---------
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
2026-01-27 15:45:43 -08:00
Tom Keller
4f0bc4ee1c
feat: add skip OIDC option ( #1458 )
2026-01-27 15:45:43 -08:00
Tom Keller
84104e7415
chore: update OS matrix in inline-policy for tests-integ-release.yml ( #1461 )
...
Removed Windows from the OS matrix in the workflow.
2026-01-27 15:45:43 -08:00
Tom Keller
e8cc5bc2e0
chore: update last release sha ( #1450 )
2026-01-27 15:45:42 -08:00
Tom Keller
9466cfb60a
chore: exclude dist and github from release-processing ( #1447 )
2026-01-27 15:45:42 -08:00
Tom Keller and Michael Lehmann
0a2792614c
chore: cleanup input handling ( #1445 )
...
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
2026-01-27 15:45:40 -08:00
Tom Keller
f0523e4a99
chore: update post-release integ test
2026-01-27 15:44:32 -08:00
Tom Keller
e179430bce
use correct ref
2026-01-27 15:44:32 -08:00
Tom Keller
a2e38048be
chore: create tests-integ.yml
2026-01-27 15:44:32 -08:00
Tom Keller
80ed412f2c
fix: update readme to 4.3.1 ( #1424 )
...
This is a fix instead of a chore to force a 4.3.1 tag
Release-as: 4.3.1
2026-01-27 15:44:32 -08:00
Tom Keller
8490feb378
Update CHANGELOG.md
2026-01-27 15:44:32 -08:00
Tom Keller
87ec0e2f9a
feat: depenency update and feature cleanup ( #1414 )
...
* chore: add clean script
* chore: run npm audit fix
* chore: unblock update to vitest 3.x
* chore(deps-dev): update vitest dependencies
Closes #1275
Closes #1276
* chore(deps): update https-proxy-agent and types to match
Closes #1407 .
* chore: add lint:fix script
* feat: support HTTPS_PROXY environment variable
Closes #1061
Closes #861
* feat: output ARN of authenticated prinicpal
Closes #1062
Closes #1191
2026-01-27 15:44:30 -08:00
Tom Keller
83abc2cb18
chore: switch to pull_request_target for dependabot-autoapprove
2026-01-27 15:43:50 -08:00
Tom Keller
627aa7d3f0
Update assume role arn
2026-01-27 15:43:50 -08:00
Tom Keller
2f368822bc
update workflow file ARNs ( #1403 )
2026-01-27 15:43:50 -08:00
Tom Keller
25e258c360
chore: remove unneeded integ test
2026-01-27 15:43:10 -08:00
Tom Keller
7fab3c1652
fix: role chaning on mulitple runs ( #1340 )
2026-01-27 15:42:54 -08:00
Tom Keller and Michael Lehmann
7b4c4016d3
feat: support action inputs as environment variables ( #1338 )
...
* support action inputs as environment variables
* update dist
* fix: update tsconfig for package step
* fix: update environment variable setting method
* fix: make biome happy
---------
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
2026-01-27 15:42:54 -08:00
Tom Keller
1584b8b0e2
feat: Add global timeout support ( #1487 )
2025-09-11 13:32:59 -07:00
Tom Keller
cea42985ac
fix: properly expose getProxyForUrl (introduced in #1482 ) ( #1486 )
...
* chore: use stricter typescript config
* fix: properly expose getProxyForUrl (in #1482 )
2025-09-11 12:35:26 -07:00
Tom Keller
dde9b22a8e
feat: add no-proxy support ( #1482 )
2025-09-09 16:23:05 -07:00
Tom Keller
1ec058b7a1
chore: revert 163b496 ( #1473 )
2025-09-04 23:52:28 +00:00
Tom Keller
163b496f8b
chore: update AWS role references to use variables ( #1472 )
2025-09-04 16:46:38 -07:00
Tom Keller
f2e9d495b0
chore: remove release-please-action override ( #1467 )
2025-09-03 13:18:21 -07:00
Tom Keller
337f510212
chore: Fix markdown link formatting in README.md ( #1466 )
2025-09-03 18:41:20 +00:00
Tom Keller
f001d79eaa
chore: update README with versioning ( #1465 )
...
* chore: update README with versioning and license info
* chore: fix typo
2025-09-03 11:35:44 -07:00
Tom Keller and Michael Lehmann
c4be498953
feat: support account id allowlist ( #1456 )
...
* feat: support account id allowlist
* chore: update readme
---------
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
2025-09-02 10:38:09 -07:00
Tom Keller
8c45f6b081
feat: add skip OIDC option ( #1458 )
2025-08-29 17:25:09 -07:00
Tom Keller
a5c87b6a6b
chore: update OS matrix in inline-policy for tests-integ-release.yml ( #1461 )
...
Removed Windows from the OS matrix in the workflow.
2025-08-29 17:18:16 -07:00
Tom Keller
0eb446ecb2
chore: update last release sha ( #1450 )
2025-08-20 13:02:28 -07:00
Tom Keller
bd1e9e7da1
chore: exclude dist and github from release-processing ( #1447 )
2025-08-20 11:48:11 -07:00
Tom Keller and Michael Lehmann
74b3e27aa8
chore: cleanup input handling ( #1445 )
...
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
2025-08-20 11:36:42 -07:00
Tom Keller
3821430d17
chore: update post-release integ test
2025-08-15 15:42:07 -07:00
Tom Keller
3df3b9e987
use correct ref
2025-08-15 15:29:45 -07:00
Tom Keller
a91a6303b8
chore: create tests-integ.yml
2025-08-15 15:29:45 -07:00
Tom Keller
be2e7ad815
fix: update readme to 4.3.1 ( #1424 )
...
This is a fix instead of a chore to force a 4.3.1 tag
Release-as: 4.3.1
2025-08-04 23:17:49 +00:00
Tom Keller
b8b4fdbcd4
Update CHANGELOG.md
2025-08-04 13:47:32 -07:00
Tom Keller
59489ba544
feat: depenency update and feature cleanup ( #1414 )
...
* chore: add clean script
* chore: run npm audit fix
* chore: unblock update to vitest 3.x
* chore(deps-dev): update vitest dependencies
Closes #1275
Closes #1276
* chore(deps): update https-proxy-agent and types to match
Closes #1407 .
* chore: add lint:fix script
* feat: support HTTPS_PROXY environment variable
Closes #1061
Closes #861
* feat: output ARN of authenticated prinicpal
Closes #1062
Closes #1191
2025-08-04 10:39:42 -07:00
Tom Keller
243d714529
Merge branch 'main' into patch-1
2025-07-31 13:20:49 -07:00
Tom Keller
6b8bbaed05
chore: switch to pull_request_target for dependabot-autoapprove
2025-07-31 13:06:19 -07:00
Tom Keller
8128bbdaac
Update assume role arn
2025-07-31 12:44:18 -07:00
Tom Keller
a31e903eec
Merge branch 'main' into remove-integ
2025-07-25 21:23:12 -07:00
Tom Keller
b88116ba3b
chore: remove unneeded integ test
2025-07-25 21:22:44 -07:00
Tom Keller
fd13a40502
update workflow file ARNs ( #1403 )
2025-07-25 22:08:17 +00:00
Tom Keller
9e38641911
fix: role chaning on mulitple runs ( #1340 )
2025-04-25 16:11:28 -07:00
Tom Keller and Michael Lehmann
2c168adcae
feat: support action inputs as environment variables ( #1338 )
...
* support action inputs as environment variables
* update dist
* fix: update tsconfig for package step
* fix: update environment variable setting method
* fix: make biome happy
---------
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com >
2025-04-25 13:15:03 -07:00
Tom Keller
f021516513
chore: remove role session name
2025-02-04 17:18:15 -08:00
Tom Keller
ce290d67fe
chore: change dependabot role session name
2025-02-04 17:12:00 -08:00
Tom Keller
1780ebd97b
chore: create one-off test for CAWSC
2025-02-04 17:06:10 -08:00
Tom Keller
134d71efe0
fix: build failure due to tests ( #1283 )
2025-02-04 15:05:30 -08:00
Tom Keller
97834a484a
fix: add id-token permission to automerge
2024-11-06 15:30:39 -08:00
Tom Keller
16ffc4e9d9
chore: remove mergify ( #1196 )
...
* feat: autoapprove dependabot PRs without mergify
* chore: remove mergify
* fix: approve dependabot PRs as OSDS bot
2024-11-05 15:55:23 -08:00
Tom Keller
bfd218503e
fix: force push packaged files to main
2024-11-04 11:33:37 -08:00
Tom Keller
83b5a56547
fix: cpy syntax on npm package ( #1195 )
2024-11-04 11:26:48 -08:00
Tom Keller
ccbdafa425
chore: migrate to biomejs ( #1167 )
...
* chore: migrate to biomejs
* chore: migrate to biomejs
* chore: migrate from jest to vitest
* chore: error on lint warnings
* chore: remove obsolete depedencies
2024-11-04 10:19:12 -08:00