shell-plugins icon indicating copy to clipboard operation
shell-plugins copied to clipboard

Feat: Add redli CLI plugin

Open Alejo47 opened this issue 1 year ago • 0 comments

Overview

Added support for Redis CLI tool redli by IBM

Type of change

  • [x] Created a new plugin
  • [ ] Improved an existing plugin
  • [ ] Fixed a bug in an existing plugin
  • [ ] Improved contributor utilities or experience

How To Test

  1. Prepare a Redis instance (Only one required) a. Via docker: docker run --rm -it --name=redis -p 6379:6379 redis b. Via system installation: redis-server c. Via a 3rd party service like Upstash
  2. Create new Database item in 1Password a. Set type to Redis (Optional) b. Save connection information (Only one required)
    1. Add a uri field containing the connection string in the following format redis://[<USERNAME>[:<PASSWORD>]]@<HOST>[:<PORT>]
    2. Add server, port, database(if unknown leave at 0), username(Optional), password(Optional) and protocol(rediss for secure connections, redis for non-secure connections)
  3. Install redli a. Instructions available here: https://github.com/IBM-Cloud/redli
  4. Configure the plugin: op plugin init -- redli
  5. Validate connection works by running redli via the 1Password plugin

Changelog

  • Added support for Redis CLI tool redli by IBM

Alejo47 avatar Feb 21 '24 11:02 Alejo47