Wondering what’s next for npm?Check out our public roadmap! »

    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

    Keywords

    Install

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

    DownloadsWeekly Downloads

    13

    Version

    2.0.4

    License

    Apache-2.0

    Unpacked Size

    26.3 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar