Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

volos-redis-manager-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

volos-redis-manager-cli

A command-line interface to the Volos Redis Management tool

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

build status

Volos-Redis-Manager-CLI

A command-line interface to the Volos Redis Management tool.

The Volos tools provide a redis implementation to handle token authorisation, quotas etc. To use it, one must create developer and application accounts in the keystore. This had to be done programmatically.. until now.

Now you can create Volos credentials from the command line using this handy little tool.

Installation

npm install volos-redis-manager-cli

Run the tests

WARNING The tests clear out the redis database so that each test batch starts with a fresh database.

Redis must be running. If it is listening on the default port,

 npm test
 

will run the tests. Otherwise specify the redis in the config/default.yaml file:

 apiEncryptionKey: abcdefg123456
 redis-host: 127.0.0.1
 redis-port: 30876
 redis-db: 8

WARNING The tests clear out the redis database so that each test batch starts with a fresh database. To protect existing data specify the redis DB to use with the REDIS_TESTDB variable, or set the corresponsind value in the config/default.yaml file.

You can also test against a different a127 app by specifying A127_APPROOT, but this shouldn't make any difference -- the specific app data is irrelevant for the tests.

Usage

Usage: [node-env options] node manage.js [options] [command]

Commands:

CommandParametersDescription
addDevAdd a new developer account
getDev[id]Get developer account info
delDev[id]Delete developer account info
addAppAdd a new Application
getDevApp[email] [appName]Get an application based on user email and Application name

Options:

ShortLongDescription
-h--helpoutput usage information
-V--versionoutput the version number

All parameters following the commands are optional. If they are omitted, the user will be prompted to supply the data. If you are not running the module from your swagger app's root directory, you can specify it with the A127_ROOT environment variable.

Keywords

FAQs

Package last updated on 04 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc