summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-03-08 11:08:04 +0100
committerMartin Polden <mpolden@mpolden.no>2022-03-10 09:32:36 +0100
commit4a9017b34eb8408f9dd360a1c2f070c26fd1e5c1 (patch)
tree95581b57bb1a17a00a1700d39bd59e99dc8b12da /client
parent2c15ee07f243bacaa1aa153f4dd4346b51360094 (diff)
Tweak documentation formatting
Diffstat (limited to 'client')
-rw-r--r--client/go/cmd/api_key.go8
-rw-r--r--client/go/cmd/cert.go8
2 files changed, 8 insertions, 8 deletions
diff --git a/client/go/cmd/api_key.go b/client/go/cmd/api_key.go
index 5e23cdc9ebd..592ab14f11f 100644
--- a/client/go/cmd/api_key.go
+++ b/client/go/cmd/api_key.go
@@ -28,13 +28,13 @@ key as necessary.
It's possible to override the API key used through environment variables. This
can be useful in continuous integration systems.
-* VESPA_CLI_API_KEY containing the key directly:
+Example of setting the key in-line:
- export VESPA_CLI_API_KEY="my api key"
+ export VESPA_CLI_API_KEY="my api key"
-* VESPA_CLI_API_KEY_FILE containing path to the key:
+Example of loading the key from a custom path:
- export VESPA_CLI_API_KEY_FILE=/path/to/api-key
+ export VESPA_CLI_API_KEY_FILE=/path/to/api-key
Note that when overriding API key through environment variables, that key will
always be used. It's not possible to specify a tenant-specific key.`,
diff --git a/client/go/cmd/cert.go b/client/go/cmd/cert.go
index caa32b0a963..11b20603ce8 100644
--- a/client/go/cmd/cert.go
+++ b/client/go/cmd/cert.go
@@ -36,13 +36,13 @@ environment variables. This can be useful in continuous integration systems.
Example of setting the certificate and key in-line:
-- export VESPA_CLI_DATA_PLANE_CERT="my cert"
-- export VESPA_CLI_DATA_PLANE_KEY="my private key"
+ export VESPA_CLI_DATA_PLANE_CERT="my cert"
+ export VESPA_CLI_DATA_PLANE_KEY="my private key"
Example of loading certificate and key from custom paths:
-- export VESPA_CLI_DATA_PLANE_CERT_FILE=/path/to/cert
-- export VESPA_CLI_DATA_PLANE_KEY_FILE=/path/to/key
+ export VESPA_CLI_DATA_PLANE_CERT_FILE=/path/to/cert
+ export VESPA_CLI_DATA_PLANE_KEY_FILE=/path/to/key
Note that when overriding key pair through environment variables, that key pair
will always be used for all applications. It's not possible to specify an