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.
This commit is contained in:
Alex Blewitt
2021-10-09 09:13:53 +01:00
parent f350a92ff6
commit 2f8dfd0ed4
3 changed files with 9 additions and 1 deletions

View File

@@ -4,6 +4,10 @@ branding:
icon: 'cloud'
color: 'orange'
inputs:
audience:
default: 'sts.amazonaws.com'
description: 'The audience to use for the OIDC provider'
required: false
aws-access-key-id:
description: >-
AWS Access Key ID. This input is required if running in the GitHub hosted environment.