mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2286] AWS SSO Support with aws-actions/configure-aws-credentials #1063
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1063
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kotowick on GitHub (Apr 10, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2286
Act version
act version 0.2.55
Feature description
Does ACT support aws-actions/configure-aws-credentials@v4 from a local machine using AWS SSO?
I tried with role-chaining too.
The below config works in Github Actions, just not locally.
permissions:
id-token: write
contents: read
id: aws-creds
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: some_role
role-session-name: some_session
aws-region: some_region
@fjcero commented on GitHub (Apr 14, 2024):
+1!
@fiskhest commented on GitHub (Apr 22, 2024):
I am no longer an AWS user so I cannot confirm. However, reading the docs for that action,
If no access key credentials are given in the action inputs, this action will use credentials from the runner environment using the default methods for the AWS SDK for Javascript.which leads to https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-credentials-node.html that saysfromIni()is supported. So having configuredaws-cli, something likeact --container-options "-v /home/<user>/.aws:/home/runner/.aws"might just work. YMMV.Edit: also found this, maybe it helps. https://github.com/nektos/act/issues/409#issuecomment-1069241315