Skip to content

Commit

Permalink
fix: updated @oclif/plugin-legacy to fix certs commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jun 20, 2018
1 parent b0a155f commit 6fa245e
Show file tree
Hide file tree
Showing 4 changed files with 1,188 additions and 110,273 deletions.
140 changes: 55 additions & 85 deletions docs/certs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
a topic for the ssl plugin

* [`heroku certs`](#heroku-certs)
* [`heroku certs:add CRT KEY`](#heroku-certsadd-crt-key)
* [`heroku certs:add [CRT] [KEY]`](#heroku-certsadd-crt-key)
* [`heroku certs:auto`](#heroku-certsauto)
* [`heroku certs:auto:disable`](#heroku-certsautodisable)
* [`heroku certs:auto:enable`](#heroku-certsautoenable)
* [`heroku certs:auto:refresh`](#heroku-certsautorefresh)
* [`heroku certs:chain`](#heroku-certschain)
* [`heroku certs:generate DOMAIN`](#heroku-certsgenerate-domain)
* [`heroku certs:generate [DOMAIN]`](#heroku-certsgenerate-domain)
* [`heroku certs:info`](#heroku-certsinfo)
* [`heroku certs:key`](#heroku-certskey)
* [`heroku certs:remove`](#heroku-certsremove)
* [`heroku certs:rollback`](#heroku-certsrollback)
* [`heroku certs:update CRT KEY`](#heroku-certsupdate-crt-key)
* [`heroku certs:update [CRT] [KEY]`](#heroku-certsupdate-crt-key)

## `heroku certs`

Expand All @@ -24,29 +24,22 @@ list SSL certificates for an app
```
USAGE
$ heroku certs
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
```

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

## `heroku certs:add [CRT] [KEY]`

add an SSL certificate to an app

```
USAGE
$ heroku certs:add CRT KEY
$ heroku certs:add [CRT] [KEY]
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
--bypass bypass the trust chain completion step
--domains=domains domains to create after certificate upload
--type=type type to create, either 'sni' or 'endpoint'
DESCRIPTION
Note: certificates with PEM encoding are also valid
--0 bypass the trust chain completion step
--1 type to create, either 'sni' or 'endpoint'
--2 domains to create after certificate upload
EXAMPLES
$ heroku certs:add example.com.crt example.com.key
Expand All @@ -55,101 +48,87 @@ EXAMPLES
$ heroku certs:add intermediary.crt example.com.crt example.com.key
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/add.js)_

## `heroku certs:auto`

show ACM status for an app

```
USAGE
$ heroku certs:auto
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto.js)_

## `heroku certs:auto:disable`

disable ACM for an app

```
USAGE
$ heroku certs:auto:disable
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto/disable.js)_

## `heroku certs:auto:enable`

enable ACM status for an app

```
USAGE
$ heroku certs:auto:enable
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto/enable.js)_

## `heroku certs:auto:refresh`

refresh ACM for an app

```
USAGE
$ heroku certs:auto:refresh
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/auto/refresh.js)_

## `heroku certs:chain`

print an ordered & complete chain for a certificate

```
USAGE
$ heroku certs:chain
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
```

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

## `heroku certs:generate [DOMAIN]`

generate a key and a CSR or self-signed certificate

```
USAGE
$ heroku certs:generate DOMAIN
$ heroku certs:generate [DOMAIN]
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
--area=area sub-country area (state, province, etc.) of owner
--city=city city of owner
--country=country country of owner, as a two-letter ISO country code
--keysize=keysize RSA key size in bits (default: 2048)
--now do not prompt for any owner information
--owner=owner name of organization certificate belongs to
--selfsigned generate a self-signed certificate instead of a CSR
--subject=subject specify entire certificate subject
DESCRIPTION
Generate a key and certificate signing request (or self-signed certificate)
for an app. Prompts for information to put in the certificate unless --now
is used, or at least one of the --subject, --owner, --country, --area, or
--city options is specified.
--0 generate a self-signed certificate instead of a CSR
--1 RSA key size in bits (default: 2048)
--2 name of organization certificate belongs to
--3 country of owner, as a two-letter ISO country code
--4 sub-country area (state, province, etc.) of owner
--5 city of owner
--6 specify entire certificate subject
--7 do not prompt for any owner information
EXAMPLES
$ heroku certs:generate example.com
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/generate.js)_

## `heroku certs:info`

show certificate information for an SSL certificate
Expand All @@ -159,12 +138,12 @@ USAGE
$ heroku certs:info
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
--endpoint=endpoint endpoint to check info on
--name=name name to check info on
--0 name to check info on
--1 endpoint to check info on
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/info.js)_

## `heroku certs:key`

print the correct key for the given certificate
Expand All @@ -173,18 +152,12 @@ print the correct key for the given certificate
USAGE
$ heroku certs:key
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
DESCRIPTION
You must pass one single certificate, and one or more keys.
The first key that signs the certificate will be printed back.
EXAMPLES
$ heroku certs:key example.com.crt example.com.key
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/key.js)_

## `heroku certs:remove`

remove an SSL certificate from an app
Expand All @@ -194,12 +167,12 @@ USAGE
$ heroku certs:remove
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
--endpoint=endpoint endpoint to remove
--name=name name to remove
--1 name to remove
--2 endpoint to remove
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/remove.js)_

## `heroku certs:rollback`

rollback an SSL certificate from an app
Expand All @@ -209,33 +182,30 @@ USAGE
$ heroku certs:rollback
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
--endpoint=endpoint endpoint to rollback
--name=name name to rollback
--1 name to rollback
--2 endpoint to rollback
```

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

## `heroku certs:update [CRT] [KEY]`

update an SSL certificate on an app

```
USAGE
$ heroku certs:update CRT KEY
$ heroku certs:update [CRT] [KEY]
OPTIONS
-a, --app=app (required) app to run command against
-r, --remote=remote git remote of app to use
--bypass bypass the trust chain completion step
--endpoint=endpoint endpoint to update
--name=name name to update
DESCRIPTION
Note: certificates with PEM encoding are also valid
--0 bypass the trust chain completion step
--2 name to update
--3 endpoint to update
EXAMPLES
$ heroku certs:update example.com.crt example.com.key
Certificate Intermediary:
$ heroku certs:update intermediary.crt example.com.crt example.com.key
```

_See code: [@heroku-cli/plugin-certs-v5](https://github.com/heroku/cli/blob/v7.4.2/commands/certs/update.js)_
Loading

0 comments on commit 6fa245e

Please sign in to comment.