File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,16 @@ Configuration for [Google Cloud](https://cloud.google.com).
2323- Since: v0.3.0
2424
2525
26- {{% notice note %}}
27- _ Please contribute by adding a CLI example._
28- {{% /notice %}}
26+ Here is an example bash command using the Google Cloud provider:
27+
28+ ``` bash
29+ GCE_PROJECT=" gc-project-id" GCE_SERVICE_ACCOUNT_FILE=" /path/to/svc/account/file.json" lego \
30+ 31+ --domains=" example.com" \
32+ --dns=" gcloud" \
33+ --path=" ${HOME} /.lego" \
34+ run
35+ ```
2936
3037
3138
Original file line number Diff line number Diff line change @@ -4,7 +4,14 @@ URL = "https://cloud.google.com"
44Code = " gcloud"
55Since = " v0.3.0"
66
7- Example = ''' '''
7+ Example = '''
8+ GCE_PROJECT="gc-project-id" GCE_SERVICE_ACCOUNT_FILE="/path/to/svc/account/file.json" lego \
9+ 10+ --domains="example.com" \
11+ --dns="gcloud" \
12+ --path="${HOME}/.lego" \
13+ run
14+ '''
815
916[Configuration ]
1017 [Configuration .Credentials ]
You can’t perform that action at this time.
0 commit comments