@scaleway/sdk-key-manager 1.1.1 → 1.2.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.
|
@@ -170,7 +170,8 @@ class API extends sdkClient.API {
|
|
|
170
170
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
171
171
|
],
|
|
172
172
|
["project_id", request.projectId],
|
|
173
|
-
["tags", request.tags]
|
|
173
|
+
["tags", request.tags],
|
|
174
|
+
["usage", request.usage]
|
|
174
175
|
)
|
|
175
176
|
},
|
|
176
177
|
marshalling_gen.unmarshalListKeysResponse
|
package/dist/v1alpha1/api.gen.js
CHANGED
|
@@ -168,7 +168,8 @@ class API extends API$1 {
|
|
|
168
168
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
169
169
|
],
|
|
170
170
|
["project_id", request.projectId],
|
|
171
|
-
["tags", request.tags]
|
|
171
|
+
["tags", request.tags],
|
|
172
|
+
["usage", request.usage]
|
|
172
173
|
)
|
|
173
174
|
},
|
|
174
175
|
unmarshalListKeysResponse
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { API } from './api.gen';
|
|
2
2
|
export * from './marshalling.gen';
|
|
3
|
-
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, ListKeysRequest, ListKeysRequestOrderBy, ListKeysResponse, ProtectKeyRequest, PublicKey, RotateKeyRequest, SignRequest, SignResponse, UnprotectKeyRequest, UpdateKeyRequest, VerifyRequest, VerifyResponse, } from './types.gen';
|
|
3
|
+
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, ListKeysRequest, ListKeysRequestOrderBy, ListKeysRequestUsage, ListKeysResponse, ProtectKeyRequest, PublicKey, RotateKeyRequest, SignRequest, SignResponse, UnprotectKeyRequest, UpdateKeyRequest, VerifyRequest, VerifyResponse, } from './types.gen';
|
|
@@ -6,6 +6,7 @@ export type KeyAlgorithmSymmetricEncryption = 'unknown_symmetric_encryption' | '
|
|
|
6
6
|
export type KeyOrigin = 'unknown_origin' | 'scaleway_kms' | 'external';
|
|
7
7
|
export type KeyState = 'unknown_state' | 'enabled' | 'disabled' | 'pending_key_material';
|
|
8
8
|
export type ListKeysRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
|
|
9
|
+
export type ListKeysRequestUsage = 'unknown_usage' | 'symmetric_encryption' | 'asymmetric_encryption' | 'asymmetric_signing';
|
|
9
10
|
export interface KeyRotationPolicy {
|
|
10
11
|
/**
|
|
11
12
|
* Time interval between two key rotations. The minimum duration is 24 hours and the maximum duration is 1 year (876000 hours).
|
|
@@ -341,6 +342,10 @@ export type ListKeysRequest = {
|
|
|
341
342
|
* (Optional) Filter by key name.
|
|
342
343
|
*/
|
|
343
344
|
name?: string;
|
|
345
|
+
/**
|
|
346
|
+
* Select from symmetric encryption, asymmetric encryption, or asymmetric signing.
|
|
347
|
+
*/
|
|
348
|
+
usage?: ListKeysRequestUsage;
|
|
344
349
|
};
|
|
345
350
|
export interface ListKeysResponse {
|
|
346
351
|
/**
|