Skip to content

Conversation

@amangalampalli-ks
Copy link
Contributor

Add service-docker-setup and slack-app-setup commands

Overview

Automates Commander Service Mode and Slack App Docker deployment setup, eliminating manual configuration steps.

New Commands

service-docker-setup

  • Automates KSM app and client device creation
  • Creates shared folder and config record with service credentials
  • Generates docker-compose.yml with user-specified configuration

slack-app-setup

  • Extends service-docker-setup for Slack App integration
  • Prompts for Slack credentials (app token, bot token, signing secret, channel ID)
  • Stores all credentials as custom fields in Vault records
  • Updates docker-compose.yml with Slack App service configuration

Key Changes

  • Eliminated .env dependency: All secrets stored in Vault, accessed via KSM
  • Single KSM config: Both Commander and Slack App use the same KSM authentication
  • Auto vault updates: Service URL and API key automatically added as custom fields to config record
  • Interactive setup: Step-by-step prompts for all configuration parameters

* service-docker-setup and slack-app-setup initial commit

* Update unit-test cases

* Update and refactor code based on PR comments

* Add validation checks for each prompt in service configuration via docker

* Update slack-app-setup model, yaml label and service config prompts

* Update record type to login instead of server

---------

Co-authored-by: pvagare-ks <pvagare@keepersecurity.com>
Co-authored-by: Micah Roberts <mroberts@keepersecurity.com>
@amangalampalli-ks amangalampalli-ks self-assigned this Jan 15, 2026
@amangalampalli-ks amangalampalli-ks marked this pull request as ready for review January 15, 2026 13:37
@craiglurey craiglurey merged commit 53062ed into release Jan 15, 2026
4 checks passed
@amangalampalli-ks amangalampalli-ks deleted the feature/automate-docker-and-slack-setup branch January 20, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants