You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-2
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,30 @@ Add the following step to your workflow:
15
15
aws-region: us-east-2
16
16
```
17
17
18
+
For example, you can use this action with the AWS CLI available in [GitHub's hosted virtual environments](https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners).
See [action.yml](action.yml) for the full documentation for this action's inputs and outputs.
19
43
20
44
## Credentials
@@ -28,7 +52,7 @@ We recommend following [Amazon IAM best practices](https://docs.aws.amazon.com/I
28
52
29
53
## Assuming a role
30
54
If you would like to use the credentials you provide to this action to assume a role, you can do so by specifying the role ARN in `role-to-assume`.
31
-
The role credentials will then be output instead of the ones you have provided.
55
+
The role credentials will then be output instead of the ones you have provided.
32
56
The default session duration is 6 hours, but if you would like to adjust this you can pass a duration to `role-duration-seconds`.
33
57
34
58
Example:
@@ -44,7 +68,7 @@ Example:
44
68
```
45
69
46
70
### Session tagging
47
-
The session will have the name "GitHubActions" and be tagged with the following tags:
71
+
The session will have the name "GitHubActions" and be tagged with the following tags:
48
72
(`GITHUB_` environment variable definitions can be [found here](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-environment-variables#default-environment-variables))
0 commit comments