@sphereon/ssi-sdk.kms-rest-client 0.34.1-feature.IDK.11.49 → 0.34.1-feature.IDK.11.51
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/index.cjs +948 -958
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1177 -57
- package/dist/index.d.ts +1177 -57
- package/dist/index.js +941 -952
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/agent/KmsRestClient.ts +58 -58
- package/src/index.ts +1 -1
- package/src/types/IKmsRestClient.ts +34 -34
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.kms-rest-client",
|
|
3
3
|
"description": "contains the client side to call REST endpoints of a KMS server",
|
|
4
|
-
"version": "0.34.1-feature.IDK.11.
|
|
4
|
+
"version": "0.34.1-feature.IDK.11.51+a5d5ec05",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"generate-plugin-schema": "tsx ../../packages/dev/bin/sphereon.js dev generate-plugin-schema"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sphereon/ssi-types": "0.34.1-feature.IDK.11.
|
|
31
|
+
"@sphereon/ssi-types": "0.34.1-feature.IDK.11.51+a5d5ec05",
|
|
32
32
|
"cross-fetch": "^3.1.8"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"KMS",
|
|
57
57
|
"REST"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "a5d5ec05589451cf2b55e3ee3a8fa8966aaf8cae"
|
|
60
60
|
}
|
|
@@ -2,26 +2,26 @@ import { IAgentPlugin } from '@veramo/core'
|
|
|
2
2
|
import { Loggers } from '@sphereon/ssi-types'
|
|
3
3
|
import { fetch } from 'cross-fetch'
|
|
4
4
|
import type {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
kmsClientGetResolverArgs,
|
|
6
|
+
KmsClientListResolversArgs,
|
|
7
7
|
IKmsRestClient,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
8
|
+
KmsClientResolveKeyArgs,
|
|
9
|
+
KmsClientCreateRawSignatureArgs,
|
|
10
|
+
KmsClientGetKeyArgs,
|
|
11
|
+
KmsClientListKeysArgs,
|
|
12
|
+
KmsClientStoreKeyArgs,
|
|
13
|
+
KmsClientGenerateKeyArgs,
|
|
14
|
+
KmsClientDeleteKeyArgs,
|
|
15
|
+
KmsClientGetKeyProviderArgs,
|
|
16
|
+
KmsClientListKeyProvidersArgs,
|
|
17
|
+
KmsClientProviderListKeysArgs,
|
|
18
|
+
KmsClientProviderStoreKey,
|
|
19
|
+
KmsClientProviderGenerateKey,
|
|
20
|
+
KmsClientProviderGetKeyArgs,
|
|
21
|
+
KmsClientProviderDeleteKeyArgs,
|
|
22
22
|
RestClientAuthenticationOpts,
|
|
23
23
|
KmsRestClientArgs,
|
|
24
|
-
|
|
24
|
+
KmsClientIsValidRawSignatureArgs,
|
|
25
25
|
} from '../types/IKmsRestClient'
|
|
26
26
|
import type {
|
|
27
27
|
CreateRawSignature,
|
|
@@ -42,10 +42,11 @@ import type {
|
|
|
42
42
|
KeyProviderResponse,
|
|
43
43
|
} from '../models'
|
|
44
44
|
import {
|
|
45
|
-
CreateRawSignatureToJSONTyped,
|
|
46
45
|
CreateRawSignatureResponseFromJSONTyped,
|
|
46
|
+
CreateRawSignatureToJSONTyped,
|
|
47
47
|
GenerateKeyGlobalToJSONTyped,
|
|
48
48
|
GenerateKeyToJSONTyped,
|
|
49
|
+
KeyProviderResponseFromJSONTyped,
|
|
49
50
|
ListKeyProvidersResponseFromJSONTyped,
|
|
50
51
|
ListKeysResponseFromJSONTyped,
|
|
51
52
|
ListResolversResponseFromJSONTyped,
|
|
@@ -54,10 +55,9 @@ import {
|
|
|
54
55
|
ResolvePublicKeyToJSONTyped,
|
|
55
56
|
ResolvedKeyInfoFromJSONTyped,
|
|
56
57
|
ResolverFromJSONTyped,
|
|
57
|
-
VerifyRawSignatureResponseFromJSONTyped,
|
|
58
58
|
StoreKeyToJSONTyped,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
VerifyRawSignatureResponseFromJSONTyped,
|
|
60
|
+
VerifyRawSignatureToJSONTyped
|
|
61
61
|
} from '../models'
|
|
62
62
|
|
|
63
63
|
const logger = Loggers.DEFAULT.get('sphereon:ssi-sdk:kms:rest-client')
|
|
@@ -67,26 +67,26 @@ const logger = Loggers.DEFAULT.get('sphereon:ssi-sdk:kms:rest-client')
|
|
|
67
67
|
*/
|
|
68
68
|
export class KmsRestClient implements IAgentPlugin {
|
|
69
69
|
readonly methods: IKmsRestClient = {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
70
|
+
kmsClientGetKey: this.kmsClientGetKey.bind(this),
|
|
71
|
+
kmsClientListKeys: this.kmsClientListKeys.bind(this),
|
|
72
|
+
kmsClientStoreKey: this.kmsClientStoreKey.bind(this),
|
|
73
|
+
kmsClientGenerateKey: this.kmsClientGenerateKey.bind(this),
|
|
74
|
+
kmsClientDeleteKey: this.kmsClientDeleteKey.bind(this),
|
|
75
|
+
|
|
76
|
+
kmsClientGetKeyProvider: this.kmsClientGetKeyProvider.bind(this),
|
|
77
|
+
kmsClientListKeyProviders: this.kmsClientListKeyProviders.bind(this),
|
|
78
|
+
kmsClientProviderListKeys: this.kmsClientProviderListKeys.bind(this),
|
|
79
|
+
kmsClientProviderStoreKey: this.kmsClientProviderStoreKey.bind(this),
|
|
80
|
+
kmsClientProviderGenerateKey: this.kmsClientProviderGenerateKey.bind(this),
|
|
81
|
+
kmsClientProviderGetKey: this.kmsClientProviderGetKey.bind(this),
|
|
82
|
+
kmsClientProviderDeleteKey: this.kmsClientProviderDeleteKey.bind(this),
|
|
83
|
+
|
|
84
|
+
kmsClientGetResolver: this.kmsClientGetResolver.bind(this),
|
|
85
|
+
kmsClientListResolvers: this.kmsClientListResolvers.bind(this),
|
|
86
|
+
kmsClientResolveKey: this.kmsClientResolveKey.bind(this),
|
|
87
|
+
|
|
88
|
+
kmsClientCreateRawSignature: this.kmsClientCreateRawSignature.bind(this),
|
|
89
|
+
kmsClientIsValidRawSignature: this.kmsClientIsValidRawSignature.bind(this),
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
private readonly agentBaseUrl?: string
|
|
@@ -104,7 +104,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/** {@inheritDoc IKmsRestClient.kmsGetResolver} */
|
|
107
|
-
private async
|
|
107
|
+
private async kmsClientGetResolver(args: kmsClientGetResolverArgs): Promise<Resolver> {
|
|
108
108
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
109
109
|
const url = KmsRestClient.urlWithBase(`/resolvers/${args.resolverId}`, baseUrl)
|
|
110
110
|
|
|
@@ -121,7 +121,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/** {@inheritDoc IKmsRestClient.kmsListResolvers} */
|
|
124
|
-
private async
|
|
124
|
+
private async kmsClientListResolvers(args: KmsClientListResolversArgs): Promise<ListResolversResponse> {
|
|
125
125
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
126
126
|
const url = KmsRestClient.urlWithBase('/resolvers', baseUrl)
|
|
127
127
|
|
|
@@ -138,7 +138,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/** {@inheritDoc IKmsRestClient.kmsResolveKey} */
|
|
141
|
-
private async
|
|
141
|
+
private async kmsClientResolveKey(args: KmsClientResolveKeyArgs): Promise<ResolvedKeyInfo> {
|
|
142
142
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
143
143
|
const url = KmsRestClient.urlWithBase(`/resolvers/${args.resolverId}/resolve`, baseUrl)
|
|
144
144
|
|
|
@@ -163,7 +163,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
/** {@inheritDoc IKmsRestClient.kmsCreateRawSignature} */
|
|
166
|
-
private async
|
|
166
|
+
private async kmsClientCreateRawSignature(args: KmsClientCreateRawSignatureArgs): Promise<CreateRawSignatureResponse> {
|
|
167
167
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
168
168
|
const url = KmsRestClient.urlWithBase(`/signatures/raw`, baseUrl)
|
|
169
169
|
|
|
@@ -186,7 +186,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
/** {@inheritDoc IKmsRestClient.kmsIsValidRawSignature} */
|
|
189
|
-
private async
|
|
189
|
+
private async kmsClientIsValidRawSignature(args: KmsClientIsValidRawSignatureArgs): Promise<VerifyRawSignatureResponse> {
|
|
190
190
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
191
191
|
const url = KmsRestClient.urlWithBase(`/signatures/raw/verify`, baseUrl)
|
|
192
192
|
|
|
@@ -210,7 +210,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
/** {@inheritDoc IKmsRestClient.kmsGetKey} */
|
|
213
|
-
private async
|
|
213
|
+
private async kmsClientGetKey(args: KmsClientGetKeyArgs): Promise<ManagedKeyInfo> {
|
|
214
214
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
215
215
|
const url = KmsRestClient.urlWithBase(`/keys/${args.aliasOrKid}`, baseUrl)
|
|
216
216
|
|
|
@@ -227,7 +227,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
/** {@inheritDoc IKmsRestClient.kmsListKeys} */
|
|
230
|
-
private async
|
|
230
|
+
private async kmsClientListKeys(args: KmsClientListKeysArgs): Promise<ListKeysResponse> {
|
|
231
231
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
232
232
|
const url = this.addSearchParams(KmsRestClient.urlWithBase('/keys', baseUrl), { ...(args.providerId && { providerId: args.providerId }) })
|
|
233
233
|
const response = await fetch(url, {
|
|
@@ -244,7 +244,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
/** {@inheritDoc IKmsRestClient.kmsStoreKey} */
|
|
247
|
-
private async
|
|
247
|
+
private async kmsClientStoreKey(args: KmsClientStoreKeyArgs): Promise<ManagedKeyInfo> {
|
|
248
248
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
249
249
|
const url = KmsRestClient.urlWithBase(`/keys`, baseUrl)
|
|
250
250
|
|
|
@@ -267,7 +267,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/** {@inheritDoc IKmsRestClient.kmsGenerateKey} */
|
|
270
|
-
private async
|
|
270
|
+
private async kmsClientGenerateKey(args: KmsClientGenerateKeyArgs): Promise<ManagedKeyPair> {
|
|
271
271
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
272
272
|
const url = KmsRestClient.urlWithBase(`/keys/generate`, baseUrl)
|
|
273
273
|
|
|
@@ -292,7 +292,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
/** {@inheritDoc IKmsRestClient.kmsDeleteKey} */
|
|
295
|
-
private async
|
|
295
|
+
private async kmsClientDeleteKey(args: KmsClientDeleteKeyArgs): Promise<boolean> {
|
|
296
296
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
297
297
|
const url = KmsRestClient.urlWithBase(`/keys/${args.aliasOrKid}`, baseUrl)
|
|
298
298
|
|
|
@@ -304,7 +304,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
/** {@inheritDoc IKmsRestClient.kmsGetKeyProvider} */
|
|
307
|
-
private async
|
|
307
|
+
private async kmsClientGetKeyProvider(args: KmsClientGetKeyProviderArgs): Promise<KeyProviderResponse> {
|
|
308
308
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
309
309
|
const url = KmsRestClient.urlWithBase(`/providers/${args.providerId}`, baseUrl)
|
|
310
310
|
|
|
@@ -321,7 +321,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
/** {@inheritDoc IKmsRestClient.kmsListKeyProviders} */
|
|
324
|
-
private async
|
|
324
|
+
private async kmsClientListKeyProviders(args: KmsClientListKeyProvidersArgs): Promise<ListKeyProvidersResponse> {
|
|
325
325
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
326
326
|
const url = KmsRestClient.urlWithBase('/providers', baseUrl)
|
|
327
327
|
|
|
@@ -338,7 +338,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
/** {@inheritDoc IKmsRestClient.kmsProviderListKeys} */
|
|
341
|
-
private async
|
|
341
|
+
private async kmsClientProviderListKeys(args: KmsClientProviderListKeysArgs): Promise<ListKeysResponse> {
|
|
342
342
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
343
343
|
const url = KmsRestClient.urlWithBase(`/providers/${args.providerId}/keys`, baseUrl)
|
|
344
344
|
|
|
@@ -355,7 +355,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
/** {@inheritDoc IKmsRestClient.kmsProviderStoreKey} */
|
|
358
|
-
private async
|
|
358
|
+
private async kmsClientProviderStoreKey(args: KmsClientProviderStoreKey): Promise<ManagedKeyInfo> {
|
|
359
359
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
360
360
|
const url = KmsRestClient.urlWithBase(`/providers/${args.providerId}/keys`, baseUrl)
|
|
361
361
|
|
|
@@ -378,7 +378,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
/** {@inheritDoc IKmsRestClient.kmsProviderGenerateKey} */
|
|
381
|
-
private async
|
|
381
|
+
private async kmsClientProviderGenerateKey(args: KmsClientProviderGenerateKey): Promise<ManagedKeyPair> {
|
|
382
382
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
383
383
|
const url = KmsRestClient.urlWithBase(`/providers/${args.providerId}/keys/generate`, baseUrl)
|
|
384
384
|
|
|
@@ -402,7 +402,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
/** {@inheritDoc IKmsRestClient.kmsProviderGetKey} */
|
|
405
|
-
private async
|
|
405
|
+
private async kmsClientProviderGetKey(args: KmsClientProviderGetKeyArgs): Promise<ManagedKeyInfo> {
|
|
406
406
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
407
407
|
const url = KmsRestClient.urlWithBase(`/providers/${args.providerId}/keys/${args.aliasOrKid}`, baseUrl)
|
|
408
408
|
|
|
@@ -419,7 +419,7 @@ export class KmsRestClient implements IAgentPlugin {
|
|
|
419
419
|
}
|
|
420
420
|
|
|
421
421
|
/** {@inheritDoc IKmsRestClient.kmsProviderDeleteKey} */
|
|
422
|
-
private async
|
|
422
|
+
private async kmsClientProviderDeleteKey(args: KmsClientProviderDeleteKeyArgs): Promise<boolean> {
|
|
423
423
|
const baseUrl = this.assertedAgentBaseUrl(args.baseUrl)
|
|
424
424
|
const url = KmsRestClient.urlWithBase(`providers/${args.providerId}/keys/${args.aliasOrKid}`, baseUrl)
|
|
425
425
|
|
package/src/index.ts
CHANGED
|
@@ -20,101 +20,101 @@ import {
|
|
|
20
20
|
} from '../models'
|
|
21
21
|
|
|
22
22
|
export interface IKmsRestClient extends IPluginMethodMap {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
23
|
+
kmsClientGetResolver(args: kmsClientGetResolverArgs): Promise<Resolver>
|
|
24
|
+
kmsClientListResolvers(args: KmsClientListResolversArgs): Promise<ListResolversResponse>
|
|
25
|
+
kmsClientResolveKey(args: KmsClientResolveKeyArgs): Promise<ResolvedKeyInfo>
|
|
26
|
+
kmsClientCreateRawSignature(args: KmsClientCreateRawSignatureArgs): Promise<CreateRawSignatureResponse>
|
|
27
|
+
kmsClientIsValidRawSignature(args: KmsClientIsValidRawSignatureArgs): Promise<VerifyRawSignatureResponse>
|
|
28
|
+
kmsClientGetKey(args: KmsClientGetKeyArgs): Promise<ManagedKeyInfo>
|
|
29
|
+
kmsClientListKeys(args: KmsClientListKeysArgs): Promise<ListKeysResponse>
|
|
30
|
+
kmsClientStoreKey(args: KmsClientStoreKeyArgs): Promise<ManagedKeyInfo>
|
|
31
|
+
kmsClientGenerateKey(args: KmsClientGenerateKeyArgs): Promise<ManagedKeyPair>
|
|
32
|
+
kmsClientDeleteKey(args: KmsClientDeleteKeyArgs): Promise<boolean>
|
|
33
|
+
kmsClientGetKeyProvider(args: KmsClientGetKeyProviderArgs): Promise<KeyProviderResponse>
|
|
34
|
+
kmsClientListKeyProviders(args: KmsClientListKeyProvidersArgs): Promise<ListKeyProvidersResponse>
|
|
35
|
+
kmsClientProviderListKeys(args: KmsClientProviderListKeysArgs): Promise<ListKeysResponse>
|
|
36
|
+
kmsClientProviderStoreKey(args: KmsClientProviderStoreKey): Promise<ManagedKeyInfo>
|
|
37
|
+
kmsClientProviderGenerateKey(args: KmsClientProviderGenerateKey): Promise<ManagedKeyPair>
|
|
38
|
+
kmsClientProviderGetKey(args: KmsClientProviderGetKeyArgs): Promise<ManagedKeyInfo>
|
|
39
|
+
kmsClientProviderDeleteKey(args: KmsClientProviderDeleteKeyArgs): Promise<boolean>
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export type
|
|
42
|
+
export type KmsClientListResolversArgs = {
|
|
43
43
|
baseUrl?: string
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export type
|
|
46
|
+
export type kmsClientGetResolverArgs = {
|
|
47
47
|
baseUrl?: string
|
|
48
48
|
resolverId: string
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export type
|
|
51
|
+
export type KmsClientResolveKeyArgs = {
|
|
52
52
|
baseUrl?: string
|
|
53
53
|
resolverId: String
|
|
54
54
|
} & ResolvePublicKey
|
|
55
55
|
|
|
56
|
-
export type
|
|
56
|
+
export type KmsClientCreateRawSignatureArgs = {
|
|
57
57
|
baseUrl?: string
|
|
58
58
|
} & CreateRawSignature
|
|
59
59
|
|
|
60
|
-
export type
|
|
60
|
+
export type KmsClientIsValidRawSignatureArgs = {
|
|
61
61
|
baseUrl?: string
|
|
62
62
|
} & VerifyRawSignature
|
|
63
63
|
|
|
64
|
-
export type
|
|
64
|
+
export type KmsClientGetKeyArgs = {
|
|
65
65
|
baseUrl?: string
|
|
66
66
|
aliasOrKid: string
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export type
|
|
69
|
+
export type KmsClientListKeysArgs = {
|
|
70
70
|
baseUrl?: string
|
|
71
71
|
providerId?: string
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export type
|
|
74
|
+
export type KmsClientStoreKeyArgs = {
|
|
75
75
|
baseUrl?: string
|
|
76
76
|
} & StoreKey
|
|
77
77
|
|
|
78
|
-
export type
|
|
78
|
+
export type KmsClientGenerateKeyArgs = {
|
|
79
79
|
baseUrl?: string
|
|
80
80
|
} & GenerateKeyGlobal
|
|
81
81
|
|
|
82
|
-
export type
|
|
82
|
+
export type KmsClientDeleteKeyArgs = {
|
|
83
83
|
baseUrl?: string
|
|
84
84
|
aliasOrKid?: string
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
export type
|
|
87
|
+
export type KmsClientGetKeyProviderArgs = {
|
|
88
88
|
baseUrl?: string
|
|
89
89
|
providerId?: string
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export type
|
|
92
|
+
export type KmsClientListKeyProvidersArgs = {
|
|
93
93
|
baseUrl?: string
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export type
|
|
96
|
+
export type KmsClientProviderListKeysArgs = {
|
|
97
97
|
baseUrl?: string
|
|
98
98
|
providerId: string
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export type
|
|
101
|
+
export type KmsClientProviderStoreKey = {
|
|
102
102
|
baseUrl?: string
|
|
103
103
|
providerId: string
|
|
104
104
|
} & StoreKey
|
|
105
105
|
|
|
106
|
-
export type
|
|
106
|
+
export type KmsClientProviderGenerateKey = {
|
|
107
107
|
baseUrl?: string
|
|
108
108
|
providerId: string
|
|
109
109
|
} & GenerateKey
|
|
110
110
|
|
|
111
|
-
export type
|
|
111
|
+
export type KmsClientProviderGetKeyArgs = {
|
|
112
112
|
baseUrl?: string
|
|
113
113
|
providerId: string
|
|
114
114
|
aliasOrKid: string
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export type
|
|
117
|
+
export type KmsClientProviderDeleteKeyArgs = {
|
|
118
118
|
baseUrl?: string
|
|
119
119
|
providerId: string
|
|
120
120
|
aliasOrKid: string
|