You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/swagger.yaml
+8
Original file line number
Diff line number
Diff line change
@@ -1886,6 +1886,14 @@ definitions:
1886
1886
CACert:
1887
1887
description: "The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided)."
1888
1888
type: "string"
1889
+
SigningCACert:
1890
+
description: "The desired signing CA certificate for all swarm node TLS leaf certificates, in PEM format."
1891
+
type: "string"
1892
+
SigningCAKey:
1893
+
description: "The desired signing CA key for all swarm node TLS leaf certificates, in PEM format."
1894
+
type: "string"
1895
+
ForceRotate:
1896
+
description: "An integer whose purpose is to force swarm to generate a new signing CA certificate and key, if none have been specified in `SigningCACert` and `SigningCAKey`"
1889
1897
EncryptionConfig:
1890
1898
description: "Parameters related to encryption-at-rest."
*`GET /info` now returns the list of supported logging drivers, including plugins.
21
21
*`GET /info` and `GET /swarm` now returns the cluster-wide swarm CA info if the node is in a swarm: the cluster root CA certificate, and the cluster TLS
22
-
leaf certificate issuer's subject and public key.
22
+
leaf certificate issuer's subject and public key. It also displays the desired CA signing certificate, if any was provided as part of the spec.
23
23
*`POST /build/` now (when not silent) produces an `Aux` message in the JSON output stream with payload `types.BuildResult` for each image produced. The final such message will reference the image resulting from the build.
24
24
*`GET /nodes` and `GET /nodes/{id}` now returns additional information about swarm TLS info if the node is part of a swarm: the trusted root CA, and the
25
25
issuer's subject and public key.
26
26
*`GET /distribution/(name)/json` is a new endpoint that returns a JSON output stream with payload `types.DistributionInspect` for an image name. It includes a descriptor with the digest, and supported platforms retrieved from directly contacting the registry.
27
+
*`POST /swarm/update` now accepts 3 additional parameters as part of the swarm spec's CA configuration; the desired CA certificate for
28
+
the swarm, the desired CA key for the swarm (if not using an external certificate), and an optional parameter to force swarm to
29
+
generate and rotate to a new CA certificate/key pair.
0 commit comments