Lines Matching refs:credentials
27 function RequestSigner(request, credentials) { argument
35 this.credentials = credentials || this.defaultCredentials()
97 if (this.credentials.sessionToken)
98 query['X-Amz-Security-Token'] = this.credentials.sessionToken
109 query['X-Amz-Credential'] = this.credentials.accessKeyId + '/' + this.credentialString()
121 …if (this.credentials.sessionToken && !headers['X-Amz-Security-Token'] && !headers['x-amz-security-…
122 headers['X-Amz-Security-Token'] = this.credentials.sessionToken
171 'AWS4-HMAC-SHA256 Credential=' + this.credentials.accessKeyId + '/' + this.credentialString(),
179 cacheKey = [this.credentials.secretAccessKey, date, this.region, this.service].join(),
182 kDate = hmac('AWS4' + this.credentials.secretAccessKey, date)
330 aws4.sign = function(request, credentials) { argument
331 return new RequestSigner(request, credentials).sign()