|
41 | 41 | description: "Host metrics, file browser and system shell utility endpoints." |
42 | 42 | - name: Tunnel |
43 | 43 | description: "Tunnel lifecycle and connectivity management APIs." |
| 44 | + - name: Secrets |
| 45 | + description: "Secrets lifecycle management — encrypted credential CRUD, template listing, payload rotation, internal resolve, and reveal APIs. Uses PB native collection for storage with application-layer AES-256-GCM encryption." |
44 | 46 |
|
45 | 47 | components: |
46 | 48 | securitySchemes: |
@@ -3235,133 +3237,6 @@ paths: |
3235 | 3237 | application/json: |
3236 | 3238 | schema: |
3237 | 3239 | $ref: '#/components/schemas/ErrorEnvelope' |
3238 | | - /api/ext/resources/secrets: |
3239 | | - get: |
3240 | | - tags: [Resource] |
3241 | | - summary: Get resources secrets |
3242 | | - operationId: get_api_ext_resources_secrets |
3243 | | - security: |
3244 | | - - bearerAuth: [] # superuser required |
3245 | | - responses: |
3246 | | - "200": |
3247 | | - description: OK |
3248 | | - content: |
3249 | | - application/json: |
3250 | | - schema: |
3251 | | - $ref: '#/components/schemas/SuccessEnvelope' |
3252 | | - "401": |
3253 | | - description: Unauthorized |
3254 | | - content: |
3255 | | - application/json: |
3256 | | - schema: |
3257 | | - $ref: '#/components/schemas/ErrorEnvelope' |
3258 | | - post: |
3259 | | - tags: [Resource] |
3260 | | - summary: Create or execute resources secrets |
3261 | | - operationId: post_api_ext_resources_secrets |
3262 | | - requestBody: |
3263 | | - required: false |
3264 | | - content: |
3265 | | - application/json: |
3266 | | - schema: |
3267 | | - $ref: '#/components/schemas/GenericRequest' |
3268 | | - security: |
3269 | | - - bearerAuth: [] # superuser required |
3270 | | - responses: |
3271 | | - "200": |
3272 | | - description: OK |
3273 | | - content: |
3274 | | - application/json: |
3275 | | - schema: |
3276 | | - $ref: '#/components/schemas/SuccessEnvelope' |
3277 | | - "401": |
3278 | | - description: Unauthorized |
3279 | | - content: |
3280 | | - application/json: |
3281 | | - schema: |
3282 | | - $ref: '#/components/schemas/ErrorEnvelope' |
3283 | | - /api/ext/resources/secrets/{id}: |
3284 | | - delete: |
3285 | | - tags: [Resource] |
3286 | | - summary: Delete resources secrets by id |
3287 | | - operationId: delete_api_ext_resources_secrets_id |
3288 | | - parameters: |
3289 | | - - name: id |
3290 | | - in: path |
3291 | | - required: true |
3292 | | - schema: |
3293 | | - type: string |
3294 | | - security: |
3295 | | - - bearerAuth: [] # superuser required |
3296 | | - responses: |
3297 | | - "200": |
3298 | | - description: OK |
3299 | | - content: |
3300 | | - application/json: |
3301 | | - schema: |
3302 | | - $ref: '#/components/schemas/SuccessEnvelope' |
3303 | | - "401": |
3304 | | - description: Unauthorized |
3305 | | - content: |
3306 | | - application/json: |
3307 | | - schema: |
3308 | | - $ref: '#/components/schemas/ErrorEnvelope' |
3309 | | - get: |
3310 | | - tags: [Resource] |
3311 | | - summary: Get resources secrets by id |
3312 | | - operationId: get_api_ext_resources_secrets_id |
3313 | | - parameters: |
3314 | | - - name: id |
3315 | | - in: path |
3316 | | - required: true |
3317 | | - schema: |
3318 | | - type: string |
3319 | | - security: |
3320 | | - - bearerAuth: [] # superuser required |
3321 | | - responses: |
3322 | | - "200": |
3323 | | - description: OK |
3324 | | - content: |
3325 | | - application/json: |
3326 | | - schema: |
3327 | | - $ref: '#/components/schemas/SuccessEnvelope' |
3328 | | - "401": |
3329 | | - description: Unauthorized |
3330 | | - content: |
3331 | | - application/json: |
3332 | | - schema: |
3333 | | - $ref: '#/components/schemas/ErrorEnvelope' |
3334 | | - put: |
3335 | | - tags: [Resource] |
3336 | | - summary: Update resources secrets by id |
3337 | | - operationId: put_api_ext_resources_secrets_id |
3338 | | - parameters: |
3339 | | - - name: id |
3340 | | - in: path |
3341 | | - required: true |
3342 | | - schema: |
3343 | | - type: string |
3344 | | - requestBody: |
3345 | | - required: false |
3346 | | - content: |
3347 | | - application/json: |
3348 | | - schema: |
3349 | | - $ref: '#/components/schemas/GenericRequest' |
3350 | | - security: |
3351 | | - - bearerAuth: [] # superuser required |
3352 | | - responses: |
3353 | | - "200": |
3354 | | - description: OK |
3355 | | - content: |
3356 | | - application/json: |
3357 | | - schema: |
3358 | | - $ref: '#/components/schemas/SuccessEnvelope' |
3359 | | - "401": |
3360 | | - description: Unauthorized |
3361 | | - content: |
3362 | | - application/json: |
3363 | | - schema: |
3364 | | - $ref: '#/components/schemas/ErrorEnvelope' |
3365 | 3240 | /api/ext/services: |
3366 | 3241 | get: |
3367 | 3242 | tags: [Services] |
|
0 commit comments