@@ -53,7 +53,7 @@ const maxValidityOffsetMs = 4.5 * 60 * 1000;
53
53
54
54
55
55
/**
56
- * Get the current session token from either the instance profile credential
56
+ * Get the current session token from either the instance profile credential
57
57
* cache or environment variables.
58
58
*
59
59
* @param r {Request} HTTP request object (not used, but required for NGINX configuration)
@@ -208,7 +208,7 @@ function _writeCredentialsToFile(credentials) {
208
208
209
209
/**
210
210
* Get the credentials needed to create AWS signatures in order to authenticate
211
- * to AWS service. If the gateway is being provided credentials via a instance
211
+ * to AWS service. If the gateway is being provided credentials via an instance
212
212
* profile credential as provided over the metadata endpoint, this function will:
213
213
* 1. Try to read the credentials from cache
214
214
* 2. Determine if the credentials are stale
@@ -258,7 +258,7 @@ async function fetchCredentials(r) {
258
258
259
259
if ( utils . areAllEnvVarsSet ( 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI' ) ) {
260
260
const relative_uri = process . env [ 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI' ] || '' ;
261
- const uri = ECS_CREDENTIAL_BASE_URI + relative_uri ;
261
+ const uri = ECS_CREDENTIAL_BASE_URI + relative_uri ;
262
262
try {
263
263
credentials = await _fetchEcsRoleCredentials ( uri ) ;
264
264
} catch ( e ) {
@@ -420,7 +420,7 @@ async function _fetchWebIdentityCredentials(r) {
420
420
}
421
421
422
422
/**
423
- * Get the current timestamp. This timestamp will be used across functions in
423
+ * Get the current timestamp. This timestamp will be used across functions in
424
424
* order for there to be no variations in signatures.
425
425
*
426
426
* @returns {Date } The current moment as a timestamp
0 commit comments