Commit Graph

42 Commits

Author SHA1 Message Date
Tom Keller e1e17a757e Version 2 release (#685)
* Update README for v2

* Remove codeql analysis

* Version bump checkout action

* Tweak closed issue message

* Changes for v2 release

* Adjust action name

* Update CHANGELOG

* Update action to use node 16

* Update versions

* Typo
2023-03-06 16:35:37 -08:00
Peter Woodworth 567d4149d6 Merge pull request #563 from russau/docs/readme-role-update
Minor: include a role condition test for AUD in sample CFN template
2023-02-21 18:49:30 -08:00
Jackson Welsh 32eb1b4a66 feat: document mask-aws-account-id input (#606)
Closes aws-actions#304

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-22 02:36:17 +00:00
Eduard Marbach c719b7b5e1 Feat: proxy implementation (#246)
* feat: implement proxy feature
* see #222

* refactor: pr changes

Co-authored-by: Peter Woodworth <44349620+peterwoodworth@users.noreply.github.com>
2022-11-17 23:35:16 +00:00
russ 85ec61b5fe include a role condition test for AUD in sample CFN template 2022-11-03 10:45:32 +11:00
peterwoodworth bf1b24f227 address fixes 2022-10-13 13:44:39 -07:00
peterwoodworth 59e17413a1 announce v1-node16 branch and update automation on master 2022-10-13 13:37:46 -07:00
Daniel Barnes eb745fe265 chore: update role duration description (#486)
* fix: role duration desc.

https://github.com/aws-actions/configure-aws-credentials/blob/67fbcbb121271f7775d2e7715933280b06314838/index.js#L10
https://github.com/aws-actions/configure-aws-credentials/blob/67fbcbb121271f7775d2e7715933280b06314838/index.js#L315

* bolding for better attention grabbing + session-token update

* spacing for attention

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-10 23:36:08 +00:00
Brendon Smith 5a4b8f03d1 docs: Document GitHub Open ID Connect integration (#300)
* docs: Document GitHub Open ID Connect integration

* docs: Add guidance on configuring OIDC subject

https://github.com/aws-actions/configure-aws-credentials/pull/300#issuecomment-961143871

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-05 01:25:54 +00:00
Alex Blewitt d1edd20a7e Updated README.md for information about using alternate audiences 2022-07-08 23:26:57 +01:00
Alex Blewitt 2f8dfd0ed4 feat: Allow audience to be explicitly specified
The default audience for the GitHub OIDC uses sts.amazonaws.com, but there are
situations when it would be desirable to allow different audience names to be
used instead. Allow this to be specified as an argument to the action.
2022-03-24 10:22:07 +00:00
Graham Campbell c3e3b80272 Update README.md
Co-authored-by: Richard Clarke <richard.clarke@vgw.co>
2022-01-13 10:29:28 +00:00
Graham Campbell b878f4b65b Update token.actions.githubusercontent.com thumbprint 2022-01-12 23:25:13 +00:00
Richard H Boyd 036a4a1ddf feat: upgraded to new GH OIDC API (#284) 2021-10-18 18:33:08 +00:00
Richard H Boyd a78fcb01f7 fix: reverting update to use new API (#274)
* Revert "chore: Update dist"

This reverts commit 9815921334.

* Revert "fix: Updated token retrieval to use new API (#270)"

This reverts commit 20ce4e5ba1.
2021-09-30 18:12:15 +00:00
Richard H Boyd 20ce4e5ba1 fix: Updated token retrieval to use new API (#270)
* feat: OIDC provider (with PR comments)

* feat: OIDC provider (with PR comments)

* updated OIDC based on new GH API
2021-09-29 23:29:33 +00:00
Richard H Boyd b8c74de753 feat: added OIDC (#262)
* feat: OIDC provider (with PR comments)

* chore: Bump jest from 27.2.1 to 27.2.2 (#267)

Bumps [jest](https://github.com/facebook/jest) from 27.2.1 to 27.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.1...v27.2.2)

---
updated-dependencies:
- dependency-name: jest
  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: Bump ansi-regex from 5.0.0 to 5.0.1 (#269)

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump aws-sdk from 2.991.0 to 2.996.0 (#268)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.991.0 to 2.996.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.991.0...v2.996.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  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>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* chore: Update dist

* feat: OIDC provider (with PR comments)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <runner@fv-az209-487.sst5i0nymnhu5a1lxus1lxbvub.xx.internal.cloudapp.net>
2021-09-28 18:30:32 +00:00
市川恭佑 (ebi) c48e1b5784 fix: typo "charcters" in README.md (#241)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-08-16 17:15:51 +00:00
Michael Nesta 8053174404 feat: Add the ability to use a web identity token file (#240)
* feat: Add the ability to use a web identity token file

* mark web identity token file as not required

* fix indentation

* better docs and added support for relative vs absolute paths

* bind sts context and adjust fs calls

* exclude tags if using web identity token file

* fix readme aand adjust tag removal logic

* undo re-ordering of lines

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-08-03 20:35:25 +00:00
Jakub Holy 3042b00962 chore: Add aws-session-token notation to README (#189)
I nearly gave up, believing it is not supported, until I read the action.yml. I think it is worth making this clear already in the README.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-23 16:42:56 +00:00
allisaurus 3b07a5d7d6 chore: Add note about use with aws-cli to README (#181) 2021-03-01 22:17:02 +00:00
KeifferCulbreth baf85d8be9 fix: Make tagging optional (#92)
* fix:making role session tagging optional

* test:improve test coverage

Add test to cover error thrown if access key exists and no secret key provided

* docs: Update README.md

Add details about skipping session tagging during role assumption

Co-authored-by: KeifferCulbreth <KeifferCulbreth@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-08 23:25:05 +00:00
Clare Liguori 0c2c1f7c12 fix: clear session token env var if present for non-session credentials (#65) 2020-05-26 04:00:51 +00:00
Clare Liguori 32a3a7cc43 chore: add table of contents to README 2020-04-19 19:09:20 -07:00
Clare Liguori 35a0f3fe6c chore: make permissions section title more descriptive 2020-04-19 18:40:29 -07:00
J. Davila 0a0b8e52b4 docs: add code block tags 2020-04-15 10:42:33 -07:00
Clare Liguori a20ed60252 feat: don't require access key credentials for self-hosted runners (#42) 2020-03-06 17:59:39 +00:00
Clare Liguori db6655e0af chore: Update docs around AssumeRole permissions (#41) 2020-03-05 11:28:21 -08:00
Clare Liguori 1c435bbd5e feat: Add option to provide external ID (#32)
Fixes #28
2020-03-02 18:11:27 -08:00
Chuan-Yen Chiang 4d0082acf8 feat: Have an ability to configure session name (#29)
* 1. Add 'role-session-name' variable to action.yml
2. Configure roleSessionName with role-session-name from action or default value (GitHubActions)

* Add description on README.md

* update README.md

* update dist/index.js

* add test code

* update context based on comments
2020-03-01 11:47:10 -08:00
Clare Liguori 058322d68a chore(docs): add example of using aws cli 2020-02-12 17:53:12 -08:00
Laurence Armstrong 4faf8cd19a fix: sanitize AWS session tags (#20)
* Sanitize github actor tag

* Add some tests

* Sanitize Github actions workflow name

* Change sanitization character to an asterisk

* Update readme about assuming a role

* Tidy up assume role readme entry more

* Align sanitize spelling to use -ize

* typo: environement -> environment
2020-01-30 21:33:36 -05:00
Michael Hausenblas c2cc6055b3 fixes link to GitHub Actions secrets 2019-12-27 16:53:09 -08:00
Clare Liguori 11ae4e96f3 Add link action.yml for full input/output documentation 2019-11-29 09:44:16 -08:00
Clare Liguori 4572624916 Update example action tag 2019-11-07 21:17:03 -08:00
Clare Liguori 798dfd9d16 Update URLs, upgrade deps 2019-11-07 21:15:05 -08:00
Clare Liguori a9cc37a0ee Add ref to usage example 2019-11-02 17:58:10 -07:00
Clare Liguori 3aa1c0e14d Various fixes
Remove file-based env vars
Add support for session credentials
Add account ID as an output
Remove testing actions workflow
2019-11-01 20:35:42 -07:00
Steve Winton 6c5c32e279 Add build status, usage to README 2019-11-01 10:32:13 -07:00
Clare Liguori 3b916a0bc8 Update README 2019-10-30 16:38:38 -07:00
James Siri 88b2f6086f Updating initial README.md from template 2019-10-30 15:32:59 -07:00
James Siri 2b11cce8f0 Initial commit 2019-10-30 15:32:57 -07:00