This package has been deprecated

Author message:

This plugin is deprecated, use @adobe/aio-cli-plugin-auth

@adobe/aio-cli-plugin-jwt-auth

2.0.4 • Public • Published

oclif Version Downloads/week Build Status License Greenkeeper badge Codecov Coverage

aio-cli-plugin-jwt-auth

JWT Auth Plugin for the Adobe I/O CLI

Usage

$ npm install -g @adobe/aio-cli-plugin-jwt-auth
$ ./bin/run COMMAND
running command...
$ ./bin/run (-v|--version|version)
@adobe/aio-cli-plugin-jwt-auth/2.0.4 darwin-x64 node-v10.18.1
$ ./bin/run --help [COMMAND]
USAGE
  $ ./bin/run COMMAND
...

Commands

./bin/run jwt-auth:access-token

get the access token for the Adobe I/O Console

USAGE
  $ ./bin/run jwt-auth:access-token

OPTIONS
  -b, --bare                   print access token only
  -f, --force                  get a new access token
  -p, --passphrase=passphrase  the passphrase for the private-key
  --no-prompt                  do not prompt for passphrase

DESCRIPTION
  You must have a 'jwt-auth' key in your config, that has all your config data in .json format:
       aio config set jwt-auth --json --file path/to/your/config.json

EXAMPLE

  jwt_auth:
  {
     "client_id": "...",
     "client_secret": "..."
     "jwt_payload": {
       "iss": "...",
       "sub": "...",
       "...": true,
       "aud": "..."
     },
     "jwt_private_key": "/path/to/cert"
  }

See code: src/commands/jwt-auth/access-token.js

Dependencies (7)

Dev Dependencies (19)

Package Sidebar

Install

npm i @adobe/aio-cli-plugin-jwt-auth

Weekly Downloads

1

Version

2.0.4

License

Apache-2.0

Unpacked Size

26.3 kB

Total Files

7

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