diff --git a/index.js b/index.js index 04304c8..fd24219 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ const getTemporaryCredentials = (config, callback) => { }, role: { arn: process.env.AWS_ROLE_ARN || '', - sessionName: process.env.AWS_ROLE_SESSION_NAME || 'temporary' + sessionName: process.env.AWS_ROLE_SESSION_NAME || 'temporary', durationSeconds: process.env.AWS_ROLE_DURATION_SECONDS || 43200 }, key: {