mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-04 06:15:07 +09:00
chore: Update dist
This commit is contained in:
Vendored
+3
-3
@@ -205,18 +205,18 @@ function exportCredentials(params){
|
|||||||
// AWS_ACCESS_KEY_ID:
|
// AWS_ACCESS_KEY_ID:
|
||||||
// Specifies an AWS access key associated with an IAM user or role
|
// Specifies an AWS access key associated with an IAM user or role
|
||||||
core.exportVariable('AWS_ACCESS_KEY_ID', accessKeyId);
|
core.exportVariable('AWS_ACCESS_KEY_ID', accessKeyId);
|
||||||
core.setSecret('AWS_ACCESS_KEY_ID', accessKeyId);
|
core.setSecret(accessKeyId);
|
||||||
|
|
||||||
// AWS_SECRET_ACCESS_KEY:
|
// AWS_SECRET_ACCESS_KEY:
|
||||||
// Specifies the secret key associated with the access key. This is essentially the "password" for the access key.
|
// Specifies the secret key associated with the access key. This is essentially the "password" for the access key.
|
||||||
core.exportVariable('AWS_SECRET_ACCESS_KEY', secretAccessKey);
|
core.exportVariable('AWS_SECRET_ACCESS_KEY', secretAccessKey);
|
||||||
core.setSecret('AWS_SECRET_ACCESS_KEY', secretAccessKey);
|
core.setSecret(secretAccessKey);
|
||||||
|
|
||||||
// AWS_SESSION_TOKEN:
|
// AWS_SESSION_TOKEN:
|
||||||
// Specifies the session token value that is required if you are using temporary security credentials.
|
// Specifies the session token value that is required if you are using temporary security credentials.
|
||||||
if (sessionToken) {
|
if (sessionToken) {
|
||||||
core.exportVariable('AWS_SESSION_TOKEN', sessionToken);
|
core.exportVariable('AWS_SESSION_TOKEN', sessionToken);
|
||||||
core.setSecret('AWS_SESSION_TOKEN', sessionToken);
|
core.setSecret(sessionToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user