Home Reference Source Repository

References

Function Summary

Static Public Function Summary
public

buildAuthorization(accessKeyId: string, credentialScope: string, signedHeaders: string, signature: string): string

public

async buildCanonicalRequest(httpRequestMethod: string, canonicalURI: string, canonicalQueryString: string, canonicalHeaders: string, signedHeaders: string, requestPayload: string): Promise<string>

public

buildStringToSign(requestDate: string, credentialScope: string, hashedCanonicalRequest: string): string

public

Formats a Date object to an AWS date string

public

async preCalculateSigningKey(secretAccessKey: string, date: string, region: string, service: string): Promise<string>

public

preCalculatedSign(signingKey: string, stringToSign: string): Promise<string>

public

async sign(secretAccessKey: string, date: string, region: string, service: string, stringToSign: string): Promise<string>