Skip to main content
This guide covers the initial setup and verification of SambaRack Manager software, which initializes your configuration directory, generates encryption keys, and creates the necessary files. The complete setup process is:
  1. Install SambaRack Manager software
  2. Initial setup and verification (this page)
  3. Add SambaRack to the SambaRack Manager inventory
  4. Configure device credentials in SambaRack Manager

Initial setup

Follow these steps to initialize and verify your SambaRack Manager configuration.

Step 1. Initialize configuration

Run the initialization command to set up snctl:
This interactive wizard prompts you for:
  • Folder location (default: ~/.snctl): Where to store configuration files. This directory is created if it doesn’t exist.
  • Service account (optional): Service account for GCS access.
  • Logs location (optional): Where to store logs.
The initialization aborts if the provided folder location already contains configuration files.
After completion, your configuration directory contains:

Step 2. Set environment variable (if using custom location)

If you chose a custom folder location during snctl config init (different from ~/.snctl), you see the following note at the end:
Choose one of the following options: Option 1 - Set environment variable (recommended):
Option 2 - Use —snctl-dir flag with each command:
If the path used with either option doesn’t end with .snctl, the CLI automatically appends .snctl to it. For example, SNCTL_DIR=/home/user/myconfig uses /home/user/myconfig/.snctl.

Step 3. Verify the setup

After initialization, verify that everything is properly configured: Verify snctl is working:
Expected output:
Display current configuration:
This command displays key information from your .snctl/config.yaml. Expected output:
Running snctl config show with SambaRack Manager already installed updates the config.yaml to the currently running version if the versions don’t match.
Check created files:
Expected output:

Step 4. Verify required dependencies

Verify that all required dependencies are installed:
For more information, see snctl doctor.

Step 5. Secure your encryption key

Store your encryption key securely. The encryption key is required to:
  • Decrypt your secrets
  • Run commands on your infrastructure
Anyone with access to your encryption key can decrypt all stored secrets. Protect this file accordingly.

Security considerations

SambaRack Manager currently has the following security limitations that you should be aware of.

Access control

Anyone with access to snctl has full permissions to manage all infrastructure.
Currently, snctl does not support role-based access control (RBAC). This means:
  • All users with snctl access can perform all operations
  • No separation between read-only and write permissions
  • No distinction between monitoring and power operations
  • Network admins and SysAdmins cannot be separated

Audit and logging

Currently, snctl does not maintain an audit log of who performed what operations.

Next step

After completing the initial setup, add your racks to the SambaRack Manager inventory. See Rack Administration.