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
+1
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ See [action.yml](./action.yml) for more detail.
116
116
| disable-retry | Disabled retry/backoff logic for assume role calls. By default, retries are enabled. | No |
117
117
| retry-max-attempts | Limits the number of retry attempts before giving up. Defaults to 12. | No |
118
118
| special-characters-workaround | Uncommonly, some environments cannot tolerate special characters in a secret key. This option will retry fetching credentials until the secret access key does not contain special characters. This option overrides disable-retry and retry-max-attempts. | No |
119
+
| use-existing-credentials | When set, the action will check if existing credentials are valid and exit if they are. Defaults to false. | No |
Copy file name to clipboardexpand all lines: action.yml
+2
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ inputs:
73
73
special-characters-workaround:
74
74
description: Some environments do not support special characters in AWS_SECRET_ACCESS_KEY. This option will retry fetching credentials until the secret access key does not contain special characters. This option overrides disable-retry and retry-max-attempts. This option is disabled by default
75
75
required: false
76
+
use-existing-credentials:
77
+
description: When enabled, this option will check if there are already valid credentials in the environment. If there are, new credentials will not be fetched. If there are not, the action will run as normal.
76
78
outputs:
77
79
aws-account-id:
78
80
description: The AWS account ID for the provided credentials
0 commit comments