codeapp-js 0.2.1 → 0.3.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.
Files changed (100) hide show
  1. package/codeApp/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -0
  2. package/codeApp/.power/schemas/jira/jira.Schema.json +6903 -0
  3. package/codeApp/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
  4. package/codeApp/.power/schemas/teams/teams.Schema.json +11112 -0
  5. package/codeApp/dist/codeapp.js +992 -4
  6. package/codeApp/dist/power-apps-data.js +145 -31
  7. package/codeApp/src/generated/index.ts +12 -0
  8. package/codeApp/src/generated/models/AzureKeyVaultModel.ts +107 -0
  9. package/codeApp/src/generated/models/JiraModel.ts +501 -0
  10. package/codeApp/src/generated/models/Office365GroupsModel.ts +363 -0
  11. package/codeApp/src/generated/models/Office365OutlookModel.ts +2046 -0
  12. package/codeApp/src/generated/models/Office365UsersModel.ts +254 -0
  13. package/codeApp/src/generated/services/AzureKeyVaultService.ts +257 -0
  14. package/codeApp/src/generated/services/JiraService.ts +1124 -0
  15. package/codeApp/src/generated/services/Office365GroupsService.ts +326 -0
  16. package/codeApp/src/generated/services/Office365OutlookService.ts +2476 -0
  17. package/codeApp/src/generated/services/Office365UsersService.ts +358 -0
  18. package/dev files/outlook.js +218 -9
  19. package/examples/combined demo/dist/codeapp.js +1098 -1098
  20. package/examples/combined demo/dist/index.js +470 -470
  21. package/examples/combined demo/dist/power-apps-data.js +3006 -3006
  22. package/examples/combined demo/power.config.json +42 -42
  23. package/examples/dataverse Demo/dist/codeapp.js +1085 -1085
  24. package/examples/dataverse Demo/dist/index.html +54 -54
  25. package/examples/dataverse Demo/dist/index.js +82 -82
  26. package/examples/dataverse Demo/dist/power-apps-data.js +2911 -2911
  27. package/examples/dataverse Demo/power.config.json +34 -34
  28. package/examples/dataverse Demo/readme.md +79 -79
  29. package/examples/groups Demo/dist/codeapp.js +1085 -1085
  30. package/examples/groups Demo/dist/index.js +113 -113
  31. package/examples/groups Demo/dist/power-apps-data.js +2911 -2911
  32. package/examples/kanban/dist/dataverse.js +94 -94
  33. package/examples/kanban/dist/environmentVar.js +55 -55
  34. package/examples/kanban/dist/office365groups.js +97 -97
  35. package/examples/kanban/dist/office365users.js +169 -169
  36. package/examples/kanban/dist/outlook.js +162 -162
  37. package/examples/kanban/dist/power-apps-data.js +2953 -2953
  38. package/examples/kanban/dist/sharepoint.js +339 -339
  39. package/examples/myProfile/dist/index.html +184 -184
  40. package/examples/myProfile/dist/index.js +141 -141
  41. package/examples/myProfile/dist/office365users.js +169 -169
  42. package/examples/myProfile/dist/power-apps-data.js +2953 -2953
  43. package/examples/myProfile/power.config.json +22 -22
  44. package/examples/myProfile/readme.md +79 -79
  45. package/examples/outlook Demo/dist/codeapp.js +1085 -1085
  46. package/examples/outlook Demo/dist/index.html +35 -35
  47. package/examples/outlook Demo/dist/index.js +170 -170
  48. package/examples/outlook Demo/dist/outlook.js +121 -121
  49. package/examples/outlook Demo/dist/power-apps-data.js +2911 -2911
  50. package/examples/outlook Demo/dist/styles.css +84 -84
  51. package/examples/outlook Demo/readme.md +82 -82
  52. package/examples/outlook Demo2/OutlookDemo_1_0_0_1.zip +0 -0
  53. package/examples/outlook Demo2/agent/decision-log.md +7 -0
  54. package/examples/{solution explorer → outlook Demo2}/dist/codeapp.js +245 -9
  55. package/examples/outlook Demo2/dist/index.html +98 -0
  56. package/examples/outlook Demo2/dist/index.js +272 -0
  57. package/examples/outlook Demo2/dist/styles.css +639 -0
  58. package/examples/outlook Demo2/power.config.json +23 -0
  59. package/examples/outlook Demo2/src/generated/index.ts +14 -0
  60. package/examples/outlook Demo2/src/generated/models/Office365GroupsModel.ts +363 -0
  61. package/examples/outlook Demo2/src/generated/models/Office365OutlookModel.ts +2046 -0
  62. package/examples/outlook Demo2/src/generated/models/Office365UsersModel.ts +254 -0
  63. package/examples/outlook Demo2/src/generated/services/Office365GroupsService.ts +326 -0
  64. package/examples/outlook Demo2/src/generated/services/Office365OutlookService.ts +2476 -0
  65. package/examples/outlook Demo2/src/generated/services/Office365UsersService.ts +358 -0
  66. package/examples/planning Poker/.vscode/settings.json +4 -4
  67. package/examples/planning Poker/additional files/customizations (tables).xml +6428 -6428
  68. package/examples/planning Poker/additional files/dataverse-tables.json +165 -165
  69. package/examples/planning Poker/additional files/readme.md +122 -122
  70. package/examples/planning Poker/dist/dataverse.js +78 -78
  71. package/examples/planning Poker/dist/index.html +198 -198
  72. package/examples/planning Poker/dist/index.js +954 -954
  73. package/examples/planning Poker/dist/power-apps-data.js +2953 -2953
  74. package/examples/planning Poker/dist/styles.css +815 -815
  75. package/examples/sharePoint Demo/agent/decision-log.md +5 -5
  76. package/examples/sharePoint Demo/dist/codeapp.js +1085 -1085
  77. package/examples/sharePoint Demo/dist/index.js +262 -262
  78. package/examples/sharePoint Demo/dist/power-apps-data.js +2911 -2911
  79. package/examples/sharePoint Demo/power.config.json +22 -22
  80. package/examples/todo/dist/dataverse.js +64 -64
  81. package/examples/todo/dist/index.html +75 -75
  82. package/examples/todo/dist/index.js +8 -8
  83. package/examples/todo/dist/power-apps-data.js +2953 -2953
  84. package/examples/todo/dist/renderer.js +375 -375
  85. package/examples/todo/dist/styles.css +691 -691
  86. package/examples/todo/power.config.json +34 -34
  87. package/package.json +1 -1
  88. package/readme.md +33 -4
  89. package/examples/solution explorer/agent/decision-log.md +0 -27
  90. package/examples/solution explorer/agent/mockup-01-swiss-grid.html +0 -452
  91. package/examples/solution explorer/agent/mockup-02-dark-glass.html +0 -496
  92. package/examples/solution explorer/agent/mockup-03-paper-console.html +0 -510
  93. package/examples/solution explorer/agent/mockup-04-neon-noir.html +0 -546
  94. package/examples/solution explorer/agent/mockup-05-zen-garden.html +0 -534
  95. package/examples/solution explorer/dist/index.html +0 -80
  96. package/examples/solution explorer/dist/index.js +0 -735
  97. package/examples/solution explorer/dist/styles.css +0 -571
  98. package/examples/solution explorer/power.config.json +0 -151
  99. /package/examples/{solution explorer → outlook Demo2}/dist/icon-512.png +0 -0
  100. /package/examples/{solution explorer → outlook Demo2}/dist/power-apps-data.js +0 -0
@@ -0,0 +1,1600 @@
1
+ {
2
+ "name": "shared_keyvault",
3
+ "id": "/providers/Microsoft.PowerApps/apis/shared_keyvault",
4
+ "type": "Microsoft.PowerApps/apis",
5
+ "properties": {
6
+ "displayName": "Azure Key Vault",
7
+ "iconUri": "https://conn-afd-prod-endpoint-bmc9bqahasf3grgk.b01.azurefd.net/releases/v1.0.1800/1.0.1800.4648/keyvault/icon.png",
8
+ "iconBrandColor": "",
9
+ "apiEnvironment": "Shared",
10
+ "isCustomApi": false,
11
+ "blobUrisAreProxied": false,
12
+ "connectionParameterSets": {
13
+ "uiDefinition": {
14
+ "displayName": "Authentication type",
15
+ "description": "The authentication type to use."
16
+ },
17
+ "values": [
18
+ {
19
+ "name": "CertOauth",
20
+ "uiDefinition": {
21
+ "displayName": "Client Certificate Auth",
22
+ "description": "Provide Microsoft Entra ID credentials using PFX certificate and password"
23
+ },
24
+ "parameters": {
25
+ "vaultName": {
26
+ "type": "string",
27
+ "uiDefinition": {
28
+ "displayName": "Vault name",
29
+ "description": "The name for the key vault.",
30
+ "tooltip": "Provide the name for your key vault.",
31
+ "constraints": {
32
+ "required": "true"
33
+ }
34
+ }
35
+ },
36
+ "token": {
37
+ "type": "oauthSetting",
38
+ "oAuthSettings": {
39
+ "identityProvider": "aadcertificate",
40
+ "clientId": "9eaef548-1198-4c98-814a-8b88eb392f3f",
41
+ "scopes": [],
42
+ "redirectMode": "GlobalPerConnector",
43
+ "redirectUrl": "https://global.consent.azure-apim.net/redirect/keyvault",
44
+ "properties": {
45
+ "IsFirstParty": "True",
46
+ "AzureActiveDirectoryResourceId": "https://vault.azure.net",
47
+ "IsOnbehalfofLoginSupported": true
48
+ },
49
+ "customParameters": {
50
+ "grantType": {
51
+ "value": "client_credentials"
52
+ },
53
+ "ResourceUri": {
54
+ "value": "https://vault.azure.net"
55
+ },
56
+ "loginUri": {
57
+ "value": "https://login.windows.net"
58
+ },
59
+ "LoginUriAAD": {
60
+ "value": "https://login.windows.net"
61
+ }
62
+ }
63
+ },
64
+ "uiDefinition": {
65
+ "displayName": "Login your Credentials",
66
+ "description": "Login your Credentials",
67
+ "tooltip": "Provide your Credentials",
68
+ "constraints": {
69
+ "required": "true",
70
+ "hidden": "false"
71
+ }
72
+ }
73
+ },
74
+ "token:clientId": {
75
+ "type": "string",
76
+ "uiDefinition": {
77
+ "displayName": "Client ID",
78
+ "description": "The client ID of for the Microsoft Entra ID application",
79
+ "constraints": {
80
+ "required": "false",
81
+ "hidden": "false"
82
+ }
83
+ }
84
+ },
85
+ "token:TenantId": {
86
+ "type": "string",
87
+ "uiDefinition": {
88
+ "schema": {
89
+ "description": "The tenant ID of the Microsoft Entra ID application",
90
+ "type": "string"
91
+ },
92
+ "displayName": "Tenant",
93
+ "constraints": {
94
+ "required": "true",
95
+ "hidden": "false"
96
+ }
97
+ }
98
+ },
99
+ "token:clientCertificateSecret": {
100
+ "type": "clientCertificate",
101
+ "uiDefinition": {
102
+ "displayName": "Client certificate secret",
103
+ "description": "The client certificate secret allowed by this application",
104
+ "constraints": {
105
+ "required": "true",
106
+ "hidden": "false"
107
+ }
108
+ }
109
+ }
110
+ },
111
+ "metadata": {
112
+ "allowSharing": true
113
+ }
114
+ },
115
+ {
116
+ "name": "oauthDefault",
117
+ "uiDefinition": {
118
+ "displayName": "Default Microsoft Entra ID application for OAuth",
119
+ "description": "Sign in with the default Microsoft Entra ID application."
120
+ },
121
+ "parameters": {
122
+ "token": {
123
+ "type": "oauthSetting",
124
+ "oAuthSettings": {
125
+ "identityProvider": "aadcertificate",
126
+ "clientId": "9eaef548-1198-4c98-814a-8b88eb392f3f",
127
+ "scopes": [],
128
+ "redirectMode": "GlobalPerConnector",
129
+ "redirectUrl": "https://global.consent.azure-apim.net/redirect/keyvault",
130
+ "properties": {
131
+ "IsFirstParty": "True",
132
+ "AzureActiveDirectoryResourceId": "https://vault.azure.net",
133
+ "IsOnbehalfofLoginSupported": true
134
+ },
135
+ "customParameters": {
136
+ "ResourceUri": {
137
+ "value": "https://vault.azure.net"
138
+ },
139
+ "loginUri": {
140
+ "value": "https://login.windows.net"
141
+ },
142
+ "LoginUriAAD": {
143
+ "value": "https://login.windows.net"
144
+ }
145
+ }
146
+ },
147
+ "uiDefinition": {
148
+ "displayName": "Provide your credentials",
149
+ "description": "Enter your credentials to sign in.",
150
+ "tooltip": "Sign in with your credentials.",
151
+ "constraints": {
152
+ "required": "true",
153
+ "hidden": "false"
154
+ }
155
+ }
156
+ },
157
+ "vaultName": {
158
+ "type": "string",
159
+ "uiDefinition": {
160
+ "displayName": "Key vault name",
161
+ "description": "Name for the key vault.",
162
+ "tooltip": "Provide the name for your key vault.",
163
+ "constraints": {
164
+ "required": "true"
165
+ }
166
+ }
167
+ }
168
+ },
169
+ "metadata": {
170
+ "allowSharing": false
171
+ }
172
+ },
173
+ {
174
+ "name": "oauthServicePrincipal",
175
+ "uiDefinition": {
176
+ "displayName": "Service principal authentication",
177
+ "description": "Use your Microsoft Entra ID application for service principal authentication."
178
+ },
179
+ "parameters": {
180
+ "token": {
181
+ "type": "oauthSetting",
182
+ "oAuthSettings": {
183
+ "identityProvider": "aad",
184
+ "scopes": [],
185
+ "redirectMode": "GlobalPerConnector",
186
+ "redirectUrl": "https://global.consent.azure-apim.net/redirect/keyvault",
187
+ "properties": {
188
+ "IsFirstParty": "False",
189
+ "AzureActiveDirectoryResourceId": "https://vault.azure.net",
190
+ "IsOnbehalfofLoginSupported": true
191
+ },
192
+ "customParameters": {
193
+ "grantType": {
194
+ "value": "client_credentials"
195
+ },
196
+ "ResourceUri": {
197
+ "value": "https://vault.azure.net"
198
+ },
199
+ "loginUri": {
200
+ "value": "https://login.windows.net"
201
+ },
202
+ "LoginUriAAD": {
203
+ "value": "https://login.windows.net"
204
+ }
205
+ }
206
+ },
207
+ "uiDefinition": {
208
+ "displayName": "Provide your credentials",
209
+ "description": "Enter your credentials to sign in.",
210
+ "tooltip": "Sign in with your credentials.",
211
+ "constraints": {
212
+ "required": "false",
213
+ "hidden": "true"
214
+ }
215
+ }
216
+ },
217
+ "token:clientId": {
218
+ "type": "string",
219
+ "uiDefinition": {
220
+ "displayName": "Client ID",
221
+ "schema": {
222
+ "type": "string",
223
+ "description": "The client or application ID for your Microsoft Entra ID application."
224
+ },
225
+ "constraints": {
226
+ "required": "true",
227
+ "hidden": "false"
228
+ }
229
+ }
230
+ },
231
+ "token:clientSecret": {
232
+ "type": "securestring",
233
+ "uiDefinition": {
234
+ "displayName": "Client secret",
235
+ "schema": {
236
+ "type": "securestring",
237
+ "description": "The client secret for your Microsoft Entra ID application."
238
+ },
239
+ "constraints": {
240
+ "required": "true",
241
+ "hidden": "false"
242
+ }
243
+ }
244
+ },
245
+ "token:TenantId": {
246
+ "type": "string",
247
+ "uiDefinition": {
248
+ "schema": {
249
+ "description": "The tenant ID for the Microsoft Entra ID application.",
250
+ "type": "string"
251
+ },
252
+ "displayName": "Tenant ID",
253
+ "constraints": {
254
+ "required": "true",
255
+ "hidden": "false"
256
+ }
257
+ }
258
+ },
259
+ "token:VaultName": {
260
+ "type": "string",
261
+ "uiDefinition": {
262
+ "schema": {
263
+ "description": "The name of your key vault to use for the connection.",
264
+ "type": "string"
265
+ },
266
+ "displayName": "Key vault name",
267
+ "constraints": {
268
+ "required": "true",
269
+ "hidden": "false"
270
+ }
271
+ }
272
+ }
273
+ },
274
+ "metadata": {
275
+ "allowSharing": false
276
+ }
277
+ }
278
+ ]
279
+ },
280
+ "connectionParameters": {
281
+ "vaultName": {
282
+ "type": "string",
283
+ "uiDefinition": {
284
+ "displayName": "Key Vault name",
285
+ "description": "The name for the key vault.",
286
+ "tooltip": "Provide name of the vault",
287
+ "constraints": {
288
+ "required": "true"
289
+ }
290
+ }
291
+ },
292
+ "token": {
293
+ "type": "oauthSetting",
294
+ "oAuthSettings": {
295
+ "identityProvider": "aadcertificate",
296
+ "clientId": "9eaef548-1198-4c98-814a-8b88eb392f3f",
297
+ "scopes": [],
298
+ "redirectMode": "GlobalPerConnector",
299
+ "redirectUrl": "https://global.consent.azure-apim.net/redirect/keyvault",
300
+ "properties": {
301
+ "IsFirstParty": "True",
302
+ "AzureActiveDirectoryResourceId": "https://vault.azure.net",
303
+ "IsOnbehalfofLoginSupported": true
304
+ },
305
+ "customParameters": {
306
+ "tenantId": {},
307
+ "resourceUri": {
308
+ "value": "https://vault.azure.net"
309
+ },
310
+ "loginUri": {
311
+ "value": "https://login.windows.net"
312
+ },
313
+ "loginUriAAD": {
314
+ "value": "https://login.windows.net"
315
+ }
316
+ }
317
+ }
318
+ },
319
+ "token:clientId": {
320
+ "type": "string",
321
+ "uiDefinition": {
322
+ "displayName": "Client ID",
323
+ "description": "The client or application ID for the Microsoft Entra ID application.",
324
+ "constraints": {
325
+ "required": "false",
326
+ "hidden": "true"
327
+ }
328
+ }
329
+ },
330
+ "token:clientSecret": {
331
+ "type": "securestring",
332
+ "uiDefinition": {
333
+ "displayName": "Client secret",
334
+ "description": "The client secret for the Microsoft Entra ID application.",
335
+ "constraints": {
336
+ "required": "false",
337
+ "hidden": "true"
338
+ }
339
+ }
340
+ },
341
+ "token:TenantId": {
342
+ "type": "string",
343
+ "uiDefinition": {
344
+ "displayName": "Tenant",
345
+ "description": "The tenant ID for the Microsoft Entra ID application.",
346
+ "constraints": {
347
+ "required": "false",
348
+ "hidden": "true"
349
+ }
350
+ }
351
+ },
352
+ "token:resourceUri": {
353
+ "type": "string",
354
+ "uiDefinition": {
355
+ "displayName": "ResourceUri",
356
+ "description": "The resource where you're requesting authorization to access, for example, https://vault.azure.net",
357
+ "constraints": {
358
+ "required": "false",
359
+ "hidden": "true"
360
+ }
361
+ }
362
+ },
363
+ "token:grantType": {
364
+ "type": "string",
365
+ "allowedValues": [
366
+ {
367
+ "value": "code"
368
+ },
369
+ {
370
+ "value": "client_credentials"
371
+ }
372
+ ],
373
+ "uiDefinition": {
374
+ "displayName": "Grant type",
375
+ "description": "Allowed OAuth methods which grant access tokens to an application.",
376
+ "constraints": {
377
+ "required": "false",
378
+ "hidden": "true",
379
+ "allowedValues": [
380
+ {
381
+ "text": "Authorization code",
382
+ "value": "code"
383
+ },
384
+ {
385
+ "text": "Client credentials",
386
+ "value": "client_credentials"
387
+ }
388
+ ]
389
+ }
390
+ }
391
+ }
392
+ },
393
+ "swagger": {
394
+ "swagger": "2.0",
395
+ "info": {
396
+ "version": "1.0",
397
+ "title": "Azure Key Vault",
398
+ "description": "Azure Key Vault is a service to securely store and access secrets.",
399
+ "x-ms-api-annotation": {
400
+ "status": "Production"
401
+ }
402
+ },
403
+ "host": "unitedstates-002.azure-apim.net",
404
+ "basePath": "/apim/keyvault",
405
+ "schemes": [
406
+ "https"
407
+ ],
408
+ "paths": {
409
+ "/{connectionId}/keys": {
410
+ "get": {
411
+ "tags": [
412
+ "Key"
413
+ ],
414
+ "summary": "List keys",
415
+ "description": "List keys.",
416
+ "operationId": "ListKeys",
417
+ "consumes": [],
418
+ "produces": [
419
+ "application/json",
420
+ "text/json",
421
+ "application/xml",
422
+ "text/xml"
423
+ ],
424
+ "responses": {
425
+ "200": {
426
+ "description": "OK",
427
+ "schema": {
428
+ "$ref": "#/definitions/KeyMetadataCollection"
429
+ }
430
+ },
431
+ "default": {
432
+ "description": "Operation Failed."
433
+ }
434
+ },
435
+ "deprecated": false,
436
+ "x-ms-visibility": "advanced",
437
+ "externalDocs": {
438
+ "url": "https://docs.microsoft.com/connectors/keyvault/#list-keys"
439
+ },
440
+ "parameters": [
441
+ {
442
+ "name": "connectionId",
443
+ "in": "path",
444
+ "required": true,
445
+ "x-ms-visibility": "internal",
446
+ "type": "string"
447
+ }
448
+ ]
449
+ }
450
+ },
451
+ "/{connectionId}/keys/{keyName}/versions": {
452
+ "get": {
453
+ "tags": [
454
+ "Key"
455
+ ],
456
+ "summary": "List key versions",
457
+ "description": "List versions of a key.",
458
+ "operationId": "ListKeyVersions",
459
+ "consumes": [],
460
+ "produces": [
461
+ "application/json",
462
+ "text/json",
463
+ "application/xml",
464
+ "text/xml"
465
+ ],
466
+ "parameters": [
467
+ {
468
+ "name": "connectionId",
469
+ "in": "path",
470
+ "required": true,
471
+ "x-ms-visibility": "internal",
472
+ "type": "string"
473
+ },
474
+ {
475
+ "name": "keyName",
476
+ "in": "path",
477
+ "description": "Name of the key.",
478
+ "required": true,
479
+ "x-ms-summary": "Name of the key",
480
+ "x-ms-dynamic-values": {
481
+ "operationId": "ListKeys",
482
+ "parameters": {},
483
+ "value-collection": "Value",
484
+ "value-path": "Name",
485
+ "value-title": "Name"
486
+ },
487
+ "type": "string"
488
+ }
489
+ ],
490
+ "responses": {
491
+ "200": {
492
+ "description": "OK",
493
+ "schema": {
494
+ "$ref": "#/definitions/KeyMetadataCollection"
495
+ }
496
+ },
497
+ "default": {
498
+ "description": "Operation Failed."
499
+ }
500
+ },
501
+ "deprecated": false,
502
+ "x-ms-visibility": "advanced",
503
+ "externalDocs": {
504
+ "url": "https://docs.microsoft.com/connectors/keyvault/#list-key-versions"
505
+ }
506
+ }
507
+ },
508
+ "/{connectionId}/keys/{keyName}/metadata": {
509
+ "get": {
510
+ "tags": [
511
+ "Key"
512
+ ],
513
+ "summary": "Get key metadata",
514
+ "description": "Gets metadata of a key.",
515
+ "operationId": "GetKeyMetadata",
516
+ "consumes": [],
517
+ "produces": [
518
+ "application/json",
519
+ "text/json",
520
+ "application/xml",
521
+ "text/xml"
522
+ ],
523
+ "parameters": [
524
+ {
525
+ "name": "connectionId",
526
+ "in": "path",
527
+ "required": true,
528
+ "x-ms-visibility": "internal",
529
+ "type": "string"
530
+ },
531
+ {
532
+ "name": "keyName",
533
+ "in": "path",
534
+ "description": "Name of the key.",
535
+ "required": true,
536
+ "x-ms-summary": "Name of the key",
537
+ "x-ms-dynamic-values": {
538
+ "operationId": "ListKeys",
539
+ "parameters": {},
540
+ "value-collection": "Value",
541
+ "value-path": "Name",
542
+ "value-title": "Name"
543
+ },
544
+ "type": "string"
545
+ }
546
+ ],
547
+ "responses": {
548
+ "200": {
549
+ "description": "OK",
550
+ "schema": {
551
+ "$ref": "#/definitions/KeyMetadata"
552
+ }
553
+ },
554
+ "default": {
555
+ "description": "Operation Failed."
556
+ }
557
+ },
558
+ "deprecated": false,
559
+ "x-ms-visibility": "advanced",
560
+ "externalDocs": {
561
+ "url": "https://docs.microsoft.com/connectors/keyvault/#get-key-metadata"
562
+ }
563
+ }
564
+ },
565
+ "/{connectionId}/keys/{keyName}/versions/{keyVersion}/metadata": {
566
+ "get": {
567
+ "tags": [
568
+ "Key"
569
+ ],
570
+ "summary": "Get key version metadata",
571
+ "description": "Gets metadata of a version of a key.",
572
+ "operationId": "GetKeyVersionMetadata",
573
+ "consumes": [],
574
+ "produces": [
575
+ "application/json",
576
+ "text/json",
577
+ "application/xml",
578
+ "text/xml"
579
+ ],
580
+ "parameters": [
581
+ {
582
+ "name": "connectionId",
583
+ "in": "path",
584
+ "required": true,
585
+ "x-ms-visibility": "internal",
586
+ "type": "string"
587
+ },
588
+ {
589
+ "name": "keyName",
590
+ "in": "path",
591
+ "description": "Name of the key.",
592
+ "required": true,
593
+ "x-ms-summary": "Name of the key",
594
+ "x-ms-dynamic-values": {
595
+ "operationId": "ListKeys",
596
+ "parameters": {},
597
+ "value-collection": "Value",
598
+ "value-path": "Name",
599
+ "value-title": "Name"
600
+ },
601
+ "type": "string"
602
+ },
603
+ {
604
+ "name": "keyVersion",
605
+ "in": "path",
606
+ "description": "Version of the key.",
607
+ "required": true,
608
+ "x-ms-summary": "Version of the key",
609
+ "type": "string"
610
+ }
611
+ ],
612
+ "responses": {
613
+ "200": {
614
+ "description": "OK",
615
+ "schema": {
616
+ "$ref": "#/definitions/KeyMetadata"
617
+ }
618
+ },
619
+ "default": {
620
+ "description": "Operation Failed."
621
+ }
622
+ },
623
+ "deprecated": false,
624
+ "x-ms-visibility": "advanced",
625
+ "externalDocs": {
626
+ "url": "https://docs.microsoft.com/connectors/keyvault/#get-key-version-metadata"
627
+ }
628
+ }
629
+ },
630
+ "/{connectionId}/keys/{keyName}/encrypt": {
631
+ "post": {
632
+ "tags": [
633
+ "Key"
634
+ ],
635
+ "summary": "Encrypt data with key",
636
+ "description": "Encrypt data using the latest version of a key.",
637
+ "operationId": "EncryptData",
638
+ "consumes": [
639
+ "application/json",
640
+ "text/json",
641
+ "application/xml",
642
+ "text/xml",
643
+ "application/x-www-form-urlencoded"
644
+ ],
645
+ "produces": [
646
+ "application/json",
647
+ "text/json",
648
+ "application/xml",
649
+ "text/xml"
650
+ ],
651
+ "parameters": [
652
+ {
653
+ "name": "connectionId",
654
+ "in": "path",
655
+ "required": true,
656
+ "x-ms-visibility": "internal",
657
+ "type": "string"
658
+ },
659
+ {
660
+ "name": "keyName",
661
+ "in": "path",
662
+ "description": "Name of the key.",
663
+ "required": true,
664
+ "x-ms-summary": "Name of the key",
665
+ "x-ms-dynamic-values": {
666
+ "operationId": "ListKeys",
667
+ "parameters": {},
668
+ "value-collection": "Value",
669
+ "value-path": "Name",
670
+ "value-title": "Name"
671
+ },
672
+ "type": "string"
673
+ },
674
+ {
675
+ "name": "operationInput",
676
+ "in": "body",
677
+ "description": "Input for the encryption operation.",
678
+ "required": true,
679
+ "schema": {
680
+ "$ref": "#/definitions/KeyEncryptInput"
681
+ },
682
+ "x-ms-summary": "Input for the encryption operation"
683
+ }
684
+ ],
685
+ "responses": {
686
+ "200": {
687
+ "description": "OK",
688
+ "schema": {
689
+ "$ref": "#/definitions/KeyEncryptOutput"
690
+ }
691
+ },
692
+ "default": {
693
+ "description": "Operation Failed."
694
+ }
695
+ },
696
+ "deprecated": false,
697
+ "x-ms-visibility": "important",
698
+ "externalDocs": {
699
+ "url": "https://docs.microsoft.com/connectors/keyvault/#encrypt-data-with-key"
700
+ }
701
+ }
702
+ },
703
+ "/{connectionId}/keys/{keyName}/versions/{keyVersion}/encrypt": {
704
+ "post": {
705
+ "tags": [
706
+ "Key"
707
+ ],
708
+ "summary": "Encrypt data with key version",
709
+ "description": "Encrypt data using a specific version of a key.",
710
+ "operationId": "EncryptDataWithVersion",
711
+ "consumes": [
712
+ "application/json",
713
+ "text/json",
714
+ "application/xml",
715
+ "text/xml",
716
+ "application/x-www-form-urlencoded"
717
+ ],
718
+ "produces": [
719
+ "application/json",
720
+ "text/json",
721
+ "application/xml",
722
+ "text/xml"
723
+ ],
724
+ "parameters": [
725
+ {
726
+ "name": "connectionId",
727
+ "in": "path",
728
+ "required": true,
729
+ "x-ms-visibility": "internal",
730
+ "type": "string"
731
+ },
732
+ {
733
+ "name": "keyName",
734
+ "in": "path",
735
+ "description": "Name of the key.",
736
+ "required": true,
737
+ "x-ms-summary": "Name of the key",
738
+ "x-ms-dynamic-values": {
739
+ "operationId": "ListKeys",
740
+ "parameters": {},
741
+ "value-collection": "Value",
742
+ "value-path": "Name",
743
+ "value-title": "Name"
744
+ },
745
+ "type": "string"
746
+ },
747
+ {
748
+ "name": "keyVersion",
749
+ "in": "path",
750
+ "description": "Version of the key.",
751
+ "required": true,
752
+ "x-ms-summary": "Version of the key",
753
+ "type": "string"
754
+ },
755
+ {
756
+ "name": "operationInput",
757
+ "in": "body",
758
+ "description": "Input for the encryption operation.",
759
+ "required": true,
760
+ "schema": {
761
+ "$ref": "#/definitions/KeyEncryptInput"
762
+ },
763
+ "x-ms-summary": "Input for the encryption operation"
764
+ }
765
+ ],
766
+ "responses": {
767
+ "200": {
768
+ "description": "OK",
769
+ "schema": {
770
+ "$ref": "#/definitions/KeyEncryptOutput"
771
+ }
772
+ },
773
+ "default": {
774
+ "description": "Operation Failed."
775
+ }
776
+ },
777
+ "deprecated": false,
778
+ "x-ms-visibility": "advanced",
779
+ "externalDocs": {
780
+ "url": "https://docs.microsoft.com/connectors/keyvault/#encrypt-data-with-key-version"
781
+ }
782
+ }
783
+ },
784
+ "/{connectionId}/keys/{keyName}/decrypt": {
785
+ "post": {
786
+ "tags": [
787
+ "Key"
788
+ ],
789
+ "summary": "Decrypt data with key",
790
+ "description": "Decrypt data using the latest version of a key. Output of this operation is typically classified as secret and can be visible in the run history.",
791
+ "operationId": "DecryptData",
792
+ "consumes": [
793
+ "application/json",
794
+ "text/json",
795
+ "application/xml",
796
+ "text/xml",
797
+ "application/x-www-form-urlencoded"
798
+ ],
799
+ "produces": [
800
+ "application/json",
801
+ "text/json",
802
+ "application/xml",
803
+ "text/xml"
804
+ ],
805
+ "parameters": [
806
+ {
807
+ "name": "connectionId",
808
+ "in": "path",
809
+ "required": true,
810
+ "x-ms-visibility": "internal",
811
+ "type": "string"
812
+ },
813
+ {
814
+ "name": "keyName",
815
+ "in": "path",
816
+ "description": "Name of the key.",
817
+ "required": true,
818
+ "x-ms-summary": "Name of the key",
819
+ "x-ms-dynamic-values": {
820
+ "operationId": "ListKeys",
821
+ "parameters": {},
822
+ "value-collection": "Value",
823
+ "value-path": "Name",
824
+ "value-title": "Name"
825
+ },
826
+ "type": "string"
827
+ },
828
+ {
829
+ "name": "operationInput",
830
+ "in": "body",
831
+ "description": "Input for the decryption operation.",
832
+ "required": true,
833
+ "schema": {
834
+ "$ref": "#/definitions/KeyDecryptInput"
835
+ },
836
+ "x-ms-summary": "Input for the decryption operation"
837
+ }
838
+ ],
839
+ "responses": {
840
+ "200": {
841
+ "description": "OK",
842
+ "schema": {
843
+ "$ref": "#/definitions/KeyDecryptOutput"
844
+ }
845
+ },
846
+ "default": {
847
+ "description": "Operation Failed."
848
+ }
849
+ },
850
+ "deprecated": false,
851
+ "x-ms-visibility": "important",
852
+ "externalDocs": {
853
+ "url": "https://docs.microsoft.com/connectors/keyvault/#decrypt-data-with-key"
854
+ }
855
+ }
856
+ },
857
+ "/{connectionId}/keys/{keyName}/versions/{keyVersion}/decrypt": {
858
+ "post": {
859
+ "tags": [
860
+ "Key"
861
+ ],
862
+ "summary": "Decrypt data with key version",
863
+ "description": "Decrypt data using a specific version of a key. Output of this operation is typically classified as secret and can be visible in the run history.",
864
+ "operationId": "DecryptDataWithVersion",
865
+ "consumes": [
866
+ "application/json",
867
+ "text/json",
868
+ "application/xml",
869
+ "text/xml",
870
+ "application/x-www-form-urlencoded"
871
+ ],
872
+ "produces": [
873
+ "application/json",
874
+ "text/json",
875
+ "application/xml",
876
+ "text/xml"
877
+ ],
878
+ "parameters": [
879
+ {
880
+ "name": "connectionId",
881
+ "in": "path",
882
+ "required": true,
883
+ "x-ms-visibility": "internal",
884
+ "type": "string"
885
+ },
886
+ {
887
+ "name": "keyName",
888
+ "in": "path",
889
+ "description": "Name of the key.",
890
+ "required": true,
891
+ "x-ms-summary": "Name of the key",
892
+ "x-ms-dynamic-values": {
893
+ "operationId": "ListKeys",
894
+ "parameters": {},
895
+ "value-collection": "Value",
896
+ "value-path": "Name",
897
+ "value-title": "Name"
898
+ },
899
+ "type": "string"
900
+ },
901
+ {
902
+ "name": "keyVersion",
903
+ "in": "path",
904
+ "description": "Version of the key.",
905
+ "required": true,
906
+ "x-ms-summary": "Version of the key",
907
+ "type": "string"
908
+ },
909
+ {
910
+ "name": "operationInput",
911
+ "in": "body",
912
+ "description": "Input for the decryption operation.",
913
+ "required": true,
914
+ "schema": {
915
+ "$ref": "#/definitions/KeyDecryptInput"
916
+ },
917
+ "x-ms-summary": "Input for the decryption operation"
918
+ }
919
+ ],
920
+ "responses": {
921
+ "200": {
922
+ "description": "OK",
923
+ "schema": {
924
+ "$ref": "#/definitions/KeyDecryptOutput"
925
+ }
926
+ },
927
+ "default": {
928
+ "description": "Operation Failed."
929
+ }
930
+ },
931
+ "deprecated": false,
932
+ "x-ms-visibility": "advanced",
933
+ "externalDocs": {
934
+ "url": "https://docs.microsoft.com/connectors/keyvault/#decrypt-data-with-key-version"
935
+ }
936
+ }
937
+ },
938
+ "/{connectionId}/secrets": {
939
+ "get": {
940
+ "tags": [
941
+ "Secret"
942
+ ],
943
+ "summary": "List secrets",
944
+ "description": "List secrets.",
945
+ "operationId": "ListSecrets",
946
+ "consumes": [],
947
+ "produces": [
948
+ "application/json",
949
+ "text/json",
950
+ "application/xml",
951
+ "text/xml"
952
+ ],
953
+ "responses": {
954
+ "200": {
955
+ "description": "OK",
956
+ "schema": {
957
+ "$ref": "#/definitions/SecretMetadataCollection"
958
+ }
959
+ },
960
+ "default": {
961
+ "description": "Operation Failed."
962
+ }
963
+ },
964
+ "deprecated": false,
965
+ "x-ms-visibility": "advanced",
966
+ "externalDocs": {
967
+ "url": "https://docs.microsoft.com/connectors/keyvault/#list-secrets"
968
+ },
969
+ "parameters": [
970
+ {
971
+ "name": "connectionId",
972
+ "in": "path",
973
+ "required": true,
974
+ "x-ms-visibility": "internal",
975
+ "type": "string"
976
+ }
977
+ ]
978
+ }
979
+ },
980
+ "/{connectionId}/secrets/{secretName}/versions": {
981
+ "get": {
982
+ "tags": [
983
+ "Secret"
984
+ ],
985
+ "summary": "List secret versions",
986
+ "description": "List versions of a secret.",
987
+ "operationId": "ListSecretVersions",
988
+ "consumes": [],
989
+ "produces": [
990
+ "application/json",
991
+ "text/json",
992
+ "application/xml",
993
+ "text/xml"
994
+ ],
995
+ "parameters": [
996
+ {
997
+ "name": "connectionId",
998
+ "in": "path",
999
+ "required": true,
1000
+ "x-ms-visibility": "internal",
1001
+ "type": "string"
1002
+ },
1003
+ {
1004
+ "name": "secretName",
1005
+ "in": "path",
1006
+ "description": "Name of the secret.",
1007
+ "required": true,
1008
+ "x-ms-summary": "Name of the secret",
1009
+ "x-ms-dynamic-values": {
1010
+ "operationId": "ListSecrets",
1011
+ "parameters": {},
1012
+ "value-collection": "Value",
1013
+ "value-path": "Name",
1014
+ "value-title": "Name"
1015
+ },
1016
+ "type": "string"
1017
+ }
1018
+ ],
1019
+ "responses": {
1020
+ "200": {
1021
+ "description": "OK",
1022
+ "schema": {
1023
+ "$ref": "#/definitions/SecretMetadataCollection"
1024
+ }
1025
+ },
1026
+ "default": {
1027
+ "description": "Operation Failed."
1028
+ }
1029
+ },
1030
+ "deprecated": false,
1031
+ "x-ms-visibility": "advanced",
1032
+ "externalDocs": {
1033
+ "url": "https://docs.microsoft.com/connectors/keyvault/#list-secret-versions"
1034
+ }
1035
+ }
1036
+ },
1037
+ "/{connectionId}/secrets/{secretName}/metadata": {
1038
+ "get": {
1039
+ "tags": [
1040
+ "Secret"
1041
+ ],
1042
+ "summary": "Get secret metadata",
1043
+ "description": "Gets metadata of a secret.",
1044
+ "operationId": "GetSecretMetadata",
1045
+ "consumes": [],
1046
+ "produces": [
1047
+ "application/json",
1048
+ "text/json",
1049
+ "application/xml",
1050
+ "text/xml"
1051
+ ],
1052
+ "parameters": [
1053
+ {
1054
+ "name": "connectionId",
1055
+ "in": "path",
1056
+ "required": true,
1057
+ "x-ms-visibility": "internal",
1058
+ "type": "string"
1059
+ },
1060
+ {
1061
+ "name": "secretName",
1062
+ "in": "path",
1063
+ "description": "Name of the secret.",
1064
+ "required": true,
1065
+ "x-ms-summary": "Name of the secret",
1066
+ "x-ms-dynamic-values": {
1067
+ "operationId": "ListSecrets",
1068
+ "parameters": {},
1069
+ "value-collection": "Value",
1070
+ "value-path": "Name",
1071
+ "value-title": "Name"
1072
+ },
1073
+ "type": "string"
1074
+ }
1075
+ ],
1076
+ "responses": {
1077
+ "200": {
1078
+ "description": "OK",
1079
+ "schema": {
1080
+ "$ref": "#/definitions/SecretMetadata"
1081
+ }
1082
+ },
1083
+ "default": {
1084
+ "description": "Operation Failed."
1085
+ }
1086
+ },
1087
+ "deprecated": false,
1088
+ "x-ms-visibility": "advanced",
1089
+ "externalDocs": {
1090
+ "url": "https://docs.microsoft.com/connectors/keyvault/#get-secret-metadata"
1091
+ }
1092
+ }
1093
+ },
1094
+ "/{connectionId}/secrets/{secretName}/versions/{secretVersion}/metadata": {
1095
+ "get": {
1096
+ "tags": [
1097
+ "Secret"
1098
+ ],
1099
+ "summary": "Get secret version metadata",
1100
+ "description": "Gets metadata of a version of a secret.",
1101
+ "operationId": "GetSecretVersionMetadata",
1102
+ "consumes": [],
1103
+ "produces": [
1104
+ "application/json",
1105
+ "text/json",
1106
+ "application/xml",
1107
+ "text/xml"
1108
+ ],
1109
+ "parameters": [
1110
+ {
1111
+ "name": "connectionId",
1112
+ "in": "path",
1113
+ "required": true,
1114
+ "x-ms-visibility": "internal",
1115
+ "type": "string"
1116
+ },
1117
+ {
1118
+ "name": "secretName",
1119
+ "in": "path",
1120
+ "description": "Name of the secret.",
1121
+ "required": true,
1122
+ "x-ms-summary": "Name of the secret",
1123
+ "x-ms-dynamic-values": {
1124
+ "operationId": "ListSecrets",
1125
+ "parameters": {},
1126
+ "value-collection": "Value",
1127
+ "value-path": "Name",
1128
+ "value-title": "Name"
1129
+ },
1130
+ "type": "string"
1131
+ },
1132
+ {
1133
+ "name": "secretVersion",
1134
+ "in": "path",
1135
+ "description": "Version of the secret.",
1136
+ "required": true,
1137
+ "x-ms-summary": "Version of the secret",
1138
+ "type": "string"
1139
+ }
1140
+ ],
1141
+ "responses": {
1142
+ "200": {
1143
+ "description": "OK",
1144
+ "schema": {
1145
+ "$ref": "#/definitions/SecretMetadata"
1146
+ }
1147
+ },
1148
+ "default": {
1149
+ "description": "Operation Failed."
1150
+ }
1151
+ },
1152
+ "deprecated": false,
1153
+ "x-ms-visibility": "advanced",
1154
+ "externalDocs": {
1155
+ "url": "https://docs.microsoft.com/connectors/keyvault/#get-secret-version-metadata"
1156
+ }
1157
+ }
1158
+ },
1159
+ "/{connectionId}/secrets/{secretName}/value": {
1160
+ "get": {
1161
+ "tags": [
1162
+ "Secret"
1163
+ ],
1164
+ "summary": "Get secret",
1165
+ "description": "Gets a secret. Output of this operation is typically classified as secret and can be visible in the run history.",
1166
+ "operationId": "GetSecret",
1167
+ "consumes": [],
1168
+ "produces": [
1169
+ "application/json",
1170
+ "text/json",
1171
+ "application/xml",
1172
+ "text/xml"
1173
+ ],
1174
+ "parameters": [
1175
+ {
1176
+ "name": "connectionId",
1177
+ "in": "path",
1178
+ "required": true,
1179
+ "x-ms-visibility": "internal",
1180
+ "type": "string"
1181
+ },
1182
+ {
1183
+ "name": "secretName",
1184
+ "in": "path",
1185
+ "description": "Name of the secret.",
1186
+ "required": true,
1187
+ "x-ms-summary": "Name of the secret",
1188
+ "x-ms-dynamic-values": {
1189
+ "operationId": "ListSecrets",
1190
+ "parameters": {},
1191
+ "value-collection": "Value",
1192
+ "value-path": "Name",
1193
+ "value-title": "Name"
1194
+ },
1195
+ "type": "string"
1196
+ }
1197
+ ],
1198
+ "responses": {
1199
+ "200": {
1200
+ "description": "OK",
1201
+ "schema": {
1202
+ "$ref": "#/definitions/Secret"
1203
+ }
1204
+ },
1205
+ "default": {
1206
+ "description": "Operation Failed."
1207
+ }
1208
+ },
1209
+ "deprecated": false,
1210
+ "x-ms-visibility": "important",
1211
+ "externalDocs": {
1212
+ "url": "https://docs.microsoft.com/connectors/keyvault/#get-secret"
1213
+ }
1214
+ }
1215
+ },
1216
+ "/{connectionId}/secrets/{secretName}/versions/{secretVersion}/value": {
1217
+ "get": {
1218
+ "tags": [
1219
+ "Secret"
1220
+ ],
1221
+ "summary": "Get secret version",
1222
+ "description": "Gets a version of a secret. Output of this operation is typically classified as secret and can be visible in the run history.",
1223
+ "operationId": "GetSecretVersion",
1224
+ "consumes": [],
1225
+ "produces": [
1226
+ "application/json",
1227
+ "text/json",
1228
+ "application/xml",
1229
+ "text/xml"
1230
+ ],
1231
+ "parameters": [
1232
+ {
1233
+ "name": "connectionId",
1234
+ "in": "path",
1235
+ "required": true,
1236
+ "x-ms-visibility": "internal",
1237
+ "type": "string"
1238
+ },
1239
+ {
1240
+ "name": "secretName",
1241
+ "in": "path",
1242
+ "description": "Name of the secret.",
1243
+ "required": true,
1244
+ "x-ms-summary": "Name of the secret",
1245
+ "x-ms-dynamic-values": {
1246
+ "operationId": "ListSecrets",
1247
+ "parameters": {},
1248
+ "value-collection": "Value",
1249
+ "value-path": "Name",
1250
+ "value-title": "Name"
1251
+ },
1252
+ "type": "string"
1253
+ },
1254
+ {
1255
+ "name": "secretVersion",
1256
+ "in": "path",
1257
+ "description": "Version of the secret.",
1258
+ "required": true,
1259
+ "x-ms-summary": "Version of the secret",
1260
+ "type": "string"
1261
+ }
1262
+ ],
1263
+ "responses": {
1264
+ "200": {
1265
+ "description": "OK",
1266
+ "schema": {
1267
+ "$ref": "#/definitions/Secret"
1268
+ }
1269
+ },
1270
+ "default": {
1271
+ "description": "Operation Failed."
1272
+ }
1273
+ },
1274
+ "deprecated": false,
1275
+ "x-ms-visibility": "advanced",
1276
+ "externalDocs": {
1277
+ "url": "https://docs.microsoft.com/connectors/keyvault/#get-secret-version"
1278
+ }
1279
+ }
1280
+ }
1281
+ },
1282
+ "definitions": {
1283
+ "KeyMetadataCollection": {
1284
+ "description": "Collection of keys",
1285
+ "type": "object",
1286
+ "properties": {
1287
+ "value": {
1288
+ "description": "The keys",
1289
+ "type": "array",
1290
+ "items": {
1291
+ "$ref": "#/definitions/KeyMetadata"
1292
+ },
1293
+ "x-ms-visibility": "important"
1294
+ },
1295
+ "continuationToken": {
1296
+ "description": "Continuation token",
1297
+ "type": "string",
1298
+ "x-ms-visibility": "advanced"
1299
+ }
1300
+ }
1301
+ },
1302
+ "KeyMetadata": {
1303
+ "description": "Metadata of a key",
1304
+ "type": "object",
1305
+ "properties": {
1306
+ "name": {
1307
+ "description": "Name of the key",
1308
+ "type": "string",
1309
+ "x-ms-visibility": "important"
1310
+ },
1311
+ "version": {
1312
+ "description": "Version of the key",
1313
+ "type": "string",
1314
+ "x-ms-visibility": "advanced"
1315
+ },
1316
+ "isEnabled": {
1317
+ "description": "A flag indicating whether the key is enabled",
1318
+ "type": "boolean",
1319
+ "x-ms-visibility": "advanced"
1320
+ },
1321
+ "createdTime": {
1322
+ "format": "date-time",
1323
+ "description": "Time when the key was created",
1324
+ "type": "string",
1325
+ "x-ms-visibility": "advanced"
1326
+ },
1327
+ "lastUpdatedTime": {
1328
+ "format": "date-time",
1329
+ "description": "Time when the key was last updated",
1330
+ "type": "string",
1331
+ "x-ms-visibility": "advanced"
1332
+ },
1333
+ "validityStartTime": {
1334
+ "format": "date-time",
1335
+ "description": "Time when the key validity starts.",
1336
+ "type": "string",
1337
+ "x-ms-visibility": "advanced"
1338
+ },
1339
+ "validityEndTime": {
1340
+ "format": "date-time",
1341
+ "description": "Time when the key validity ends.",
1342
+ "type": "string",
1343
+ "x-ms-visibility": "advanced"
1344
+ },
1345
+ "allowedOperations": {
1346
+ "description": "Operations allowed using the key",
1347
+ "type": "array",
1348
+ "items": {
1349
+ "type": "string"
1350
+ },
1351
+ "x-ms-visibility": "advanced"
1352
+ },
1353
+ "keyType": {
1354
+ "description": "Type of the key",
1355
+ "type": "string",
1356
+ "x-ms-visibility": "advanced"
1357
+ }
1358
+ }
1359
+ },
1360
+ "KeyEncryptInput": {
1361
+ "description": "Input for encryption operation",
1362
+ "required": [
1363
+ "algorithm",
1364
+ "rawData"
1365
+ ],
1366
+ "type": "object",
1367
+ "properties": {
1368
+ "algorithm": {
1369
+ "description": "Algorithm to use for encrypting the data",
1370
+ "default": "RSA-OAEP-256",
1371
+ "enum": [
1372
+ "RSA-OAEP-256",
1373
+ "RSA-OAEP",
1374
+ "RSA1_5"
1375
+ ],
1376
+ "type": "string",
1377
+ "x-ms-summary": "Algorithm"
1378
+ },
1379
+ "rawData": {
1380
+ "description": "Data to encrypt",
1381
+ "type": "string",
1382
+ "x-ms-summary": "Raw data"
1383
+ }
1384
+ }
1385
+ },
1386
+ "KeyEncryptOutput": {
1387
+ "description": "Result of encryption operation",
1388
+ "type": "object",
1389
+ "properties": {
1390
+ "encryptedData": {
1391
+ "description": "Encrypted data",
1392
+ "type": "string",
1393
+ "x-ms-visibility": "important"
1394
+ }
1395
+ }
1396
+ },
1397
+ "KeyDecryptInput": {
1398
+ "description": "Input for decryption operation",
1399
+ "required": [
1400
+ "algorithm",
1401
+ "encryptedData"
1402
+ ],
1403
+ "type": "object",
1404
+ "properties": {
1405
+ "algorithm": {
1406
+ "description": "Algorithm to use for decrypting the data",
1407
+ "default": "RSA-OAEP-256",
1408
+ "enum": [
1409
+ "RSA-OAEP-256",
1410
+ "RSA-OAEP",
1411
+ "RSA1_5"
1412
+ ],
1413
+ "type": "string",
1414
+ "x-ms-summary": "Algorithm"
1415
+ },
1416
+ "encryptedData": {
1417
+ "description": "Data to decrypt",
1418
+ "type": "string",
1419
+ "x-ms-summary": "Encrypted data"
1420
+ }
1421
+ }
1422
+ },
1423
+ "KeyDecryptOutput": {
1424
+ "description": "Result of decryption operation",
1425
+ "type": "object",
1426
+ "properties": {
1427
+ "rawData": {
1428
+ "description": "Raw data",
1429
+ "type": "string",
1430
+ "x-ms-visibility": "important"
1431
+ }
1432
+ }
1433
+ },
1434
+ "SecretMetadataCollection": {
1435
+ "description": "Collection of secrets",
1436
+ "type": "object",
1437
+ "properties": {
1438
+ "value": {
1439
+ "description": "The secrets",
1440
+ "type": "array",
1441
+ "items": {
1442
+ "$ref": "#/definitions/SecretMetadata"
1443
+ },
1444
+ "x-ms-visibility": "important"
1445
+ },
1446
+ "continuationToken": {
1447
+ "description": "Continuation token",
1448
+ "type": "string",
1449
+ "x-ms-visibility": "advanced"
1450
+ }
1451
+ }
1452
+ },
1453
+ "SecretMetadata": {
1454
+ "description": "Metadata of a secret",
1455
+ "type": "object",
1456
+ "properties": {
1457
+ "name": {
1458
+ "description": "Name of the secret",
1459
+ "type": "string",
1460
+ "x-ms-visibility": "important"
1461
+ },
1462
+ "version": {
1463
+ "description": "Version of the secret",
1464
+ "type": "string",
1465
+ "x-ms-visibility": "advanced"
1466
+ },
1467
+ "contentType": {
1468
+ "description": "Content type of the secret",
1469
+ "type": "string",
1470
+ "x-ms-visibility": "advanced"
1471
+ },
1472
+ "isEnabled": {
1473
+ "description": "A flag indicating whether the secret is enabled",
1474
+ "type": "boolean",
1475
+ "x-ms-visibility": "advanced"
1476
+ },
1477
+ "createdTime": {
1478
+ "format": "date-time",
1479
+ "description": "Time when the secret was created",
1480
+ "type": "string",
1481
+ "x-ms-visibility": "advanced"
1482
+ },
1483
+ "lastUpdatedTime": {
1484
+ "format": "date-time",
1485
+ "description": "Time when the secret was last updated",
1486
+ "type": "string",
1487
+ "x-ms-visibility": "advanced"
1488
+ },
1489
+ "validityStartTime": {
1490
+ "format": "date-time",
1491
+ "description": "Time when the secret validity starts.",
1492
+ "type": "string",
1493
+ "x-ms-visibility": "advanced"
1494
+ },
1495
+ "validityEndTime": {
1496
+ "format": "date-time",
1497
+ "description": "Time when the secret validity ends.",
1498
+ "type": "string",
1499
+ "x-ms-visibility": "advanced"
1500
+ }
1501
+ }
1502
+ },
1503
+ "Secret": {
1504
+ "description": "The secret",
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "value": {
1508
+ "description": "Value of the secret",
1509
+ "type": "string",
1510
+ "x-ms-visibility": "important"
1511
+ },
1512
+ "name": {
1513
+ "description": "Name of the secret",
1514
+ "type": "string",
1515
+ "x-ms-visibility": "important"
1516
+ },
1517
+ "version": {
1518
+ "description": "Version of the secret",
1519
+ "type": "string",
1520
+ "x-ms-visibility": "advanced"
1521
+ },
1522
+ "contentType": {
1523
+ "description": "Content type of the secret",
1524
+ "type": "string",
1525
+ "x-ms-visibility": "advanced"
1526
+ },
1527
+ "isEnabled": {
1528
+ "description": "A flag indicating whether the secret is enabled",
1529
+ "type": "boolean",
1530
+ "x-ms-visibility": "advanced"
1531
+ },
1532
+ "createdTime": {
1533
+ "format": "date-time",
1534
+ "description": "Time when the secret was created",
1535
+ "type": "string",
1536
+ "x-ms-visibility": "advanced"
1537
+ },
1538
+ "lastUpdatedTime": {
1539
+ "format": "date-time",
1540
+ "description": "Time when the secret was last updated",
1541
+ "type": "string",
1542
+ "x-ms-visibility": "advanced"
1543
+ },
1544
+ "validityStartTime": {
1545
+ "format": "date-time",
1546
+ "description": "Time when the secret validity starts.",
1547
+ "type": "string",
1548
+ "x-ms-visibility": "advanced"
1549
+ },
1550
+ "validityEndTime": {
1551
+ "format": "date-time",
1552
+ "description": "Time when the secret validity ends.",
1553
+ "type": "string",
1554
+ "x-ms-visibility": "advanced"
1555
+ }
1556
+ }
1557
+ }
1558
+ },
1559
+ "x-ms-connector-metadata": [
1560
+ {
1561
+ "propertyName": "Website",
1562
+ "propertyValue": "https://azure.microsoft.com/services/key-vault/"
1563
+ }
1564
+ ],
1565
+ "externalDocs": {
1566
+ "url": "https://docs.microsoft.com/connectors/keyvault"
1567
+ }
1568
+ },
1569
+ "runtimeUrls": [
1570
+ "https://unitedstates-002.azure-apim.net/apim/keyvault"
1571
+ ],
1572
+ "primaryRuntimeUrl": "https://unitedstates-002.azure-apim.net/apim/keyvault",
1573
+ "doNotUseApiHubNetRuntimeUrl": "https://unitedstates-002.azure-apim.net/apim/keyvault",
1574
+ "metadata": {
1575
+ "source": "marketplace",
1576
+ "brandColor": "",
1577
+ "useNewApimVersion": "true",
1578
+ "version": {
1579
+ "previous": "releases/v1.0.1797\\1.0.1797.4609",
1580
+ "current": "releases/v1.0.1800\\1.0.1800.4648"
1581
+ }
1582
+ },
1583
+ "capabilities": [
1584
+ "actions"
1585
+ ],
1586
+ "interfaces": {},
1587
+ "description": "Azure Key Vault is a service to securely store and access secrets.",
1588
+ "createdTime": "2019-03-29T17:59:10.9127024Z",
1589
+ "changedTime": "2026-03-25T20:08:00.0215749Z",
1590
+ "releaseTag": "Production",
1591
+ "tier": "Premium",
1592
+ "publisher": "Microsoft",
1593
+ "scopes": {
1594
+ "will": [],
1595
+ "wont": []
1596
+ },
1597
+ "rateLimit": 0,
1598
+ "apiVersion": "None"
1599
+ }
1600
+ }