We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b323fea commit 2aa0d20Copy full SHA for 2aa0d20
mod.ts
@@ -1,9 +1,15 @@
1
import { sha256Hex } from "./deps.ts";
2
import { toAmz, toDateStamp } from "./src/date.ts";
3
import { getSignatureKey, signAwsV4 } from "./src/signing.ts";
4
-import type { Credentials, RequestHeaders } from "./src/types.ts";
5
-import { equal } from "https://deno.land/std@0.68.0/testing/asserts.ts";
6
-export type { Credentials, RequestHeaders };
+
+/**
+ * The AWS credentials to use for signing.
7
+ */
8
+export interface Credentials {
9
+ awsAccessKeyId: string;
10
+ awsSecretKey: string;
11
+ sessionToken?: string;
12
+}
13
14
/**
15
* This class can be used to create AWS Signature V4
src/types.ts
0 commit comments