@adobe/aio-cli-plugin-certificate

2.0.1 • Public • Published

Version Downloads/week Node.js CI Codecov Coverage

Usage

aio-cli-plugin-certificate

Adobe I/O CLI commands to generate and validate private certs, and public key pairs for use with Adobe I/O Console

Usage

$ aio plugins:install -g @adobe/aio-cli-plugin-certificate
$ # OR
$ aio discover -i
$ aio certificate --help

Commands

aio certificate

Generate, fingerprint, or verify a certificate for use with Adobe I/O

USAGE
  $ aio certificate

DESCRIPTION
  Generate, fingerprint, or verify a certificate for use with Adobe I/O

See code: src/commands/certificate/index.js

aio certificate fingerprint FILE

Compute the fingerprint of a public key certificate for use with Adobe I/O

USAGE
  $ aio certificate fingerprint FILE

ARGUMENTS
  FILE  file path to certificate to fingerprint

DESCRIPTION
  Compute the fingerprint of a public key certificate for use with Adobe I/O

See code: src/commands/certificate/fingerprint.js

aio certificate generate

Generate a new private/public key pair

USAGE
  $ aio certificate generate [--keyout <value>] [--out <value>] [-n <value>] [-c <value>] [-s <value>] [-l <value>] [-o
    <value>] [-u <value>] [--days <value>]

FLAGS
  -c, --country=<value>       Country Name
  -l, --locality=<value>      Locality, or city name
  -n, --name=<value>          [default: selfsign.localhost] Common Name: typically a host domain name, like
                              www.mysite.com
  -o, --organization=<value>  Organization name
  -s, --state=<value>         State or Province
  -u, --unit=<value>          Organizational unit or department
  --days=<value>              [default: 365] Number of days the certificate should be valid for. (Max 365)
  --keyout=<value>            [default: private.key] file to send the key to
  --out=<value>               [default: certificate_pub.crt] output file

DESCRIPTION
  Generate a new private/public key pair
  Generate a self-signed certificate to enable https:// on localhost or signing jwt payloads for interacting with Adobe
  services.

See code: src/commands/certificate/generate.js

aio certificate verify FILE

Verify a certificate for use with Adobe I/O

USAGE
  $ aio certificate verify FILE [--days <value>]

ARGUMENTS
  FILE  file path to certificate to verify

FLAGS
  --days=<value>  +- is certificate valid in --days

DESCRIPTION
  Verify a certificate for use with Adobe I/O
  Verifies that the certificate is valid, and/or will not expire in [--days] days from now.

See code: src/commands/certificate/verify.js

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

Dependents (5)

Package Sidebar

Install

npm i @adobe/aio-cli-plugin-certificate

Weekly Downloads

4,865

Version

2.0.1

License

Apache-2.0

Unpacked Size

34.9 kB

Total Files

9

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe