apimtoken
single line CLI to get an accses token from Wso2-API_M
Last updated 4 months ago by vimukthi96 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apimtoken 
SYNC missed versions from official npm registry.

apimtoken

single line API to get an accses token from API_M

oclif Version Downloads/week License

Pre-requisite

  • node.js
  • wso2-APIM 2.7 , 3.0 , 3.1

Installation

You can install apimtoken either through npm or by cloning the code from this GitHub repo. This README covers the installation steps with npm.

  1. Run the following command in the terminal
$ npm install -g apimtoken

Runnig the Cli-Tool

Make sure Wso2 API manager is up and running

Then run the following command to retrive an accsess token

If you are using a version below 3.1 please metion the version under flag ex- -a=2.7

Run apimtoken -h for help

Example


$ apimtoken -s={ scopes } -n={ username } -p={ password } -u={ URL } -a={ apim Version }

$ apimtoken -s=apim:apim_create -n=admin -p=admin -u=https://10.100.5.244:9443 -a=3.1 

Development Guide

Clone or download the repository

Run npm install to install all the required dependencies

Credits - oclif framework https://oclif.io

Current Tags

  • 0.0.7                                ...           latest (4 months ago)

7 Versions

  • 0.0.7                                ...           4 months ago
  • 0.0.6                                ...           4 months ago
  • 0.0.5                                ...           4 months ago
  • 0.0.4 [deprecated]           ...           5 months ago
  • 0.0.3 [deprecated]           ...           5 months ago
  • 0.0.2 [deprecated]           ...           5 months ago
  • 0.0.1 [deprecated]           ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |