1 | import { Credentials, HashConstructor } from "@aws-sdk/types";
|
2 | /**
|
3 | * Create a string describing the scope of credentials used to sign a request.
|
4 | *
|
5 | * @param shortDate The current calendar date in the form YYYYMMDD.
|
6 | * @param region The AWS region in which the service resides.
|
7 | * @param service The service to which the signed request is being sent.
|
8 | */
|
9 | export declare const createScope: (shortDate: string, region: string, service: string) => string;
|
10 | /**
|
11 | * Derive a signing key from its composite parts
|
12 | *
|
13 | * @param sha256Constructor A constructor function that can instantiate SHA-256
|
14 | * hash objects.
|
15 | * @param credentials The credentials with which the request will be
|
16 | * signed.
|
17 | * @param shortDate The current calendar date in the form YYYYMMDD.
|
18 | * @param region The AWS region in which the service resides.
|
19 | * @param service The service to which the signed request is being
|
20 | * sent.
|
21 | */
|
22 | export declare const getSigningKey: (sha256Constructor: HashConstructor, credentials: Credentials, shortDate: string, region: string, service: string) => Promise<Uint8Array>;
|
23 | /**
|
24 | * @internal
|
25 | */
|
26 | export declare const clearCredentialCache: () => void;
|