From 14c397a625ccc9c0eb785b36a62b70c6409af4f1 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 22 Jan 2017 16:40:02 +0800 Subject: [PATCH] remove secret section ref: https://github.com/drone/drone-plugin-index/commit/e2a87606a8fdb144781aad0ab666381b5c3368da --- DOCS.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/DOCS.md b/DOCS.md index c9adca1..48b3b78 100644 --- a/DOCS.md +++ b/DOCS.md @@ -24,25 +24,6 @@ The following secret values can be set to configure the plugin. * **SSH_SLEEP** - corresponds to **sleep** * **SSH_TIMEOUT** - corresponds to **timeout** -It is highly recommended to put the **SSH_KEY** and **SSH_PASSWORD** into a secret so it is not -exposed to users. This can be done using the drone-cli. - -```bash -drone secret add --image=plugins/ssh \ - octocat/hello-world SSH_KEY @path/to/.ssh/id_rsa -drone secret add --image=plugins/ssh \ - octocat/hello-world SSH_PASSWORD admin1234 -``` - -Then sign the YAML file after all secrets are added. - -```bash -drone sign octocat/hello-world -``` - -See [secrets](http://readme.drone.io/0.5/usage/secrets/) for additional -information on secrets - ## Examples Example configuration in your .drone.yml file for a single host: