- Prerequisites
- Installation
- Configuration
- Integrations
- Lenses SQL
- Tools
- Release notes
5.0
- Prerequisites
- Installation
- Configuration
- Integrations
- Lenses SQL
- Tools
- Release notes
Connections
The CLI can manage connections.
Viewing connections
lenses-cli connections
Viewing connection details
lenses-cli connections get --name connection-name
Creating a connection
lenses-cli connections create \
--name SlackConnection \
--template-name Slack \
--tag slack \ --tag \connection --tag slack-connection \
--connection-config '[{"key":"webhookUrl","value":"https://hooks.slack.com/"}]'
Consider using the new Lenses CLI provision sub-command for managing dynamic connections.
Update a connection
lenses-cli connections update --name SlackConnection \
--tag slack --tag connection --tag slack-connection \
--connection-config '[{"key":"webhookUrl","value":"https://hooks.slack.com/"}]'
Delete a connection
lenses-cli connections delete --name SlackConnection