Skip to content

feat(aws.configure-credentials): add role duration inputs - #50

Merged
posquit0 merged 1 commit into
mainfrom
feat/aws-role-duration
Nov 3, 2026
Merged

posquit0 merged 1 commit into
mainfrom
feat/aws-role-duration

Conversation

@posquit0

@posquit0 posquit0 commented Nov 3, 2026

Copy link
Copy Markdown
Member

👋 Background

The AWS credentials action currently does not expose session duration, so callers cannot customize the duration of OIDC or target-role sessions.

⚙️ Description

  • Add optional aws_github_oidc_role_duration and aws_chained_role_duration inputs, both measured in seconds and defaulting to 3600 to preserve existing behavior.
  • Pass each input to the corresponding upstream role-duration-seconds option. The chained input also applies when assuming the target role with IAM user access keys.
  • Document role session limits: OIDC role chaining is capped at one hour; direct OIDC and IAM user access-key role assumption can use the role's configured maximum, up to 12 hours.

🚨 To Reviewers

Validation passed:

  • yamllint .github/actions/aws.configure-credentials/action.yaml
  • uvx check-jsonschema --builtin-schema vendor.github-actions .github/actions/aws.configure-credentials/action.yaml
  • git diff --check

Live AWS authentication was not exercised. Duration values are forwarded without clamping; AWS enforces the session limits.

@github-actions github-actions Bot added 💾 actions This issue or pull request is related to actions. size/XS Extra Small size issue or PR. labels Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

GitHub Actions Integration

Repository jactionlint check-jsonschema (workflows) check-jsonschema (actions)
tedilabs/github-actions ✅ ✅ ✅

✅ All 1 passed.

@posquit0
posquit0 merged commit b7b94bd into main Nov 3, 2026
7 checks passed
@posquit0
posquit0 deleted the feat/aws-role-duration branch November 3, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💾 actions This issue or pull request is related to actions. size/XS Extra Small size issue or PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant