kongcl - a CLI for kong admin interface.
Project description
A command line client for kong admin API
This tool ease kong management like getting routes for service name (not id):
kongctl -s https://localhost:8001 list routes -s example-service
1ba43640-6977-4d6a-9804-6e0032d77bb1: example-service
example.com/
d091d9c4-fde8-4982-b984-8376bd544aaf: example-service
example.com/api/v1
Installation
brew tap kepkin/kongctl
brew install kongctl
or
pip3 install kongctl
Quick guide to usage
mkdir ~/.kongctl
echo '{
"server": "my-kong.url:8001",
"auth": {
"type": "basic",
"user": "user",
"password": "pass"
}
}' > ~/.kongctl/qa-env
kong -c qa-env list services
TODO
Support for OIDC authorization
Get stubs for create operation
Support all key-auth like plugins
Support update from cmd args
Support yaml
Sort by id?
list command filter option
Autocomplete
Add images instead of code in README (to show color support)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kongctl-0.2.0.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for kongctl-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8eea01668050019f40e62d43a1d3c4c98425c6492b706dcab9383d1ef1af3f |
|
MD5 | bd3f0ddaca2aa3d8787f7ee31ed905a7 |
|
BLAKE2b-256 | 0147f89864fe675aa5b721f469a9f6b81afca5c3afbdd9ec7c809292388122c7 |