@aws-sdk/rds-signer 3.422.1 → 3.425.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.
|
@@ -1,42 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* The signer class that generates an auth token to a database.
|
|
30
|
-
*/
|
|
31
|
-
export declare class Signer {
|
|
32
|
-
private readonly credentials;
|
|
33
|
-
private readonly hostname;
|
|
34
|
-
private readonly port;
|
|
35
|
-
private readonly protocol;
|
|
36
|
-
private readonly region;
|
|
37
|
-
private readonly service;
|
|
38
|
-
private readonly sha256;
|
|
39
|
-
private readonly username;
|
|
40
|
-
constructor(configuration: SignerConfig);
|
|
41
|
-
getAuthToken(): Promise<string>;
|
|
42
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
ChecksumConstructor,
|
|
5
|
+
HashConstructor,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface SignerConfig {
|
|
8
|
+
credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
9
|
+
hostname: string;
|
|
10
|
+
port: number;
|
|
11
|
+
region?: string;
|
|
12
|
+
sha256?: ChecksumConstructor | HashConstructor;
|
|
13
|
+
username: string;
|
|
14
|
+
}
|
|
15
|
+
export declare class Signer {
|
|
16
|
+
private readonly credentials;
|
|
17
|
+
private readonly hostname;
|
|
18
|
+
private readonly port;
|
|
19
|
+
private readonly protocol;
|
|
20
|
+
private readonly region;
|
|
21
|
+
private readonly service;
|
|
22
|
+
private readonly sha256;
|
|
23
|
+
private readonly username;
|
|
24
|
+
constructor(configuration: SignerConfig);
|
|
25
|
+
getAuthToken(): Promise<string>;
|
|
26
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./Signer";
|
|
1
|
+
export * from "./Signer";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { SignerConfig } from "./Signer";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
1
|
+
import { SignerConfig } from "./Signer";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SignerConfig) => {
|
|
3
|
+
credentials:
|
|
4
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
5
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
6
|
+
| import("@smithy/types").Provider<any>;
|
|
7
|
+
hostname: string;
|
|
8
|
+
port: number;
|
|
9
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
10
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
11
|
+
username: string;
|
|
12
|
+
runtime: string;
|
|
13
|
+
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { SignerConfig } from "./Signer";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
1
|
+
import { SignerConfig } from "./Signer";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SignerConfig) => {
|
|
3
|
+
credentials:
|
|
4
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
5
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
6
|
+
hostname: string;
|
|
7
|
+
port: number;
|
|
8
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
9
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
10
|
+
username: string;
|
|
11
|
+
runtime: string;
|
|
12
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { SignerConfig } from "./Signer";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
1
|
+
import { SignerConfig } from "./Signer";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SignerConfig) => {
|
|
3
|
+
credentials:
|
|
4
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
5
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
6
|
+
| import("@smithy/types").Provider<any>;
|
|
7
|
+
hostname: string;
|
|
8
|
+
port: number;
|
|
9
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
10
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
11
|
+
username: string;
|
|
12
|
+
runtime: string;
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/rds-signer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.425.0",
|
|
4
4
|
"description": "RDS utility for generating a password that can be used for IAM authentication to an RDS DB.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
30
|
-
"@aws-sdk/credential-providers": "3.
|
|
31
|
-
"@aws-sdk/util-format-url": "3.
|
|
32
|
-
"@smithy/config-resolver": "^2.0.
|
|
33
|
-
"@smithy/hash-node": "^2.0.
|
|
34
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
35
|
-
"@smithy/node-config-provider": "^2.0.
|
|
36
|
-
"@smithy/protocol-http": "^3.0.
|
|
30
|
+
"@aws-sdk/credential-providers": "3.425.0",
|
|
31
|
+
"@aws-sdk/util-format-url": "3.425.0",
|
|
32
|
+
"@smithy/config-resolver": "^2.0.11",
|
|
33
|
+
"@smithy/hash-node": "^2.0.10",
|
|
34
|
+
"@smithy/invalid-dependency": "^2.0.10",
|
|
35
|
+
"@smithy/node-config-provider": "^2.0.13",
|
|
36
|
+
"@smithy/protocol-http": "^3.0.6",
|
|
37
37
|
"@smithy/signature-v4": "^2.0.0",
|
|
38
|
-
"@smithy/types": "^2.3.
|
|
38
|
+
"@smithy/types": "^2.3.4",
|
|
39
39
|
"tslib": "^2.5.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
42
|
+
"@aws-sdk/types": "3.425.0",
|
|
43
43
|
"@types/node": "^14.14.31",
|
|
44
44
|
"concurrently": "7.0.0",
|
|
45
45
|
"downlevel-dts": "0.10.1",
|