rename aws token from sessionToken to securityToken for consistency with AWS docs

This commit is contained in:
Dave Horton
2023-11-30 16:11:23 -05:00
parent 1e57d00b55
commit 4cae96eacb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ async function getAwsAuthToken(
const credentials = {
accessKeyId: data.Credentials.AccessKeyId,
secretAccessKey: data.Credentials.SecretAccessKey,
sessionToken: data.Credentials.SessionToken
securityToken: data.Credentials.SessionToken
};
/* expire 10 minutes before the hour, so we don't lose the use of it during a call */