@scaleway/sdk-key-manager 2.12.0 → 2.14.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,10 +1,12 @@
1
- import type { DataKeyAlgorithmSymmetricEncryption, KeyAlgorithmAsymmetricEncryption, KeyAlgorithmAsymmetricSigning, KeyAlgorithmSymmetricEncryption, KeyOrigin, KeyState, ListAlgorithmsRequestUsage, ListKeysRequestOrderBy, ListKeysRequestUsage } from './types.gen.js';
1
+ import type { DataKeyAlgorithmSymmetricEncryption, KeyAlgorithmAsymmetricEncryption, KeyAlgorithmAsymmetricSigning, KeyAlgorithmKeyEncapsulation, KeyAlgorithmSymmetricEncryption, KeyOrigin, KeyState, ListAlgorithmsRequestUsage, ListKeysRequestOrderBy, ListKeysRequestUsage } from './types.gen.js';
2
2
  /** Lists all values of the enum {@link DataKeyAlgorithmSymmetricEncryption}. */
3
3
  export declare const DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS: DataKeyAlgorithmSymmetricEncryption[];
4
4
  /** Lists all values of the enum {@link KeyAlgorithmAsymmetricEncryption}. */
5
5
  export declare const KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS: KeyAlgorithmAsymmetricEncryption[];
6
6
  /** Lists all values of the enum {@link KeyAlgorithmAsymmetricSigning}. */
7
7
  export declare const KEY_ALGORITHM_ASYMMETRIC_SIGNINGS: KeyAlgorithmAsymmetricSigning[];
8
+ /** Lists all values of the enum {@link KeyAlgorithmKeyEncapsulation}. */
9
+ export declare const KEY_ALGORITHM_KEY_ENCAPSULATIONS: KeyAlgorithmKeyEncapsulation[];
8
10
  /** Lists all values of the enum {@link KeyAlgorithmSymmetricEncryption}. */
9
11
  export declare const KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS: KeyAlgorithmSymmetricEncryption[];
10
12
  /** Lists all values of the enum {@link KeyOrigin}. */
@@ -6,9 +6,7 @@ const KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS = [
6
6
  "unknown_asymmetric_encryption",
7
7
  "rsa_oaep_2048_sha256",
8
8
  "rsa_oaep_3072_sha256",
9
- "rsa_oaep_4096_sha256",
10
- "ml_kem_768",
11
- "ml_kem_1024"
9
+ "rsa_oaep_4096_sha256"
12
10
  ];
13
11
  /** Lists all values of the enum {@link KeyAlgorithmAsymmetricSigning}. */
14
12
  const KEY_ALGORITHM_ASYMMETRIC_SIGNINGS = [
@@ -23,7 +21,14 @@ const KEY_ALGORITHM_ASYMMETRIC_SIGNINGS = [
23
21
  "rsa_pkcs1_4096_sha256",
24
22
  "ml_dsa_44",
25
23
  "ml_dsa_65",
26
- "ml_dsa_87"
24
+ "ml_dsa_87",
25
+ "ec_secp256k1_sha256"
26
+ ];
27
+ /** Lists all values of the enum {@link KeyAlgorithmKeyEncapsulation}. */
28
+ const KEY_ALGORITHM_KEY_ENCAPSULATIONS = [
29
+ "unknown_key_encapsulation",
30
+ "ml_kem_768",
31
+ "ml_kem_1024"
27
32
  ];
28
33
  /** Lists all values of the enum {@link KeyAlgorithmSymmetricEncryption}. */
29
34
  const KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS = ["unknown_symmetric_encryption", "aes_256_gcm"];
@@ -46,7 +51,8 @@ const LIST_ALGORITHMS_REQUEST_USAGES = [
46
51
  "unknown_usage",
47
52
  "symmetric_encryption",
48
53
  "asymmetric_encryption",
49
- "asymmetric_signing"
54
+ "asymmetric_signing",
55
+ "key_encapsulation"
50
56
  ];
51
57
  /** Lists all values of the enum {@link ListKeysRequestOrderBy}. */
52
58
  const LIST_KEYS_REQUEST_ORDER_BIES = [
@@ -65,4 +71,4 @@ const LIST_KEYS_REQUEST_USAGES = [
65
71
  "asymmetric_signing"
66
72
  ];
67
73
  //#endregion
68
- export { DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_SIGNINGS, KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ORIGINS, KEY_STATES, LIST_ALGORITHMS_REQUEST_USAGES, LIST_KEYS_REQUEST_ORDER_BIES, LIST_KEYS_REQUEST_USAGES };
74
+ export { DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_SIGNINGS, KEY_ALGORITHM_KEY_ENCAPSULATIONS, KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ORIGINS, KEY_STATES, LIST_ALGORITHMS_REQUEST_USAGES, LIST_KEYS_REQUEST_ORDER_BIES, LIST_KEYS_REQUEST_USAGES };
@@ -1,4 +1,4 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './constants.gen.js';
3
3
  export * from './marshalling.gen.js';
4
- export type { CreateKeyRequest, DataKey, DataKeyAlgorithmSymmetricEncryption, DecryptRequest, DecryptResponse, DeleteKeyMaterialRequest, DeleteKeyRequest, DisableKeyRequest, EnableKeyRequest, EncryptRequest, EncryptResponse, GenerateDataKeyRequest, GetKeyRequest, GetPublicKeyRequest, ImportKeyMaterialRequest, Key, KeyAlgorithmAsymmetricEncryption, KeyAlgorithmAsymmetricSigning, KeyAlgorithmSymmetricEncryption, KeyOrigin, KeyRotationPolicy, KeyState, KeyUsage, ListAlgorithmsRequest, ListAlgorithmsRequestUsage, ListAlgorithmsResponse, ListAlgorithmsResponseAlgorithm, ListKeysRequest, ListKeysRequestOrderBy, ListKeysRequestUsage, ListKeysResponse, ProtectKeyRequest, PublicKey, RestoreKeyRequest, RotateKeyRequest, SignRequest, SignResponse, UnprotectKeyRequest, UnwrapKeyRequest, UnwrapKeyResponse, UpdateKeyRequest, VerifyRequest, VerifyResponse, WrapKeyRequest, WrapKeyResponse, } from './types.gen.js';
4
+ export type { CreateKeyRequest, DataKey, DataKeyAlgorithmSymmetricEncryption, DecryptRequest, DecryptResponse, DeleteKeyMaterialRequest, DeleteKeyRequest, DisableKeyRequest, EnableKeyRequest, EncryptRequest, EncryptResponse, GenerateDataKeyRequest, GetKeyRequest, GetPublicKeyRequest, ImportKeyMaterialRequest, Key, KeyAlgorithmAsymmetricEncryption, KeyAlgorithmAsymmetricSigning, KeyAlgorithmKeyEncapsulation, KeyAlgorithmSymmetricEncryption, KeyOrigin, KeyRotationPolicy, KeyState, KeyUsage, ListAlgorithmsRequest, ListAlgorithmsRequestUsage, ListAlgorithmsResponse, ListAlgorithmsResponseAlgorithm, ListKeysRequest, ListKeysRequestOrderBy, ListKeysRequestUsage, ListKeysResponse, ProtectKeyRequest, PublicKey, RestoreKeyRequest, RotateKeyRequest, SignRequest, SignResponse, UnprotectKeyRequest, UnwrapKeyRequest, UnwrapKeyResponse, UpdateKeyRequest, VerifyRequest, VerifyResponse, WrapKeyRequest, WrapKeyResponse, } from './types.gen.js';
@@ -1,13 +1,14 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { marshalCreateKeyRequest, marshalDecryptRequest, marshalEncryptRequest, marshalGenerateDataKeyRequest, marshalImportKeyMaterialRequest, marshalSignRequest, marshalUnwrapKeyRequest, marshalUpdateKeyRequest, marshalVerifyRequest, marshalWrapKeyRequest, unmarshalDataKey, unmarshalDecryptResponse, unmarshalEncryptResponse, unmarshalKey, unmarshalListAlgorithmsResponse, unmarshalListKeysResponse, unmarshalPublicKey, unmarshalSignResponse, unmarshalUnwrapKeyResponse, unmarshalVerifyResponse, unmarshalWrapKeyResponse } from "./marshalling.gen.js";
3
3
  import { API } from "./api.gen.js";
4
- import { DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_SIGNINGS, KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ORIGINS, KEY_STATES, LIST_ALGORITHMS_REQUEST_USAGES, LIST_KEYS_REQUEST_ORDER_BIES, LIST_KEYS_REQUEST_USAGES } from "./constants.gen.js";
4
+ import { DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_SIGNINGS, KEY_ALGORITHM_KEY_ENCAPSULATIONS, KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ORIGINS, KEY_STATES, LIST_ALGORITHMS_REQUEST_USAGES, LIST_KEYS_REQUEST_ORDER_BIES, LIST_KEYS_REQUEST_USAGES } from "./constants.gen.js";
5
5
  //#region src/v1alpha1/index.gen.ts
6
6
  var index_gen_exports = /* @__PURE__ */ __exportAll({
7
7
  API: () => API,
8
8
  DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS: () => DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS,
9
9
  KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS: () => KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS,
10
10
  KEY_ALGORITHM_ASYMMETRIC_SIGNINGS: () => KEY_ALGORITHM_ASYMMETRIC_SIGNINGS,
11
+ KEY_ALGORITHM_KEY_ENCAPSULATIONS: () => KEY_ALGORITHM_KEY_ENCAPSULATIONS,
11
12
  KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS: () => KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS,
12
13
  KEY_ORIGINS: () => KEY_ORIGINS,
13
14
  KEY_STATES: () => KEY_STATES,
@@ -37,4 +38,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
37
38
  unmarshalWrapKeyResponse: () => unmarshalWrapKeyResponse
38
39
  });
39
40
  //#endregion
40
- export { API, DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_SIGNINGS, KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ORIGINS, KEY_STATES, LIST_ALGORITHMS_REQUEST_USAGES, LIST_KEYS_REQUEST_ORDER_BIES, LIST_KEYS_REQUEST_USAGES, index_gen_exports, marshalCreateKeyRequest, marshalDecryptRequest, marshalEncryptRequest, marshalGenerateDataKeyRequest, marshalImportKeyMaterialRequest, marshalSignRequest, marshalUnwrapKeyRequest, marshalUpdateKeyRequest, marshalVerifyRequest, marshalWrapKeyRequest, unmarshalDataKey, unmarshalDecryptResponse, unmarshalEncryptResponse, unmarshalKey, unmarshalListAlgorithmsResponse, unmarshalListKeysResponse, unmarshalPublicKey, unmarshalSignResponse, unmarshalUnwrapKeyResponse, unmarshalVerifyResponse, unmarshalWrapKeyResponse };
41
+ export { API, DATA_KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_ENCRYPTIONS, KEY_ALGORITHM_ASYMMETRIC_SIGNINGS, KEY_ALGORITHM_KEY_ENCAPSULATIONS, KEY_ALGORITHM_SYMMETRIC_ENCRYPTIONS, KEY_ORIGINS, KEY_STATES, LIST_ALGORITHMS_REQUEST_USAGES, LIST_KEYS_REQUEST_ORDER_BIES, LIST_KEYS_REQUEST_USAGES, index_gen_exports, marshalCreateKeyRequest, marshalDecryptRequest, marshalEncryptRequest, marshalGenerateDataKeyRequest, marshalImportKeyMaterialRequest, marshalSignRequest, marshalUnwrapKeyRequest, marshalUpdateKeyRequest, marshalVerifyRequest, marshalWrapKeyRequest, unmarshalDataKey, unmarshalDecryptResponse, unmarshalEncryptResponse, unmarshalKey, unmarshalListAlgorithmsResponse, unmarshalListKeysResponse, unmarshalPublicKey, unmarshalSignResponse, unmarshalUnwrapKeyResponse, unmarshalVerifyResponse, unmarshalWrapKeyResponse };
@@ -12,6 +12,7 @@ const unmarshalKeyUsage = (data) => {
12
12
  return {
13
13
  asymmetricEncryption: data.asymmetric_encryption ? data.asymmetric_encryption : void 0,
14
14
  asymmetricSigning: data.asymmetric_signing ? data.asymmetric_signing : void 0,
15
+ keyEncapsulation: data.key_encapsulation ? data.key_encapsulation : void 0,
15
16
  symmetricEncryption: data.symmetric_encryption ? data.symmetric_encryption : void 0
16
17
  };
17
18
  };
@@ -129,6 +130,10 @@ const marshalKeyUsage = (request, defaults) => ({ ...resolveOneOf([
129
130
  {
130
131
  param: "asymmetric_signing",
131
132
  value: request.asymmetricSigning
133
+ },
134
+ {
135
+ param: "key_encapsulation",
136
+ value: request.keyEncapsulation
132
137
  }
133
138
  ]) });
134
139
  const marshalCreateKeyRequest = (request, defaults) => ({
@@ -9,7 +9,7 @@ export declare const queriesMetadata: {
9
9
  readonly protoName: 'GetKey';
10
10
  readonly paramsType: 'GetKeyRequest';
11
11
  readonly returnType: 'Key';
12
- readonly returnTypeNamespace: '@scaleway-internal/sdk-key-manager/v1alpha1';
12
+ readonly returnTypeNamespace: '@scaleway/sdk-key-manager/v1alpha1';
13
13
  readonly isList: false;
14
14
  readonly paginationType: 'none';
15
15
  readonly isPrivate: false;
@@ -19,7 +19,7 @@ export declare const queriesMetadata: {
19
19
  readonly protoName: 'GetPublicKey';
20
20
  readonly paramsType: 'GetPublicKeyRequest';
21
21
  readonly returnType: 'PublicKey';
22
- readonly returnTypeNamespace: '@scaleway-internal/sdk-key-manager/v1alpha1';
22
+ readonly returnTypeNamespace: '@scaleway/sdk-key-manager/v1alpha1';
23
23
  readonly isList: false;
24
24
  readonly paginationType: 'none';
25
25
  readonly isPrivate: false;
@@ -29,12 +29,12 @@ export declare const queriesMetadata: {
29
29
  readonly protoName: 'ListKeys';
30
30
  readonly paramsType: 'ListKeysRequest';
31
31
  readonly returnType: 'ListKeysResponse';
32
- readonly returnTypeNamespace: '@scaleway-internal/sdk-key-manager/v1alpha1';
32
+ readonly returnTypeNamespace: '@scaleway/sdk-key-manager/v1alpha1';
33
33
  readonly isList: true;
34
34
  readonly paginationType: 'offset';
35
35
  readonly pageParamKey: 'page';
36
36
  readonly listItemType: 'Key';
37
- readonly listItemTypeNamespace: '@scaleway-internal/sdk-key-manager/v1alpha1';
37
+ readonly listItemTypeNamespace: '@scaleway/sdk-key-manager/v1alpha1';
38
38
  readonly isPrivate: false;
39
39
  readonly description: '"';
40
40
  }, {
@@ -42,7 +42,7 @@ export declare const queriesMetadata: {
42
42
  readonly protoName: 'ListAlgorithms';
43
43
  readonly paramsType: 'ListAlgorithmsRequest';
44
44
  readonly returnType: 'ListAlgorithmsResponse';
45
- readonly returnTypeNamespace: '@scaleway-internal/sdk-key-manager/v1alpha1';
45
+ readonly returnTypeNamespace: '@scaleway/sdk-key-manager/v1alpha1';
46
46
  readonly isList: false;
47
47
  readonly paginationType: 'none';
48
48
  readonly isPrivate: false;
@@ -11,7 +11,7 @@ const queriesMetadata = {
11
11
  protoName: "GetKey",
12
12
  paramsType: "GetKeyRequest",
13
13
  returnType: "Key",
14
- returnTypeNamespace: "@scaleway-internal/sdk-key-manager/v1alpha1",
14
+ returnTypeNamespace: "@scaleway/sdk-key-manager/v1alpha1",
15
15
  isList: false,
16
16
  paginationType: "none",
17
17
  isPrivate: false,
@@ -22,7 +22,7 @@ const queriesMetadata = {
22
22
  protoName: "GetPublicKey",
23
23
  paramsType: "GetPublicKeyRequest",
24
24
  returnType: "PublicKey",
25
- returnTypeNamespace: "@scaleway-internal/sdk-key-manager/v1alpha1",
25
+ returnTypeNamespace: "@scaleway/sdk-key-manager/v1alpha1",
26
26
  isList: false,
27
27
  paginationType: "none",
28
28
  isPrivate: false,
@@ -33,12 +33,12 @@ const queriesMetadata = {
33
33
  protoName: "ListKeys",
34
34
  paramsType: "ListKeysRequest",
35
35
  returnType: "ListKeysResponse",
36
- returnTypeNamespace: "@scaleway-internal/sdk-key-manager/v1alpha1",
36
+ returnTypeNamespace: "@scaleway/sdk-key-manager/v1alpha1",
37
37
  isList: true,
38
38
  paginationType: "offset",
39
39
  pageParamKey: "page",
40
40
  listItemType: "Key",
41
- listItemTypeNamespace: "@scaleway-internal/sdk-key-manager/v1alpha1",
41
+ listItemTypeNamespace: "@scaleway/sdk-key-manager/v1alpha1",
42
42
  isPrivate: false,
43
43
  description: "\""
44
44
  },
@@ -47,7 +47,7 @@ const queriesMetadata = {
47
47
  protoName: "ListAlgorithms",
48
48
  paramsType: "ListAlgorithmsRequest",
49
49
  returnType: "ListAlgorithmsResponse",
50
- returnTypeNamespace: "@scaleway-internal/sdk-key-manager/v1alpha1",
50
+ returnTypeNamespace: "@scaleway/sdk-key-manager/v1alpha1",
51
51
  isList: false,
52
52
  paginationType: "none",
53
53
  isPrivate: false,
@@ -1,11 +1,12 @@
1
1
  import type { Region as ScwRegion } from '@scaleway/sdk-client';
2
2
  export type DataKeyAlgorithmSymmetricEncryption = 'unknown_symmetric_encryption' | 'aes_256_gcm';
3
- export type KeyAlgorithmAsymmetricEncryption = 'unknown_asymmetric_encryption' | 'rsa_oaep_2048_sha256' | 'rsa_oaep_3072_sha256' | 'rsa_oaep_4096_sha256' | 'ml_kem_768' | 'ml_kem_1024';
4
- export type KeyAlgorithmAsymmetricSigning = 'unknown_asymmetric_signing' | 'ec_p256_sha256' | 'ec_p384_sha384' | 'rsa_pss_2048_sha256' | 'rsa_pss_3072_sha256' | 'rsa_pss_4096_sha256' | 'rsa_pkcs1_2048_sha256' | 'rsa_pkcs1_3072_sha256' | 'rsa_pkcs1_4096_sha256' | 'ml_dsa_44' | 'ml_dsa_65' | 'ml_dsa_87';
3
+ export type KeyAlgorithmAsymmetricEncryption = 'unknown_asymmetric_encryption' | 'rsa_oaep_2048_sha256' | 'rsa_oaep_3072_sha256' | 'rsa_oaep_4096_sha256';
4
+ export type KeyAlgorithmAsymmetricSigning = 'unknown_asymmetric_signing' | 'ec_p256_sha256' | 'ec_p384_sha384' | 'rsa_pss_2048_sha256' | 'rsa_pss_3072_sha256' | 'rsa_pss_4096_sha256' | 'rsa_pkcs1_2048_sha256' | 'rsa_pkcs1_3072_sha256' | 'rsa_pkcs1_4096_sha256' | 'ml_dsa_44' | 'ml_dsa_65' | 'ml_dsa_87' | 'ec_secp256k1_sha256';
5
+ export type KeyAlgorithmKeyEncapsulation = 'unknown_key_encapsulation' | 'ml_kem_768' | 'ml_kem_1024';
5
6
  export type KeyAlgorithmSymmetricEncryption = 'unknown_symmetric_encryption' | 'aes_256_gcm';
6
7
  export type KeyOrigin = 'unknown_origin' | 'scaleway_kms' | 'external';
7
8
  export type KeyState = 'unknown_state' | 'enabled' | 'disabled' | 'pending_key_material' | 'scheduled_for_deletion';
8
- export type ListAlgorithmsRequestUsage = 'unknown_usage' | 'symmetric_encryption' | 'asymmetric_encryption' | 'asymmetric_signing';
9
+ export type ListAlgorithmsRequestUsage = 'unknown_usage' | 'symmetric_encryption' | 'asymmetric_encryption' | 'asymmetric_signing' | 'key_encapsulation';
9
10
  export type ListKeysRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
10
11
  export type ListKeysRequestUsage = 'unknown_usage' | 'symmetric_encryption' | 'asymmetric_encryption' | 'asymmetric_signing';
11
12
  export interface KeyRotationPolicy {
@@ -22,21 +23,26 @@ export interface KeyUsage {
22
23
  /**
23
24
  * See the `Key.Algorithm.SymmetricEncryption` enum for a description of values.
24
25
  *
25
- * One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning' could be set.
26
+ * One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning', 'keyEncapsulation' could be set.
26
27
  */
27
28
  symmetricEncryption?: KeyAlgorithmSymmetricEncryption;
28
29
  /**
29
30
  * See the `Key.Algorithm.AsymmetricEncryption` enum for a description of values.
30
31
  *
31
- * One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning' could be set.
32
+ * One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning', 'keyEncapsulation' could be set.
32
33
  */
33
34
  asymmetricEncryption?: KeyAlgorithmAsymmetricEncryption;
34
35
  /**
35
36
  * See the `Key.Algorithm.AsymmetricSigning` enum for a description of values.
36
37
  *
37
- * One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning' could be set.
38
+ * One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning', 'keyEncapsulation' could be set.
38
39
  */
39
40
  asymmetricSigning?: KeyAlgorithmAsymmetricSigning;
41
+ /**
42
+ *
43
+ * One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning', 'keyEncapsulation' could be set.
44
+ */
45
+ keyEncapsulation?: KeyAlgorithmKeyEncapsulation;
40
46
  }
41
47
  export interface ListAlgorithmsResponseAlgorithm {
42
48
  usage: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-key-manager",
3
- "version": "2.12.0",
3
+ "version": "2.14.0",
4
4
  "description": "Scaleway SDK key-manager",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,17 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.7.0"
36
+ "@scaleway/sdk-std": "2.8.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.6.0"
40
+ "@scaleway/sdk-client": "^2.8.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scaleway/sdk-client": "^2.6.0"
44
- },
45
- "engines": {
46
- "node": ">=20.20.2"
43
+ "@scaleway/sdk-client": "^2.8.0"
47
44
  },
48
45
  "scripts": {
49
46
  "package:check": "pnpm publint",