Skip to content

Commit 4c8db3b

Browse files
committed
Remove unused secret schemas in openapi
1 parent 8868adc commit 4c8db3b

File tree

1 file changed

+1
-44
lines changed

1 file changed

+1
-44
lines changed

gateway/gateway-controller/api/openapi.yaml

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,7 @@ paths:
17061706
- Secrets Management
17071707
summary: List all secrets
17081708
description: |
1709-
Retrieve a list of all stored secrets. Returns secret metadata without
1709+
Retrieve a list of all stored secrets. Returns secret identifiers without
17101710
the actual secret values for security purposes.
17111711
operationId: listSecrets
17121712
responses:
@@ -3786,49 +3786,6 @@ components:
37863786
type: string
37873787
example: success
37883788

3789-
SecretCreateRequest:
3790-
type: object
3791-
required:
3792-
- id
3793-
- value
3794-
properties:
3795-
id:
3796-
type: string
3797-
description: |
3798-
Unique identifier for the secret. Must be unique across all secrets.
3799-
Recommended format: alphanumeric with hyphens/underscores.
3800-
minLength: 1
3801-
maxLength: 255
3802-
example: "database-password"
3803-
value:
3804-
type: string
3805-
description: |
3806-
The secret value to encrypt and store. Will be encrypted at rest
3807-
using the primary encryption provider. Maximum size: 10KB.
3808-
minLength: 1
3809-
maxLength: 10240
3810-
example: "sup3rs3cr3t!"
3811-
example:
3812-
id: "api-key-production"
3813-
value: "sk-abcd1234efgh5678"
3814-
3815-
SecretUpdateRequest:
3816-
type: object
3817-
required:
3818-
- value
3819-
properties:
3820-
value:
3821-
type: string
3822-
description: |
3823-
New secret value to encrypt and store. The secret will be re-encrypted
3824-
using the current primary encryption provider, enabling automatic key
3825-
rotation. Maximum size: 10KB.
3826-
minLength: 1
3827-
maxLength: 10240
3828-
example: "n3w_s3cr3t_v@lu3!"
3829-
example:
3830-
value: "updated-secret-value"
3831-
38323789
SecretResponse:
38333790
type: object
38343791
required:

0 commit comments

Comments
 (0)