-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
55 lines (53 loc) · 1.77 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: 'AWS IAM access credential GitHub action'
author: 'Clowd Haus, LLC'
description: 'Configure AWS IAM access credentials for use with the AWS CLI and AWS SDKs'
branding:
icon: 'user-check'
color: 'orange'
inputs:
aws-region:
description: >
AWS Region to send the request to. If defined, this environment variable
overrides the value for the profile setting region
required: true
aws-access-key-id:
description: 'AWS access key associated with an IAM user or role'
required: true
aws-secret-access-key:
description: 'Specifies the secret key associated with the access key'
required: true
aws-session-token:
description: >
Specifies the session token value that is required if you are using temporary
security credentials that you retrieved directly from AWS STS operations
required: false
mask-aws-account-id:
description: 'Determine if AWS account ID should be hidden from stdout as a secret value'
required: false
default: 'true'
assume-role:
description: 'Determine if role should be assumed to generate credentials'
required: false
default: 'false'
role-arn:
description: 'The Amazon Resource Name (ARN) of the role to assume'
required: false
role-session-name:
description: 'An identifier for the assumed role session'
required: false
default: 'github-action-iam-access'
duration-seconds:
description: 'The duration, in seconds, of the role session'
required: false
default: '900'
external-id:
description: >
A unique identifier that might be required when you assume
a role in another account
required: false
outputs:
aws-account-id:
description: 'The AWS account ID for the provided credentials'
runs:
using: node20
main: dist/index.js