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

@amangalampalli-ks amangalampalli-ks self-assigned this Jan 12, 2026
@amangalampalli-ks amangalampalli-ks changed the title service-docker-setup and slack-app-setup initial commit Automate Docker-Service Mode & Slack app configuration Jan 12, 2026
@amangalampalli-ks amangalampalli-ks marked this pull request as ready for review January 12, 2026 15:38
@amangalampalli-ks amangalampalli-ks force-pushed the feature/automate-docker-and-slack-setup-int-review branch 2 times, most recently from 6701595 to a0c962b Compare January 13, 2026 14:44
@amangalampalli-ks amangalampalli-ks force-pushed the feature/automate-docker-and-slack-setup-int-review branch from e1ada9b to 835f21c Compare January 15, 2026 13:22
@amangalampalli-ks amangalampalli-ks merged commit 59d0c67 into feature/automate-docker-and-slack-setup Jan 15, 2026
4 checks passed
craiglurey pushed a commit that referenced this pull request Jan 15, 2026
* 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>
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.

5 participants