Compare commits

..
3 Commits
8 changed files with 4118 additions and 5756 deletions

No files matched your search

@@ -176,7 +176,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install tinyproxy
sudo apparmor_parser -R /etc/apparmor.d/tinyproxy || true
- name: start tinyproxy
run: tinyproxy -c .github/integ_tests/tinyproxy.conf
- name: Configure AWS credentials
+1 -1
View File
@@ -1,5 +1,5 @@
{
".release-please-manifest.json": "4.0.2",
"package.json": "6.0.0",
".": "6.3.1"
".": "6.3.0"
}
-7
View File
@@ -2,13 +2,6 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [6.3.1](https://github.com/aws-actions/configure-aws-credentials/compare/v6.3.0...v6.3.1) (2026-11-25)
### Bug Fixes
* abort proxied requests when CONNECT does not return HTTP 200 ([#2037](https://github.com/aws-actions/configure-aws-credentials/issues/2037)) ([f9f13dc](https://github.com/aws-actions/configure-aws-credentials/commit/f9f13dcf7f3201e964ea61246bdc67dbd587c335))
## [6.3.0](https://github.com/aws-actions/configure-aws-credentials/compare/v6.2.4...v6.3.0) (2026-09-11)
+18 -18
View File
@@ -61,7 +61,7 @@ Authenticate to AWS in GitHub Actions (and others)! Works especially well with
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
role-to-assume: <Role ARN you created in step 2>
aws-region: <AWS Region you want to use>
@@ -269,7 +269,7 @@ specify the profile name as an environment variable in the job step:
```yaml
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::123456789100:role/my-role
@@ -287,14 +287,14 @@ step environment variables:
```yaml
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::123456789100:role/my-first-role
aws-profile: firstRoleInChain
- name: assume second role
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::987654321000:role/my-second-role
@@ -330,7 +330,7 @@ this action will always consider the `HTTP_PROXY` environment variable.
Manually configured proxy:
```yaml
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-2
role-to-assume: my-github-actions-role
@@ -477,7 +477,7 @@ line.
<summary>Inline session policy examples</summary>
```yaml
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
inline-session-policy: '{"Version":"2012-10-17","Statement":[{"Sid":"Stmt1","Effect":"Allow","Action":"s3:List*","Resource":"*"}]}'
```
@@ -485,7 +485,7 @@ with:
Or we can have a nicely formatted JSON as well:
```yaml
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
inline-session-policy: >-
{
@@ -513,7 +513,7 @@ the role.
<summary>Managed session policy examples</summary>
```yaml
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
managed-session-policies: arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess
```
@@ -521,7 +521,7 @@ with:
And we can pass multiple managed policies likes this:
```yaml
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
managed-session-policies: |
arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess
@@ -567,7 +567,7 @@ specify the audience through the `audience` input:
```yaml
- name: Configure AWS Credentials for China region audience
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
audience: sts.amazonaws.com.cn
aws-region: cn-northwest-1
@@ -728,7 +728,7 @@ Provider. The audience would still be `sts.amazonaws.com` by default.
```yaml
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
@@ -744,13 +744,13 @@ environment variable and use it to assume the role
```yaml
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
role-session-name: MySessionName
- name: Configure other AWS Credentials
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::987654321000:role/my-second-role
@@ -772,7 +772,7 @@ alternatively, the `TagSession` permission can be omitted if you are using the
```yaml
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -793,7 +793,7 @@ like `role-to-assume: my-github-actions-role`.
```yaml
- name: Configure AWS Credentials 1
id: creds
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
@@ -802,7 +802,7 @@ like `role-to-assume: my-github-actions-role`.
run: |
aws sts get-caller-identity
- name: Configure AWS Credentials 2
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-2
aws-access-key-id: ${{ steps.creds.outputs.aws-access-key-id }}
@@ -833,14 +833,14 @@ provided.
```yaml
- name: Configure AWS Credentials for Dev
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::111111111111:role/dev-role
aws-profile: dev
- name: Configure AWS Credentials for Prod
uses: aws-actions/configure-aws-credentials@v6.3.1
uses: aws-actions/configure-aws-credentials@v6.3.0
with:
aws-region: us-west-2
role-to-assume: arn:aws:iam::222222222222:role/prod-role
+27 -56
View File
@@ -222,7 +222,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The following npm package may be included in this product:
- @aws-sdk/client-sts@3.1175.0
- @aws-sdk/client-sts@3.1164.0
This package contains the following license:
@@ -432,8 +432,8 @@ Apache License
The following npm packages may be included in this product:
- @aws-sdk/signature-v4-multi-region@3.996.52
- @smithy/core@3.41.0
- @aws-sdk/signature-v4-multi-region@3.996.51
- @smithy/core@3.39.0
- @smithy/types@4.20.0
These packages each contain the following license:
@@ -645,10 +645,10 @@ Apache License
The following npm packages may be included in this product:
- agent-base@9.0.0
- degenerator@7.0.2
- degenerator@7.0.1
- https-proxy-agent@9.1.0
- pac-resolver@9.0.2
- proxy-agent@8.0.3
- pac-resolver@9.0.1
- proxy-agent@8.0.2
- socks-proxy-agent@10.1.0
These packages each contain the following license:
@@ -712,7 +712,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm packages may be included in this product:
- data-uri-to-buffer@8.0.0
- get-uri@8.0.2
- get-uri@8.0.1
These packages each contain the following license:
@@ -743,7 +743,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm package may be included in this product:
- pac-proxy-agent@9.1.1
- pac-proxy-agent@9.1.0
This package contains the following license:
@@ -832,7 +832,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm package may be included in this product:
- @aws-sdk/core@3.981.1
- @aws-sdk/core@3.980.1
This package contains the following license:
@@ -1042,14 +1042,14 @@ Apache License
The following npm packages may be included in this product:
- @aws-sdk/credential-provider-env@3.972.85
- @aws-sdk/credential-provider-ini@3.973.31
- @aws-sdk/credential-provider-node@3.972.98
- @aws-sdk/token-providers@3.1175.0
- @aws-sdk/types@3.975.1
- @aws-sdk/xml-builder@3.972.43
- @aws-sdk/credential-provider-env@3.972.82
- @aws-sdk/credential-provider-ini@3.973.27
- @aws-sdk/credential-provider-node@3.972.94
- @aws-sdk/token-providers@3.1164.0
- @aws-sdk/types@3.975.0
- @aws-sdk/xml-builder@3.972.42
- @smithy/credential-provider-imds@4.5.2
- @smithy/fetch-http-handler@5.8.1
- @smithy/fetch-http-handler@5.8.0
- @smithy/node-http-handler@4.14.2
- @smithy/signature-v4@5.7.5
@@ -1261,9 +1261,9 @@ Apache License
The following npm packages may be included in this product:
- @aws-sdk/credential-provider-process@3.972.85
- @aws-sdk/credential-provider-sso@3.973.29
- @aws-sdk/credential-provider-web-identity@3.972.91
- @aws-sdk/credential-provider-process@3.972.82
- @aws-sdk/credential-provider-sso@3.973.26
- @aws-sdk/credential-provider-web-identity@3.972.88
These packages each contain the following license:
@@ -1473,9 +1473,9 @@ Apache License
The following npm packages may be included in this product:
- @aws-sdk/credential-provider-http@3.972.87
- @aws-sdk/credential-provider-login@3.972.93
- @aws-sdk/nested-clients@3.998.4
- @aws-sdk/credential-provider-http@3.972.84
- @aws-sdk/credential-provider-login@3.972.89
- @aws-sdk/nested-clients@3.998.1
These packages each contain the following license:
@@ -1572,7 +1572,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm package may be included in this product:
- basic-ftp@6.2.6
- basic-ftp@5.3.1
This package contains the following license:
@@ -1697,11 +1697,12 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-----------
The following npm package may be included in this product:
The following npm packages may be included in this product:
- proxy-agent-negotiate@1.1.0
- quickjs-wasi@2.2.0
This package contains the following license:
These packages each contain the following license:
MIT
@@ -1709,7 +1710,7 @@ MIT
The following npm package may be included in this product:
- netmask@2.1.2
- netmask@2.1.1
This package contains the following license:
@@ -1737,36 +1738,6 @@ SOFTWARE.
-----------
The following npm package may be included in this product:
- quickjs-wasi@3.7.0
This package contains the following license:
MIT License
Copyright (c) 2026 Vercel, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-----------
The following npm package may be included in this product:
- undici@6.29.1
Generated Vendored
+3701 -5209
View File
File diff suppressed because it is too large. Load diff
+363 -456
View File
File diff suppressed because it is too large. Load diff
+8 -8
View File
@@ -1,7 +1,7 @@
{
"name": "configure-aws-credentials",
"description": "A GitHub Action to configure AWS credentials",
"version": "6.3.1",
"version": "6.3.0",
"scripts": {
"build": "tsc",
"lint": "biome check --error-on-warnings ./src ./test && markdownlint -i node_modules -i CHANGELOG.md '**/*.md'",
@@ -17,27 +17,27 @@
"organization": true
},
"devDependencies": {
"@aws-sdk/credential-provider-env": "^3.972.85",
"@biomejs/biome": "2.6.8",
"@aws-sdk/credential-provider-env": "^3.972.80",
"@biomejs/biome": "2.6.6",
"@smithy/property-provider": "^4.5.2",
"@types/node": "^26.6.6",
"@vitest/coverage-v8": "5.1.1",
"@vitest/coverage-v8": "5.1.0",
"aws-sdk-client-mock": "^4.1.0",
"esbuild": "^0.28.2",
"generate-license-file": "^4.2.5",
"json-schema": "^0.4.0",
"markdownlint-cli": "^0.50.0",
"memfs": "^4.80.1",
"memfs": "^4.80.0",
"standard-version": "^9.5.0",
"typescript": "^7.0.2",
"vitest": "5.1.1"
"vitest": "5.1.0"
},
"dependencies": {
"@actions/core": "^3.0.1",
"@aws-sdk/client-sts": "^3.1175.0",
"@aws-sdk/client-sts": "^3.1164.0",
"@aws-sdk/credential-provider-node": "^3.972.92",
"@smithy/node-http-handler": "^4.14.2",
"proxy-agent": "^8.0.3"
"proxy-agent": "^8.0.2"
},
"keywords": [
"aws",