Skip to content

Commit 6fa245e

Browse files
committed
fix: updated @oclif/plugin-legacy to fix certs commands
1 parent b0a155f commit 6fa245e

File tree

4 files changed

+1188
-110273
lines changed

4 files changed

+1188
-110273
lines changed

docs/certs.md

Lines changed: 55 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
a topic for the ssl plugin
55

66
* [`heroku certs`](#heroku-certs)
7-
* [`heroku certs:add CRT KEY`](#heroku-certsadd-crt-key)
7+
* [`heroku certs:add [CRT] [KEY]`](#heroku-certsadd-crt-key)
88
* [`heroku certs:auto`](#heroku-certsauto)
99
* [`heroku certs:auto:disable`](#heroku-certsautodisable)
1010
* [`heroku certs:auto:enable`](#heroku-certsautoenable)
1111
* [`heroku certs:auto:refresh`](#heroku-certsautorefresh)
1212
* [`heroku certs:chain`](#heroku-certschain)
13-
* [`heroku certs:generate DOMAIN`](#heroku-certsgenerate-domain)
13+
* [`heroku certs:generate [DOMAIN]`](#heroku-certsgenerate-domain)
1414
* [`heroku certs:info`](#heroku-certsinfo)
1515
* [`heroku certs:key`](#heroku-certskey)
1616
* [`heroku certs:remove`](#heroku-certsremove)
1717
* [`heroku certs:rollback`](#heroku-certsrollback)
18-
* [`heroku certs:update CRT KEY`](#heroku-certsupdate-crt-key)
18+
* [`heroku certs:update [CRT] [KEY]`](#heroku-certsupdate-crt-key)
1919

2020
## `heroku certs`
2121

@@ -24,29 +24,22 @@ list SSL certificates for an app
2424
```
2525
USAGE
2626
$ heroku certs
27-
28-
OPTIONS
29-
-a, --app=app (required) app to run command against
30-
-r, --remote=remote git remote of app to use
3127
```
3228

33-
## `heroku certs:add CRT KEY`
29+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs.js)_
30+
31+
## `heroku certs:add [CRT] [KEY]`
3432

3533
add an SSL certificate to an app
3634

3735
```
3836
USAGE
39-
$ heroku certs:add CRT KEY
37+
$ heroku certs:add [CRT] [KEY]
4038
4139
OPTIONS
42-
-a, --app=app (required) app to run command against
43-
-r, --remote=remote git remote of app to use
44-
--bypass bypass the trust chain completion step
45-
--domains=domains domains to create after certificate upload
46-
--type=type type to create, either 'sni' or 'endpoint'
47-
48-
DESCRIPTION
49-
Note: certificates with PEM encoding are also valid
40+
--0 bypass the trust chain completion step
41+
--1 type to create, either 'sni' or 'endpoint'
42+
--2 domains to create after certificate upload
5043
5144
EXAMPLES
5245
$ heroku certs:add example.com.crt example.com.key
@@ -55,101 +48,87 @@ EXAMPLES
5548
$ heroku certs:add intermediary.crt example.com.crt example.com.key
5649
```
5750

51+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/add.js)_
52+
5853
## `heroku certs:auto`
5954

6055
show ACM status for an app
6156

6257
```
6358
USAGE
6459
$ heroku certs:auto
65-
66-
OPTIONS
67-
-a, --app=app (required) app to run command against
68-
-r, --remote=remote git remote of app to use
6960
```
7061

62+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto.js)_
63+
7164
## `heroku certs:auto:disable`
7265

7366
disable ACM for an app
7467

7568
```
7669
USAGE
7770
$ heroku certs:auto:disable
78-
79-
OPTIONS
80-
-a, --app=app (required) app to run command against
81-
-r, --remote=remote git remote of app to use
8271
```
8372

73+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto/disable.js)_
74+
8475
## `heroku certs:auto:enable`
8576

8677
enable ACM status for an app
8778

8879
```
8980
USAGE
9081
$ heroku certs:auto:enable
91-
92-
OPTIONS
93-
-a, --app=app (required) app to run command against
94-
-r, --remote=remote git remote of app to use
9582
```
9683

84+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto/enable.js)_
85+
9786
## `heroku certs:auto:refresh`
9887

9988
refresh ACM for an app
10089

10190
```
10291
USAGE
10392
$ heroku certs:auto:refresh
104-
105-
OPTIONS
106-
-a, --app=app (required) app to run command against
107-
-r, --remote=remote git remote of app to use
10893
```
10994

95+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto/refresh.js)_
96+
11097
## `heroku certs:chain`
11198

11299
print an ordered & complete chain for a certificate
113100

114101
```
115102
USAGE
116103
$ heroku certs:chain
117-
118-
OPTIONS
119-
-a, --app=app (required) app to run command against
120-
-r, --remote=remote git remote of app to use
121104
```
122105

123-
## `heroku certs:generate DOMAIN`
106+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/chain.js)_
107+
108+
## `heroku certs:generate [DOMAIN]`
124109

125110
generate a key and a CSR or self-signed certificate
126111

127112
```
128113
USAGE
129-
$ heroku certs:generate DOMAIN
114+
$ heroku certs:generate [DOMAIN]
130115
131116
OPTIONS
132-
-a, --app=app (required) app to run command against
133-
-r, --remote=remote git remote of app to use
134-
--area=area sub-country area (state, province, etc.) of owner
135-
--city=city city of owner
136-
--country=country country of owner, as a two-letter ISO country code
137-
--keysize=keysize RSA key size in bits (default: 2048)
138-
--now do not prompt for any owner information
139-
--owner=owner name of organization certificate belongs to
140-
--selfsigned generate a self-signed certificate instead of a CSR
141-
--subject=subject specify entire certificate subject
142-
143-
DESCRIPTION
144-
Generate a key and certificate signing request (or self-signed certificate)
145-
for an app. Prompts for information to put in the certificate unless --now
146-
is used, or at least one of the --subject, --owner, --country, --area, or
147-
--city options is specified.
117+
--0 generate a self-signed certificate instead of a CSR
118+
--1 RSA key size in bits (default: 2048)
119+
--2 name of organization certificate belongs to
120+
--3 country of owner, as a two-letter ISO country code
121+
--4 sub-country area (state, province, etc.) of owner
122+
--5 city of owner
123+
--6 specify entire certificate subject
124+
--7 do not prompt for any owner information
148125
149126
EXAMPLES
150127
$ heroku certs:generate example.com
151128
```
152129

130+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/generate.js)_
131+
153132
## `heroku certs:info`
154133

155134
show certificate information for an SSL certificate
@@ -159,12 +138,12 @@ USAGE
159138
$ heroku certs:info
160139
161140
OPTIONS
162-
-a, --app=app (required) app to run command against
163-
-r, --remote=remote git remote of app to use
164-
--endpoint=endpoint endpoint to check info on
165-
--name=name name to check info on
141+
--0 name to check info on
142+
--1 endpoint to check info on
166143
```
167144

145+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/info.js)_
146+
168147
## `heroku certs:key`
169148

170149
print the correct key for the given certificate
@@ -173,18 +152,12 @@ print the correct key for the given certificate
173152
USAGE
174153
$ heroku certs:key
175154
176-
OPTIONS
177-
-a, --app=app (required) app to run command against
178-
-r, --remote=remote git remote of app to use
179-
180-
DESCRIPTION
181-
You must pass one single certificate, and one or more keys.
182-
The first key that signs the certificate will be printed back.
183-
184155
EXAMPLES
185156
$ heroku certs:key example.com.crt example.com.key
186157
```
187158

159+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/key.js)_
160+
188161
## `heroku certs:remove`
189162

190163
remove an SSL certificate from an app
@@ -194,12 +167,12 @@ USAGE
194167
$ heroku certs:remove
195168
196169
OPTIONS
197-
-a, --app=app (required) app to run command against
198-
-r, --remote=remote git remote of app to use
199-
--endpoint=endpoint endpoint to remove
200-
--name=name name to remove
170+
--1 name to remove
171+
--2 endpoint to remove
201172
```
202173

174+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/remove.js)_
175+
203176
## `heroku certs:rollback`
204177

205178
rollback an SSL certificate from an app
@@ -209,33 +182,30 @@ USAGE
209182
$ heroku certs:rollback
210183
211184
OPTIONS
212-
-a, --app=app (required) app to run command against
213-
-r, --remote=remote git remote of app to use
214-
--endpoint=endpoint endpoint to rollback
215-
--name=name name to rollback
185+
--1 name to rollback
186+
--2 endpoint to rollback
216187
```
217188

218-
## `heroku certs:update CRT KEY`
189+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/rollback.js)_
190+
191+
## `heroku certs:update [CRT] [KEY]`
219192

220193
update an SSL certificate on an app
221194

222195
```
223196
USAGE
224-
$ heroku certs:update CRT KEY
197+
$ heroku certs:update [CRT] [KEY]
225198
226199
OPTIONS
227-
-a, --app=app (required) app to run command against
228-
-r, --remote=remote git remote of app to use
229-
--bypass bypass the trust chain completion step
230-
--endpoint=endpoint endpoint to update
231-
--name=name name to update
232-
233-
DESCRIPTION
234-
Note: certificates with PEM encoding are also valid
200+
--0 bypass the trust chain completion step
201+
--2 name to update
202+
--3 endpoint to update
235203
236204
EXAMPLES
237205
$ heroku certs:update example.com.crt example.com.key
238206
239207
Certificate Intermediary:
240208
$ heroku certs:update intermediary.crt example.com.crt example.com.key
241209
```
210+
211+
_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/update.js)_

0 commit comments

Comments
 (0)