1Password / shell-plugins

Seamless authentication for every tool in your terminal.
https://developer.1password.com/docs/cli/shell-plugins/
MIT License
506 stars 163 forks source link

Feat: Add redli CLI plugin #432

Open Alejo47 opened 4 months ago

Alejo47 commented 4 months ago

Overview

Added support for Redis CLI tool redli by IBM

Type of change

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