@aws-sdk/client-kms 3.301.0 → 3.306.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-cjs/models/models_0.js +166 -187
- package/dist-es/models/models_0.js +166 -187
- package/dist-types/models/models_0.d.ts +271 -166
- package/dist-types/ts3.4/models/models_0.d.ts +201 -166
- package/package.json +34 -34
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { KMSServiceException as __BaseException } from "./KMSServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
RSAES_OAEP_SHA_1
|
|
5
|
-
RSAES_OAEP_SHA_256
|
|
6
|
-
RSAES_PKCS1_V1_5
|
|
7
|
-
}
|
|
3
|
+
export declare const AlgorithmSpec: {
|
|
4
|
+
readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
|
|
5
|
+
readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
|
|
6
|
+
readonly RSAES_PKCS1_V1_5: "RSAES_PKCS1_V1_5";
|
|
7
|
+
};
|
|
8
|
+
export type AlgorithmSpec = (typeof AlgorithmSpec)[keyof typeof AlgorithmSpec];
|
|
8
9
|
export interface AliasListEntry {
|
|
9
10
|
AliasName?: string;
|
|
10
11
|
AliasArn?: string;
|
|
@@ -129,33 +130,37 @@ export declare class CustomKeyStoreNotFoundException extends __BaseException {
|
|
|
129
130
|
>
|
|
130
131
|
);
|
|
131
132
|
}
|
|
132
|
-
export declare
|
|
133
|
-
CLUSTER_NOT_FOUND
|
|
134
|
-
INSUFFICIENT_CLOUDHSM_HSMS
|
|
135
|
-
INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET
|
|
136
|
-
INTERNAL_ERROR
|
|
137
|
-
INVALID_CREDENTIALS
|
|
138
|
-
NETWORK_ERRORS
|
|
139
|
-
SUBNET_NOT_FOUND
|
|
140
|
-
USER_LOCKED_OUT
|
|
141
|
-
USER_LOGGED_IN
|
|
142
|
-
USER_NOT_FOUND
|
|
143
|
-
XKS_PROXY_ACCESS_DENIED
|
|
144
|
-
XKS_PROXY_INVALID_CONFIGURATION
|
|
145
|
-
XKS_PROXY_INVALID_RESPONSE
|
|
146
|
-
XKS_PROXY_INVALID_TLS_CONFIGURATION
|
|
147
|
-
XKS_PROXY_NOT_REACHABLE
|
|
148
|
-
XKS_PROXY_TIMED_OUT
|
|
149
|
-
XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION
|
|
150
|
-
XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND
|
|
151
|
-
}
|
|
152
|
-
export
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
133
|
+
export declare const ConnectionErrorCodeType: {
|
|
134
|
+
readonly CLUSTER_NOT_FOUND: "CLUSTER_NOT_FOUND";
|
|
135
|
+
readonly INSUFFICIENT_CLOUDHSM_HSMS: "INSUFFICIENT_CLOUDHSM_HSMS";
|
|
136
|
+
readonly INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET: "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET";
|
|
137
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
138
|
+
readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
|
|
139
|
+
readonly NETWORK_ERRORS: "NETWORK_ERRORS";
|
|
140
|
+
readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
|
|
141
|
+
readonly USER_LOCKED_OUT: "USER_LOCKED_OUT";
|
|
142
|
+
readonly USER_LOGGED_IN: "USER_LOGGED_IN";
|
|
143
|
+
readonly USER_NOT_FOUND: "USER_NOT_FOUND";
|
|
144
|
+
readonly XKS_PROXY_ACCESS_DENIED: "XKS_PROXY_ACCESS_DENIED";
|
|
145
|
+
readonly XKS_PROXY_INVALID_CONFIGURATION: "XKS_PROXY_INVALID_CONFIGURATION";
|
|
146
|
+
readonly XKS_PROXY_INVALID_RESPONSE: "XKS_PROXY_INVALID_RESPONSE";
|
|
147
|
+
readonly XKS_PROXY_INVALID_TLS_CONFIGURATION: "XKS_PROXY_INVALID_TLS_CONFIGURATION";
|
|
148
|
+
readonly XKS_PROXY_NOT_REACHABLE: "XKS_PROXY_NOT_REACHABLE";
|
|
149
|
+
readonly XKS_PROXY_TIMED_OUT: "XKS_PROXY_TIMED_OUT";
|
|
150
|
+
readonly XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION: "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION";
|
|
151
|
+
readonly XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND: "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND";
|
|
152
|
+
};
|
|
153
|
+
export type ConnectionErrorCodeType =
|
|
154
|
+
(typeof ConnectionErrorCodeType)[keyof typeof ConnectionErrorCodeType];
|
|
155
|
+
export declare const ConnectionStateType: {
|
|
156
|
+
readonly CONNECTED: "CONNECTED";
|
|
157
|
+
readonly CONNECTING: "CONNECTING";
|
|
158
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
159
|
+
readonly DISCONNECTING: "DISCONNECTING";
|
|
160
|
+
readonly FAILED: "FAILED";
|
|
161
|
+
};
|
|
162
|
+
export type ConnectionStateType =
|
|
163
|
+
(typeof ConnectionStateType)[keyof typeof ConnectionStateType];
|
|
159
164
|
export interface CreateAliasRequest {
|
|
160
165
|
AliasName: string | undefined;
|
|
161
166
|
TargetKeyId: string | undefined;
|
|
@@ -174,18 +179,22 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
174
179
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
175
180
|
);
|
|
176
181
|
}
|
|
177
|
-
export declare
|
|
178
|
-
AWS_CLOUDHSM
|
|
179
|
-
EXTERNAL_KEY_STORE
|
|
180
|
-
}
|
|
182
|
+
export declare const CustomKeyStoreType: {
|
|
183
|
+
readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
|
|
184
|
+
readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
|
|
185
|
+
};
|
|
186
|
+
export type CustomKeyStoreType =
|
|
187
|
+
(typeof CustomKeyStoreType)[keyof typeof CustomKeyStoreType];
|
|
181
188
|
export interface XksProxyAuthenticationCredentialType {
|
|
182
189
|
AccessKeyId: string | undefined;
|
|
183
190
|
RawSecretAccessKey: string | undefined;
|
|
184
191
|
}
|
|
185
|
-
export declare
|
|
186
|
-
PUBLIC_ENDPOINT
|
|
187
|
-
VPC_ENDPOINT_SERVICE
|
|
188
|
-
}
|
|
192
|
+
export declare const XksProxyConnectivityType: {
|
|
193
|
+
readonly PUBLIC_ENDPOINT: "PUBLIC_ENDPOINT";
|
|
194
|
+
readonly VPC_ENDPOINT_SERVICE: "VPC_ENDPOINT_SERVICE";
|
|
195
|
+
};
|
|
196
|
+
export type XksProxyConnectivityType =
|
|
197
|
+
(typeof XksProxyConnectivityType)[keyof typeof XksProxyConnectivityType];
|
|
189
198
|
export interface CreateCustomKeyStoreRequest {
|
|
190
199
|
CustomKeyStoreName: string | undefined;
|
|
191
200
|
CloudHsmClusterId?: string;
|
|
@@ -309,24 +318,26 @@ export interface GrantConstraints {
|
|
|
309
318
|
EncryptionContextSubset?: Record<string, string>;
|
|
310
319
|
EncryptionContextEquals?: Record<string, string>;
|
|
311
320
|
}
|
|
312
|
-
export declare
|
|
313
|
-
CreateGrant
|
|
314
|
-
Decrypt
|
|
315
|
-
DescribeKey
|
|
316
|
-
Encrypt
|
|
317
|
-
GenerateDataKey
|
|
318
|
-
GenerateDataKeyPair
|
|
319
|
-
GenerateDataKeyPairWithoutPlaintext
|
|
320
|
-
GenerateDataKeyWithoutPlaintext
|
|
321
|
-
GenerateMac
|
|
322
|
-
GetPublicKey
|
|
323
|
-
ReEncryptFrom
|
|
324
|
-
ReEncryptTo
|
|
325
|
-
RetireGrant
|
|
326
|
-
Sign
|
|
327
|
-
Verify
|
|
328
|
-
VerifyMac
|
|
329
|
-
}
|
|
321
|
+
export declare const GrantOperation: {
|
|
322
|
+
readonly CreateGrant: "CreateGrant";
|
|
323
|
+
readonly Decrypt: "Decrypt";
|
|
324
|
+
readonly DescribeKey: "DescribeKey";
|
|
325
|
+
readonly Encrypt: "Encrypt";
|
|
326
|
+
readonly GenerateDataKey: "GenerateDataKey";
|
|
327
|
+
readonly GenerateDataKeyPair: "GenerateDataKeyPair";
|
|
328
|
+
readonly GenerateDataKeyPairWithoutPlaintext: "GenerateDataKeyPairWithoutPlaintext";
|
|
329
|
+
readonly GenerateDataKeyWithoutPlaintext: "GenerateDataKeyWithoutPlaintext";
|
|
330
|
+
readonly GenerateMac: "GenerateMac";
|
|
331
|
+
readonly GetPublicKey: "GetPublicKey";
|
|
332
|
+
readonly ReEncryptFrom: "ReEncryptFrom";
|
|
333
|
+
readonly ReEncryptTo: "ReEncryptTo";
|
|
334
|
+
readonly RetireGrant: "RetireGrant";
|
|
335
|
+
readonly Sign: "Sign";
|
|
336
|
+
readonly Verify: "Verify";
|
|
337
|
+
readonly VerifyMac: "VerifyMac";
|
|
338
|
+
};
|
|
339
|
+
export type GrantOperation =
|
|
340
|
+
(typeof GrantOperation)[keyof typeof GrantOperation];
|
|
330
341
|
export interface CreateGrantRequest {
|
|
331
342
|
KeyId: string | undefined;
|
|
332
343
|
GranteePrincipal: string | undefined;
|
|
@@ -352,47 +363,52 @@ export declare class InvalidGrantTokenException extends __BaseException {
|
|
|
352
363
|
opts: __ExceptionOptionType<InvalidGrantTokenException, __BaseException>
|
|
353
364
|
);
|
|
354
365
|
}
|
|
355
|
-
export declare
|
|
356
|
-
ECC_NIST_P256
|
|
357
|
-
ECC_NIST_P384
|
|
358
|
-
ECC_NIST_P521
|
|
359
|
-
ECC_SECG_P256K1
|
|
360
|
-
HMAC_224
|
|
361
|
-
HMAC_256
|
|
362
|
-
HMAC_384
|
|
363
|
-
HMAC_512
|
|
364
|
-
RSA_2048
|
|
365
|
-
RSA_3072
|
|
366
|
-
RSA_4096
|
|
367
|
-
SM2
|
|
368
|
-
SYMMETRIC_DEFAULT
|
|
369
|
-
}
|
|
370
|
-
export
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
366
|
+
export declare const CustomerMasterKeySpec: {
|
|
367
|
+
readonly ECC_NIST_P256: "ECC_NIST_P256";
|
|
368
|
+
readonly ECC_NIST_P384: "ECC_NIST_P384";
|
|
369
|
+
readonly ECC_NIST_P521: "ECC_NIST_P521";
|
|
370
|
+
readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
|
|
371
|
+
readonly HMAC_224: "HMAC_224";
|
|
372
|
+
readonly HMAC_256: "HMAC_256";
|
|
373
|
+
readonly HMAC_384: "HMAC_384";
|
|
374
|
+
readonly HMAC_512: "HMAC_512";
|
|
375
|
+
readonly RSA_2048: "RSA_2048";
|
|
376
|
+
readonly RSA_3072: "RSA_3072";
|
|
377
|
+
readonly RSA_4096: "RSA_4096";
|
|
378
|
+
readonly SM2: "SM2";
|
|
379
|
+
readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
|
|
380
|
+
};
|
|
381
|
+
export type CustomerMasterKeySpec =
|
|
382
|
+
(typeof CustomerMasterKeySpec)[keyof typeof CustomerMasterKeySpec];
|
|
383
|
+
export declare const KeySpec: {
|
|
384
|
+
readonly ECC_NIST_P256: "ECC_NIST_P256";
|
|
385
|
+
readonly ECC_NIST_P384: "ECC_NIST_P384";
|
|
386
|
+
readonly ECC_NIST_P521: "ECC_NIST_P521";
|
|
387
|
+
readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
|
|
388
|
+
readonly HMAC_224: "HMAC_224";
|
|
389
|
+
readonly HMAC_256: "HMAC_256";
|
|
390
|
+
readonly HMAC_384: "HMAC_384";
|
|
391
|
+
readonly HMAC_512: "HMAC_512";
|
|
392
|
+
readonly RSA_2048: "RSA_2048";
|
|
393
|
+
readonly RSA_3072: "RSA_3072";
|
|
394
|
+
readonly RSA_4096: "RSA_4096";
|
|
395
|
+
readonly SM2: "SM2";
|
|
396
|
+
readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
|
|
397
|
+
};
|
|
398
|
+
export type KeySpec = (typeof KeySpec)[keyof typeof KeySpec];
|
|
399
|
+
export declare const KeyUsageType: {
|
|
400
|
+
readonly ENCRYPT_DECRYPT: "ENCRYPT_DECRYPT";
|
|
401
|
+
readonly GENERATE_VERIFY_MAC: "GENERATE_VERIFY_MAC";
|
|
402
|
+
readonly SIGN_VERIFY: "SIGN_VERIFY";
|
|
403
|
+
};
|
|
404
|
+
export type KeyUsageType = (typeof KeyUsageType)[keyof typeof KeyUsageType];
|
|
405
|
+
export declare const OriginType: {
|
|
406
|
+
readonly AWS_CLOUDHSM: "AWS_CLOUDHSM";
|
|
407
|
+
readonly AWS_KMS: "AWS_KMS";
|
|
408
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
409
|
+
readonly EXTERNAL_KEY_STORE: "EXTERNAL_KEY_STORE";
|
|
410
|
+
};
|
|
411
|
+
export type OriginType = (typeof OriginType)[keyof typeof OriginType];
|
|
396
412
|
export interface Tag {
|
|
397
413
|
TagKey: string | undefined;
|
|
398
414
|
TagValue: string | undefined;
|
|
@@ -410,40 +426,51 @@ export interface CreateKeyRequest {
|
|
|
410
426
|
MultiRegion?: boolean;
|
|
411
427
|
XksKeyId?: string;
|
|
412
428
|
}
|
|
413
|
-
export declare
|
|
414
|
-
RSAES_OAEP_SHA_1
|
|
415
|
-
RSAES_OAEP_SHA_256
|
|
416
|
-
SM2PKE
|
|
417
|
-
SYMMETRIC_DEFAULT
|
|
418
|
-
}
|
|
419
|
-
export
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
export declare
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
}
|
|
443
|
-
export
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
429
|
+
export declare const EncryptionAlgorithmSpec: {
|
|
430
|
+
readonly RSAES_OAEP_SHA_1: "RSAES_OAEP_SHA_1";
|
|
431
|
+
readonly RSAES_OAEP_SHA_256: "RSAES_OAEP_SHA_256";
|
|
432
|
+
readonly SM2PKE: "SM2PKE";
|
|
433
|
+
readonly SYMMETRIC_DEFAULT: "SYMMETRIC_DEFAULT";
|
|
434
|
+
};
|
|
435
|
+
export type EncryptionAlgorithmSpec =
|
|
436
|
+
(typeof EncryptionAlgorithmSpec)[keyof typeof EncryptionAlgorithmSpec];
|
|
437
|
+
export declare const ExpirationModelType: {
|
|
438
|
+
readonly KEY_MATERIAL_DOES_NOT_EXPIRE: "KEY_MATERIAL_DOES_NOT_EXPIRE";
|
|
439
|
+
readonly KEY_MATERIAL_EXPIRES: "KEY_MATERIAL_EXPIRES";
|
|
440
|
+
};
|
|
441
|
+
export type ExpirationModelType =
|
|
442
|
+
(typeof ExpirationModelType)[keyof typeof ExpirationModelType];
|
|
443
|
+
export declare const KeyManagerType: {
|
|
444
|
+
readonly AWS: "AWS";
|
|
445
|
+
readonly CUSTOMER: "CUSTOMER";
|
|
446
|
+
};
|
|
447
|
+
export type KeyManagerType =
|
|
448
|
+
(typeof KeyManagerType)[keyof typeof KeyManagerType];
|
|
449
|
+
export declare const KeyState: {
|
|
450
|
+
readonly Creating: "Creating";
|
|
451
|
+
readonly Disabled: "Disabled";
|
|
452
|
+
readonly Enabled: "Enabled";
|
|
453
|
+
readonly PendingDeletion: "PendingDeletion";
|
|
454
|
+
readonly PendingImport: "PendingImport";
|
|
455
|
+
readonly PendingReplicaDeletion: "PendingReplicaDeletion";
|
|
456
|
+
readonly Unavailable: "Unavailable";
|
|
457
|
+
readonly Updating: "Updating";
|
|
458
|
+
};
|
|
459
|
+
export type KeyState = (typeof KeyState)[keyof typeof KeyState];
|
|
460
|
+
export declare const MacAlgorithmSpec: {
|
|
461
|
+
readonly HMAC_SHA_224: "HMAC_SHA_224";
|
|
462
|
+
readonly HMAC_SHA_256: "HMAC_SHA_256";
|
|
463
|
+
readonly HMAC_SHA_384: "HMAC_SHA_384";
|
|
464
|
+
readonly HMAC_SHA_512: "HMAC_SHA_512";
|
|
465
|
+
};
|
|
466
|
+
export type MacAlgorithmSpec =
|
|
467
|
+
(typeof MacAlgorithmSpec)[keyof typeof MacAlgorithmSpec];
|
|
468
|
+
export declare const MultiRegionKeyType: {
|
|
469
|
+
readonly PRIMARY: "PRIMARY";
|
|
470
|
+
readonly REPLICA: "REPLICA";
|
|
471
|
+
};
|
|
472
|
+
export type MultiRegionKeyType =
|
|
473
|
+
(typeof MultiRegionKeyType)[keyof typeof MultiRegionKeyType];
|
|
447
474
|
export interface MultiRegionKey {
|
|
448
475
|
Arn?: string;
|
|
449
476
|
Region?: string;
|
|
@@ -453,18 +480,20 @@ export interface MultiRegionConfiguration {
|
|
|
453
480
|
PrimaryKey?: MultiRegionKey;
|
|
454
481
|
ReplicaKeys?: MultiRegionKey[];
|
|
455
482
|
}
|
|
456
|
-
export declare
|
|
457
|
-
ECDSA_SHA_256
|
|
458
|
-
ECDSA_SHA_384
|
|
459
|
-
ECDSA_SHA_512
|
|
460
|
-
RSASSA_PKCS1_V1_5_SHA_256
|
|
461
|
-
RSASSA_PKCS1_V1_5_SHA_384
|
|
462
|
-
RSASSA_PKCS1_V1_5_SHA_512
|
|
463
|
-
RSASSA_PSS_SHA_256
|
|
464
|
-
RSASSA_PSS_SHA_384
|
|
465
|
-
RSASSA_PSS_SHA_512
|
|
466
|
-
SM2DSA
|
|
467
|
-
}
|
|
483
|
+
export declare const SigningAlgorithmSpec: {
|
|
484
|
+
readonly ECDSA_SHA_256: "ECDSA_SHA_256";
|
|
485
|
+
readonly ECDSA_SHA_384: "ECDSA_SHA_384";
|
|
486
|
+
readonly ECDSA_SHA_512: "ECDSA_SHA_512";
|
|
487
|
+
readonly RSASSA_PKCS1_V1_5_SHA_256: "RSASSA_PKCS1_V1_5_SHA_256";
|
|
488
|
+
readonly RSASSA_PKCS1_V1_5_SHA_384: "RSASSA_PKCS1_V1_5_SHA_384";
|
|
489
|
+
readonly RSASSA_PKCS1_V1_5_SHA_512: "RSASSA_PKCS1_V1_5_SHA_512";
|
|
490
|
+
readonly RSASSA_PSS_SHA_256: "RSASSA_PSS_SHA_256";
|
|
491
|
+
readonly RSASSA_PSS_SHA_384: "RSASSA_PSS_SHA_384";
|
|
492
|
+
readonly RSASSA_PSS_SHA_512: "RSASSA_PSS_SHA_512";
|
|
493
|
+
readonly SM2DSA: "SM2DSA";
|
|
494
|
+
};
|
|
495
|
+
export type SigningAlgorithmSpec =
|
|
496
|
+
(typeof SigningAlgorithmSpec)[keyof typeof SigningAlgorithmSpec];
|
|
468
497
|
export interface XksKeyConfigurationType {
|
|
469
498
|
Id?: string;
|
|
470
499
|
}
|
|
@@ -568,20 +597,23 @@ export interface CustomKeyStoresListEntry {
|
|
|
568
597
|
CustomKeyStoreType?: CustomKeyStoreType | string;
|
|
569
598
|
XksProxyConfiguration?: XksProxyConfigurationType;
|
|
570
599
|
}
|
|
571
|
-
export declare
|
|
572
|
-
ECC_NIST_P256
|
|
573
|
-
ECC_NIST_P384
|
|
574
|
-
ECC_NIST_P521
|
|
575
|
-
ECC_SECG_P256K1
|
|
576
|
-
RSA_2048
|
|
577
|
-
RSA_3072
|
|
578
|
-
RSA_4096
|
|
579
|
-
SM2
|
|
580
|
-
}
|
|
581
|
-
export
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
600
|
+
export declare const DataKeyPairSpec: {
|
|
601
|
+
readonly ECC_NIST_P256: "ECC_NIST_P256";
|
|
602
|
+
readonly ECC_NIST_P384: "ECC_NIST_P384";
|
|
603
|
+
readonly ECC_NIST_P521: "ECC_NIST_P521";
|
|
604
|
+
readonly ECC_SECG_P256K1: "ECC_SECG_P256K1";
|
|
605
|
+
readonly RSA_2048: "RSA_2048";
|
|
606
|
+
readonly RSA_3072: "RSA_3072";
|
|
607
|
+
readonly RSA_4096: "RSA_4096";
|
|
608
|
+
readonly SM2: "SM2";
|
|
609
|
+
};
|
|
610
|
+
export type DataKeyPairSpec =
|
|
611
|
+
(typeof DataKeyPairSpec)[keyof typeof DataKeyPairSpec];
|
|
612
|
+
export declare const DataKeySpec: {
|
|
613
|
+
readonly AES_128: "AES_128";
|
|
614
|
+
readonly AES_256: "AES_256";
|
|
615
|
+
};
|
|
616
|
+
export type DataKeySpec = (typeof DataKeySpec)[keyof typeof DataKeySpec];
|
|
585
617
|
export interface DecryptRequest {
|
|
586
618
|
CiphertextBlob: Uint8Array | undefined;
|
|
587
619
|
EncryptionContext?: Record<string, string>;
|
|
@@ -771,9 +803,11 @@ export interface GetKeyRotationStatusRequest {
|
|
|
771
803
|
export interface GetKeyRotationStatusResponse {
|
|
772
804
|
KeyRotationEnabled?: boolean;
|
|
773
805
|
}
|
|
774
|
-
export declare
|
|
775
|
-
RSA_2048
|
|
776
|
-
}
|
|
806
|
+
export declare const WrappingKeySpec: {
|
|
807
|
+
readonly RSA_2048: "RSA_2048";
|
|
808
|
+
};
|
|
809
|
+
export type WrappingKeySpec =
|
|
810
|
+
(typeof WrappingKeySpec)[keyof typeof WrappingKeySpec];
|
|
777
811
|
export interface GetParametersForImportRequest {
|
|
778
812
|
KeyId: string | undefined;
|
|
779
813
|
WrappingAlgorithm: AlgorithmSpec | string | undefined;
|
|
@@ -912,10 +946,11 @@ export interface ListRetirableGrantsRequest {
|
|
|
912
946
|
Marker?: string;
|
|
913
947
|
RetiringPrincipal: string | undefined;
|
|
914
948
|
}
|
|
915
|
-
export declare
|
|
916
|
-
DIGEST
|
|
917
|
-
RAW
|
|
918
|
-
}
|
|
949
|
+
export declare const MessageType: {
|
|
950
|
+
readonly DIGEST: "DIGEST";
|
|
951
|
+
readonly RAW: "RAW";
|
|
952
|
+
};
|
|
953
|
+
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
919
954
|
export interface PutKeyPolicyRequest {
|
|
920
955
|
KeyId: string | undefined;
|
|
921
956
|
PolicyName: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|