@adobe/aio-cli-plugin-jwt-auth
JWT Auth Plugin for the Adobe I/O CLI
Last updated 6 months ago by shazron .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @adobe/aio-cli-plugin-jwt-auth 
SYNC missed versions from official npm registry.

Build Status Build status

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/1.0.9 darwin-x64 node-v8.11.2
$ ./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
  -p, --passphrase=passphrase  the passphrase for the private-key

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 path/to/your/config.json --file --mime-type=application/json

EXAMPLE

  jwt_auth:
  {
     "client_id": "...",
     "client_secret": "...",
     "token_exchange_url": "...",
     "jwt_payload": {
       "iss": "...",
       "sub": "...",
       "...": true,
       "aud": "..."
     },
     "jwt_private_key": [
       "-----BEGIN RSA PRIVATE KEY-----",
       "...",
       "...",
       "...==",
       "-----END RSA PRIVATE KEY-----"
     ],
     "console_get_orgs_url":"...",
     "console_get_namespaces_url":"..."
  }

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

Current Tags

  • 1.0.9                                ...           latest (6 months ago)

4 Versions

  • 1.0.9                                ...           6 months ago
  • 1.0.8                                ...           9 months ago
  • 1.0.7                                ...           10 months ago
  • 1.0.6                                ...           10 months ago

Copyright 2014 - 2016 © taobao.org |