~hduran-8/+junk/caddy

« back to all changes in this revision

Viewing changes to debian/gocode/src/github.com/xenolf/lego/cli.go

  • Committer: Horacio Durán
  • Date: 2017-01-20 16:21:20 UTC
  • Revision ID: horacio.duran@canonical.com-20170120162120-l82mfqwmsclnk838
Upgrade to 0.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
                                        Name:  "no-bundle",
65
65
                                        Usage: "Do not create a certificate bundle by adding the issuers certificate to the new certificate.",
66
66
                                },
 
67
                                cli.BoolFlag{
 
68
                                        Name:  "must-staple",
 
69
                                        Usage: "Include the OCSP must staple TLS extension in the CSR and generated certificate. Only works if the CSR is generated by lego.",
 
70
                                },
67
71
                        },
68
72
                },
69
73
                {
89
93
                                        Name:  "no-bundle",
90
94
                                        Usage: "Do not create a certificate bundle by adding the issuers certificate to the new certificate.",
91
95
                                },
 
96
                                cli.BoolFlag{
 
97
                                        Name:  "must-staple",
 
98
                                        Usage: "Include the OCSP must staple TLS extension in the CSR and generated certificate. Only works if the CSR is generated by lego.",
 
99
                                },
92
100
                        },
93
101
                },
94
102
                {
138
146
                        Name:  "webroot",
139
147
                        Usage: "Set the webroot folder to use for HTTP based challenges to write directly in a file in .well-known/acme-challenge",
140
148
                },
 
149
                cli.StringSliceFlag{
 
150
                        Name:  "memcached-host",
 
151
                        Usage: "Set the memcached host(s) to use for HTTP based challenges. Challenges will be written to all specified hosts.",
 
152
                },
141
153
                cli.StringFlag{
142
154
                        Name:  "http",
143
155
                        Usage: "Set the port and interface to use for HTTP based challenges to listen on. Supported: interface:port or :port",
189
201
        w := tabwriter.NewWriter(os.Stdout, 0, 8, 1, '\t', 0)
190
202
        fmt.Fprintln(w, "Valid providers and their associated credential environment variables:")
191
203
        fmt.Fprintln(w)
 
204
        fmt.Fprintln(w, "\tazure:\tAZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID, AZURE_RESOURCE_GROUP")
 
205
        fmt.Fprintln(w, "\tauroradns:\tAURORA_USER_ID, AURORA_KEY, AURORA_ENDPOINT")
192
206
        fmt.Fprintln(w, "\tcloudflare:\tCLOUDFLARE_EMAIL, CLOUDFLARE_API_KEY")
193
207
        fmt.Fprintln(w, "\tdigitalocean:\tDO_AUTH_TOKEN")
194
208
        fmt.Fprintln(w, "\tdnsimple:\tDNSIMPLE_EMAIL, DNSIMPLE_API_KEY")
195
209
        fmt.Fprintln(w, "\tdnsmadeeasy:\tDNSMADEEASY_API_KEY, DNSMADEEASY_API_SECRET")
 
210
        fmt.Fprintln(w, "\texoscale:\tEXOSCALE_API_KEY, EXOSCALE_API_SECRET, EXOSCALE_ENDPOINT")
196
211
        fmt.Fprintln(w, "\tgandi:\tGANDI_API_KEY")
197
212
        fmt.Fprintln(w, "\tgcloud:\tGCE_PROJECT")
198
213
        fmt.Fprintln(w, "\tlinode:\tLINODE_API_KEY")
199
214
        fmt.Fprintln(w, "\tmanual:\tnone")
200
215
        fmt.Fprintln(w, "\tnamecheap:\tNAMECHEAP_API_USER, NAMECHEAP_API_KEY")
 
216
        fmt.Fprintln(w, "\trackspace:\tRACKSPACE_USER, RACKSPACE_API_KEY")
201
217
        fmt.Fprintln(w, "\trfc2136:\tRFC2136_TSIG_KEY, RFC2136_TSIG_SECRET,\n\t\tRFC2136_TSIG_ALGORITHM, RFC2136_NAMESERVER")
202
218
        fmt.Fprintln(w, "\troute53:\tAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION")
203
219
        fmt.Fprintln(w, "\tdyn:\tDYN_CUSTOMER_NAME, DYN_USER_NAME, DYN_PASSWORD")
204
220
        fmt.Fprintln(w, "\tvultr:\tVULTR_API_KEY")
205
221
        fmt.Fprintln(w, "\tovh:\tOVH_ENDPOINT, OVH_APPLICATION_KEY, OVH_APPLICATION_SECRET, OVH_CONSUMER_KEY")
206
222
        fmt.Fprintln(w, "\tpdns:\tPDNS_API_KEY, PDNS_API_URL")
 
223
        fmt.Fprintln(w, "\tdnspod:\tDNSPOD_API_KEY")
207
224
        w.Flush()
208
225
 
209
226
        fmt.Println(`