@heroku-cli/plugin-mtls
heroku mtls cli
Last updated 2 months ago by rmanrique .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @heroku-cli/plugin-mtls 
SYNC missed versions from official npm registry.

heroku-mtls-cli

heroku mtls cli

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g @heroku-cli/plugin-mtls
$ heroku COMMAND
running command...
$ heroku (-v|--version|version)
@heroku-cli/plugin-mtls/0.7.0 darwin-x64 node-v10.16.0
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...

Commands

heroku data:mtls [DATABASE]

get the status of MTLS for your database

USAGE
  $ heroku data:mtls [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against

EXAMPLE
  $ heroku data:mtls postgresql-sushi-12345

See code: src/commands/data/mtls/index.ts

heroku data:mtls:certificates [DATABASE]

get the certificates for your MTLS enabled database

USAGE
  $ heroku data:mtls:certificates [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against

EXAMPLE
  $ heroku data:mtls:ip-rules postgresql-sushi-12345

See code: src/commands/data/mtls/certificates/index.ts

heroku data:mtls:certificates:create [DATABASE]

create a new certificate for your MTLS enabled database

USAGE
  $ heroku data:mtls:certificates:create [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against

EXAMPLE
  $ heroku data:mtls:certificates:create postgresql-sushi-12345

See code: src/commands/data/mtls/certificates/create.ts

heroku data:mtls:certificates:delete [DATABASE]

delete a specific certificate for your MTLS enabled database

USAGE
  $ heroku data:mtls:certificates:delete [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against
  --id=id        (required) id of certificate

EXAMPLE
  $ heroku data:mtls:certificates:delete postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"

See code: src/commands/data/mtls/certificates/delete.ts

heroku data:mtls:certificates:download [DATABASE]

download your certificate bundle for your mTLS database

USAGE
  $ heroku data:mtls:certificates:download [DATABASE]

OPTIONS
  -a, --app=app    (required) app to run command against
  --dir=dir        directory to download files to. defaults to HOME:/.postgresql
  --id=id          ID of certificate to download
  --prefix=prefix  (required) prefix to put in front of downloaded file names

EXAMPLES
  $ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f"
  $ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f" --dir 
  "./folder"
  $ heroku data:mtls:certificates:download postgresql-sushi-12345 --id "3559a4df-2c82-4473-86cf-181310a6ef4f --prefix 
  "prefix_"

See code: src/commands/data/mtls/certificates/download.ts

heroku data:mtls:certificates:get [DATABASE]

get a specific certificate for your MTLS enabled database

USAGE
  $ heroku data:mtls:certificates:get [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against
  --id=id        (required) id of IP Rule

EXAMPLE
  $ heroku data:mtls:certificates:create postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"

See code: src/commands/data/mtls/certificates/get.ts

heroku data:mtls:create [DATABASE]

enable MTLS for your database

USAGE
  $ heroku data:mtls:create [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against

EXAMPLE
  $ heroku data:mtls:create postgresql-sushi-12345

See code: src/commands/data/mtls/create.ts

heroku data:mtls:destroy [DATABASE]

destroy MTLS configuration on your database

USAGE
  $ heroku data:mtls:destroy [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against

ALIASES
  $ heroku data:mtls:delete

EXAMPLE
  $ heroku data:mtls:destroy postgresql-sushi-12345

See code: src/commands/data/mtls/destroy.ts

heroku data:mtls:ip-rules [DATABASE]

get the IP Rules for your MTLS enabled database

USAGE
  $ heroku data:mtls:ip-rules [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against

EXAMPLE
  $ heroku data:mtls:ip-rules postgresql-sushi-12345

See code: src/commands/data/mtls/ip-rules/index.ts

heroku data:mtls:ip-rules:create [DATABASE]

get the IP Rules for your MTLS enabled database

USAGE
  $ heroku data:mtls:ip-rules:create [DATABASE]

OPTIONS
  -a, --app=app              (required) app to run command against
  --cidr=cidr                (required)
  --description=description

EXAMPLE
  $ heroku data:mtls:ip-rules:create postgresql-sushi-12345 --cidr "1.2.3.4/32" --description "home IP address"

See code: src/commands/data/mtls/ip-rules/create.ts

heroku data:mtls:ip-rules:delete [DATABASE]

delete a specific IP Rule for your MTLS enabled database

USAGE
  $ heroku data:mtls:ip-rules:delete [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against
  --cidr=cidr    cidr of IP Rule
  --id=id        id of IP Rule

EXAMPLE
  $ heroku data:mtls:ip-rules:delete postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"

See code: src/commands/data/mtls/ip-rules/delete.ts

heroku data:mtls:ip-rules:get [DATABASE]

get the a specific IP Rule for your MTLS enabled database

USAGE
  $ heroku data:mtls:ip-rules:get [DATABASE]

OPTIONS
  -a, --app=app  (required) app to run command against
  --id=id        (required) id of IP Rule

EXAMPLE
  $ heroku data:mtls:ip-rules:get postgresql-sushi-12345 --id "1862ec85-fdc1-47b3-924e-a91d26ca3a7c"

See code: src/commands/data/mtls/ip-rules/get.ts

Current Tags

  • 0.7.0                                ...           latest (2 months ago)

8 Versions

  • 0.7.0                                ...           2 months ago
  • 0.6.0                                ...           2 months ago
  • 0.5.0                                ...           2 months ago
  • 0.4.0                                ...           2 months ago
  • 0.3.0                                ...           2 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
  • 0.0.1                                ...           3 months ago

Copyright 2014 - 2016 © taobao.org |