From 3e7c1b9a99a0e86abac00fbda87d3d961c1fa0f5 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 11 May 2017 17:04:08 +0200 Subject: [PATCH] Add "secrets" example for service create API docs Signed-off-by: Sebastiaan van Stijn --- api/swagger.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api/swagger.yaml b/api/swagger.yaml index 18971c4b07..ac3f16c20a 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -7612,6 +7612,15 @@ paths: Nameservers: ["8.8.8.8"] Search: ["example.org"] Options: ["timeout:3"] + Secrets: + - + File: + Name: "www.example.org.key" + UID: "33" + GID: "33" + Mode: 384 + SecretID: "fpjqlhnwb19zds35k8wn80lq9" + SecretName: "example_org_domain_key" LogDriver: Name: "json-file" Options: