@celigo/api-specs 0.2.160 → 0.2.161
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/stack.yml +16 -4
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/stack.yml
CHANGED
|
@@ -223,6 +223,13 @@ paths:
|
|
|
223
223
|
Updates a stack. Omitting the config object clears optional fields
|
|
224
224
|
like `framework`. To rotate a server stack's system token, use
|
|
225
225
|
`DELETE /v1/stacks/{_id}/systemToken` instead.
|
|
226
|
+
|
|
227
|
+
Send the secrets as a GET returned them. On a lambda stack, a
|
|
228
|
+
`lambda.secretAccessKey` of `******` keeps the stored secret, and a
|
|
229
|
+
body without `secretAccessKey` is refused with 422 ("secretAccessKey
|
|
230
|
+
is not provided for the stack of type lambda."). On a server stack, a
|
|
231
|
+
PUT ignores `server.systemToken`, whether the body omits it, masks it
|
|
232
|
+
or carries another value.
|
|
226
233
|
operationId: updateStack
|
|
227
234
|
tags:
|
|
228
235
|
- Stacks
|
|
@@ -289,7 +296,8 @@ paths:
|
|
|
289
296
|
x-celigo-ai-guidance:
|
|
290
297
|
- |-
|
|
291
298
|
- You can update `name`, `framework`, and the config object for the active `type`.
|
|
292
|
-
- Secrets are write-only
|
|
299
|
+
- Secrets are write-only, and responses return them masked. On a lambda stack, send a new `secretAccessKey` to replace the stored one, or the `******` mask a GET returned to keep it; leaving it out is refused with 422.
|
|
300
|
+
- On a server stack, a PUT can't change `server.systemToken`; rotate it with `DELETE /v1/stacks/{_id}/systemToken`.
|
|
293
301
|
delete:
|
|
294
302
|
x-internal: false
|
|
295
303
|
summary: Delete a stack
|
|
@@ -1278,7 +1286,8 @@ components:
|
|
|
1278
1286
|
System token for authenticating with the server stack.
|
|
1279
1287
|
Always masked as "******" in standard responses. Use the
|
|
1280
1288
|
dedicated `/stacks/{_id}/systemToken` endpoint to retrieve
|
|
1281
|
-
the actual value.
|
|
1289
|
+
the actual value. A PUT ignores this field whatever it
|
|
1290
|
+
carries; `DELETE /stacks/{_id}/systemToken` rotates it.
|
|
1282
1291
|
examples:
|
|
1283
1292
|
- '******'
|
|
1284
1293
|
lambda:
|
|
@@ -1483,7 +1492,7 @@ components:
|
|
|
1483
1492
|
x-celigo-ai-guidance:
|
|
1484
1493
|
- |-
|
|
1485
1494
|
Required when `type` is "server".
|
|
1486
|
-
The system token is auto-generated on creation and cannot be set directly.
|
|
1495
|
+
The system token is auto-generated on creation and cannot be set directly: a PUT ignores any `systemToken` it carries.
|
|
1487
1496
|
required:
|
|
1488
1497
|
- hostURI
|
|
1489
1498
|
properties:
|
|
@@ -1513,7 +1522,10 @@ components:
|
|
|
1513
1522
|
secretAccessKey:
|
|
1514
1523
|
type: string
|
|
1515
1524
|
maxLength: 511
|
|
1516
|
-
description:
|
|
1525
|
+
description: |-
|
|
1526
|
+
AWS secret access key. Write-only — responses mask it as "******".
|
|
1527
|
+
On a PUT, the mask sent back keeps the stored secret, and leaving
|
|
1528
|
+
the field out is refused with 422.
|
|
1517
1529
|
examples:
|
|
1518
1530
|
- wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
|
|
1519
1531
|
awsRegion:
|
package/package.json
CHANGED