mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
docs/api: improve doc for Secret and Config data fields (API v1.31-v1.48)
Document the size constraints as defined by swarm; - 500KB ([MaxSecretSize]) for secrets - 1000KB ([MaxConfigSize]) for configs [MaxSecretSize]: https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize [MaxConfigSize]: https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -2857,8 +2857,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -2899,8 +2902,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Config:
|
||||
type: "object"
|
||||
|
||||
@@ -3329,8 +3329,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -3372,8 +3375,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
|
||||
Config:
|
||||
|
||||
@@ -3333,8 +3333,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -3376,8 +3379,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
|
||||
Config:
|
||||
|
||||
@@ -3361,8 +3361,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -3404,8 +3407,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
|
||||
Config:
|
||||
|
||||
@@ -3365,8 +3365,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -3408,8 +3411,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
|
||||
Config:
|
||||
|
||||
@@ -3378,8 +3378,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -3421,8 +3424,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
|
||||
Config:
|
||||
|
||||
@@ -3384,8 +3384,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -3434,8 +3437,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -3438,8 +3438,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -3488,8 +3491,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -4499,8 +4499,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -4551,8 +4554,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -4623,8 +4623,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -4675,8 +4678,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -4872,8 +4872,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -4924,8 +4927,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -4891,8 +4891,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -4943,8 +4946,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -4922,8 +4922,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -4974,8 +4977,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -5037,8 +5037,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -5089,8 +5092,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -5023,8 +5023,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -5075,8 +5078,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -5082,8 +5082,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -5134,8 +5137,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -5100,8 +5100,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -5152,8 +5155,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
@@ -5508,8 +5508,11 @@ definitions:
|
||||
com.example.some-other-label: "some-other-value"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
data to store as secret.
|
||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
It must be empty if the Driver field is set, in which case the data is
|
||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/api/validation#MaxSecretSize).
|
||||
|
||||
This field is only used to _create_ a secret, and is not returned by
|
||||
other endpoints.
|
||||
@@ -5560,8 +5563,9 @@ definitions:
|
||||
type: "string"
|
||||
Data:
|
||||
description: |
|
||||
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
|
||||
config data.
|
||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||
type: "string"
|
||||
Templating:
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user