@aws-sdk/dsql-signer 3.713.0 → 3.714.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/Signer.d.ts +13 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Signer.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +3 -3
package/dist-types/Signer.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, ChecksumConstructor } from "@smithy/types";
|
|
2
2
|
export interface DsqlSignerConfig {
|
|
3
3
|
/**
|
|
4
|
-
* The AWS credentials to sign requests with.
|
|
4
|
+
* The AWS credentials to sign requests with.
|
|
5
|
+
* Uses the default credential provider chain if not specified.
|
|
5
6
|
*/
|
|
6
7
|
credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
7
8
|
/**
|
|
@@ -9,7 +10,8 @@ export interface DsqlSignerConfig {
|
|
|
9
10
|
*/
|
|
10
11
|
hostname: string;
|
|
11
12
|
/**
|
|
12
|
-
* The region the database is located in.
|
|
13
|
+
* The region the database is located in.
|
|
14
|
+
* Uses the region from the profile or inferred from the runtime if omitted.
|
|
13
15
|
*/
|
|
14
16
|
region?: string;
|
|
15
17
|
/**
|
|
@@ -20,6 +22,15 @@ export interface DsqlSignerConfig {
|
|
|
20
22
|
* The amount of time in seconds the generated token is valid.
|
|
21
23
|
*/
|
|
22
24
|
expiresIn?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Optional. Can be provided to configure region from a profile
|
|
27
|
+
* if operating in an environment with a file system having
|
|
28
|
+
* an AWS configuration file.
|
|
29
|
+
*
|
|
30
|
+
* The credentials will also resolve based on this profile, if using
|
|
31
|
+
* a credentials provider that includes the AWS configuration file.
|
|
32
|
+
*/
|
|
33
|
+
profile?: string;
|
|
23
34
|
}
|
|
24
35
|
/**
|
|
25
36
|
* The signer class that generates an auth token to a database.
|
|
@@ -9,5 +9,6 @@ export declare const getRuntimeConfig: (config: DsqlSignerConfig) => {
|
|
|
9
9
|
region: string | import("@smithy/types").Provider<any>;
|
|
10
10
|
sha256: import("@smithy/types").ChecksumConstructor | typeof Sha256;
|
|
11
11
|
expiresIn?: number | undefined;
|
|
12
|
+
profile?: string | undefined;
|
|
12
13
|
runtime: string;
|
|
13
14
|
};
|
|
@@ -9,5 +9,6 @@ export declare const getRuntimeConfig: (config: DsqlSignerConfig) => {
|
|
|
9
9
|
region: string | import("@smithy/types").Provider<string>;
|
|
10
10
|
sha256: import("@smithy/types").ChecksumConstructor | (new (secret?: import("@smithy/types").SourceData | undefined) => Hash);
|
|
11
11
|
expiresIn?: number | undefined;
|
|
12
|
+
profile?: string | undefined;
|
|
12
13
|
runtime: string;
|
|
13
14
|
};
|
|
@@ -9,5 +9,6 @@ export declare const getRuntimeConfig: (config: DsqlSignerConfig) => {
|
|
|
9
9
|
region: string | import("@smithy/types").Provider<any>;
|
|
10
10
|
sha256: import("@smithy/types").ChecksumConstructor | typeof Sha256;
|
|
11
11
|
expiresIn?: number | undefined;
|
|
12
|
+
profile?: string | undefined;
|
|
12
13
|
runtime: string;
|
|
13
14
|
};
|
|
@@ -9,5 +9,6 @@ export declare const getRuntimeConfig: (config: DsqlSignerConfig) => {
|
|
|
9
9
|
region: string | import("@smithy/types").Provider<any>;
|
|
10
10
|
sha256: import("@smithy/types").ChecksumConstructor | typeof Sha256;
|
|
11
11
|
expiresIn?: number | undefined;
|
|
12
|
+
profile?: string | undefined;
|
|
12
13
|
runtime: string;
|
|
13
14
|
};
|
|
@@ -10,5 +10,6 @@ export declare const getRuntimeConfig: (config: DsqlSignerConfig) => {
|
|
|
10
10
|
| import("@smithy/types").ChecksumConstructor
|
|
11
11
|
| (new (secret?: import("@smithy/types").SourceData | undefined) => Hash);
|
|
12
12
|
expiresIn?: number | undefined;
|
|
13
|
+
profile?: string | undefined;
|
|
13
14
|
runtime: string;
|
|
14
15
|
};
|
|
@@ -9,5 +9,6 @@ export declare const getRuntimeConfig: (config: DsqlSignerConfig) => {
|
|
|
9
9
|
region: string | import("@smithy/types").Provider<any>;
|
|
10
10
|
sha256: import("@smithy/types").ChecksumConstructor | typeof Sha256;
|
|
11
11
|
expiresIn?: number | undefined;
|
|
12
|
+
profile?: string | undefined;
|
|
12
13
|
runtime: string;
|
|
13
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/dsql-signer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"description": "Dsql utility for generating a password token that can be used for IAM authentication to a Dsql Database.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/credential-providers": "3.
|
|
31
|
-
"@aws-sdk/util-format-url": "3.
|
|
30
|
+
"@aws-sdk/credential-providers": "3.714.0",
|
|
31
|
+
"@aws-sdk/util-format-url": "3.714.0",
|
|
32
32
|
"@smithy/config-resolver": "^3.0.13",
|
|
33
33
|
"@smithy/hash-node": "^3.0.11",
|
|
34
34
|
"@smithy/invalid-dependency": "^3.0.11",
|