From f57a8914143af287423abf7649528206ac159af2 Mon Sep 17 00:00:00 2001 From: Nigel Date: Tue, 30 Mar 2021 16:07:23 +0200 Subject: [PATCH 1/4] Added verify option to docs --- content/docs/command-reference/remote/modify.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index 3f6923d812..4c38ebbff6 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -182,6 +182,12 @@ these parameters, you could use the following options. ```dvc $ dvc remote modify myremote use_ssl false ``` + +- `verify` - whether or not to validate SSL certificates, By default, validation is used. + + ```dvc + $ dvc remote modify myremote verify false + ``` - `listobjects` - whether or not to use `list_objects`. By default, `list_objects_v2` is used. Useful for ceph and other S3 emulators. From 8dd5fb1de527372f193f159623dbef6fd64c060d Mon Sep 17 00:00:00 2001 From: Nigel Date: Tue, 30 Mar 2021 17:35:28 +0200 Subject: [PATCH 2/4] Parameter name changed to avoid conflicts --- content/docs/command-reference/remote/modify.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index 4c38ebbff6..a3398da60e 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -183,10 +183,10 @@ these parameters, you could use the following options. $ dvc remote modify myremote use_ssl false ``` -- `verify` - whether or not to validate SSL certificates, By default, validation is used. +- `verify_ssl` - whether or not to validate SSL certificates, By default, validation is used. ```dvc - $ dvc remote modify myremote verify false + $ dvc remote modify myremote verify_ssl false ``` - `listobjects` - whether or not to use `list_objects`. By default, From 4fb8fde881058d0308b997d02754123d357d6ed7 Mon Sep 17 00:00:00 2001 From: Nigel Date: Wed, 31 Mar 2021 09:52:29 +0200 Subject: [PATCH 3/4] Changed parameter name and used boto3 docs as a base --- content/docs/command-reference/remote/modify.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index a3398da60e..ef303c734d 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -183,7 +183,9 @@ these parameters, you could use the following options. $ dvc remote modify myremote use_ssl false ``` -- `verify_ssl` - whether or not to validate SSL certificates, By default, validation is used. +- `ssl_verify` - whether or not to verify SSL certificates. By default SSL certificates are verified. You can provide the following values: + False - do not validate SSL certificates. SSL will still be used (unless use_ssl is False), but SSL certificates will not be verified. + path/to/cert/bundle.pem - A filename of the CA cert bundle to use. ```dvc $ dvc remote modify myremote verify_ssl false From 1826b9731dae08e01a653ac3f126358b8d69b99e Mon Sep 17 00:00:00 2001 From: Nigel Date: Thu, 1 Apr 2021 09:24:29 +0200 Subject: [PATCH 4/4] Function was reverted back to bool only --- content/docs/command-reference/remote/modify.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index ef303c734d..dabac58b79 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -183,9 +183,8 @@ these parameters, you could use the following options. $ dvc remote modify myremote use_ssl false ``` -- `ssl_verify` - whether or not to verify SSL certificates. By default SSL certificates are verified. You can provide the following values: - False - do not validate SSL certificates. SSL will still be used (unless use_ssl is False), but SSL certificates will not be verified. - path/to/cert/bundle.pem - A filename of the CA cert bundle to use. +- `ssl_verify` - whether or not to verify SSL certificates. + By default SSL certificates are verified. ```dvc $ dvc remote modify myremote verify_ssl false