generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
56 lines (50 loc) · 1.66 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
56
name: cert-2-aws-creds
author: Yenlin Chen (hencrice@)
description: >-
Retrieve temporary AWS credentials using X.509 certificate.
branding:
icon: cloud
color: green
inputs: # inputs to this Action
certificate:
description: >-
The the X.509 certificate (i.e. content of the file)
that will be used when making the call to AWS to retrieve
temporary credentials
required: true
private_key:
description: >-
The private key (i.e. content of the file) generated
from the AWS IoT console. This key will be used when
making the call to AWS to retrieve temporary credentials
required: true
iot_endpoint:
description: >-
The AWS account-specific IoT endpoint for retrieving temporary
credentials. This should be one of the outputs
after the action infrastructure Cloudformation stack
is deployed.
required: true
aws_iot_role_alias:
description: >-
The role alias created for the IAM role that will be assumed by
this GitHub Action. This should be one of the outputs
after the action infrastructure Cloudformation stack
is deployed.
required: true
outputs: # output will be consumable in later steps in the Github Action workflow
aws_access_key_id:
description: >-
Temporary access key. Can be used to authN/authZ requests
to AWS
aws_secret_access_key:
description: >-
Temporary secret access key. Can be used to authN/authZ
requests to AWS
aws_session_token:
description: >-
STS session token. Required to be used along with
the other temporary cerdentials in this output
runs:
using: node12
main: lib/main.js