MSP Management Commands
Commands specific to Managed Service Provider (MSP) tenants

Commands

Keeper Command Reference

Whether using the interactive shell, CLI or JSON config file, Keeper supports the following commands, each command supports additional parameters and options.
To get help on a particular command, run:
help <command>
MSP Commands
Command
Explanation
msp-info or mi
Display MSP details
msp-down or md
Refresh local MSP data from server
msp-license or ml
View and manage MSP licenses
msp-add or ma
Creates Managed Company
msp-remove or mrm
Removes Managed Company
switch-to-mc
Switch context to run commands as a managed company
switch-to-msp
Switch context to run commands as MSP
msp-convert-node
Convert an enterprise node into a managed company
msp-copy-role
Copy role enforcements from MSP to MCs
MSP Commands require a MSP type Keeper Account and MSP Admin privileges

msp-info command

Command: msp-info or mi
Detail: Display MSP details such as licenses and managed companies
Examples:
msp-info
  1. 1.
    Show MSP Information
Example Output:
MSP Plans and Licenses
-----------------------
# Plan Id Available Licenses Total Licenses Stash
--- -------------- -------------------- ---------------- -------
1 business 6 10 10
2 businessPlus 8 10 10
3 enterprise 2 10 10
4 enterprisePlus 6 10 10
# ID Name Plan Allocated Active
--- ---- ----------- -------------- ----------- --------
1 3861 Company 1 businessPlus 2 2
2 3862 Company 2 enterprise 0 0
3 3900 Company 3 business 2 0
4 3877 Company 4 enterprisePlus 4 0
5 3863 Company 5 enterprise 8 0
6 3875 Company 6 business 2 0

msp-down command

Command: msp-down or md
Detail: Refresh local MSP data from server
Examples:
msp-down
  1. 1.
    Download current MSP data from the Keeper Cloud

msp-license command

Command: msp-license or ml
Detail: View and Manage MSP licenses
Switches:
-a, --action <{add, reduce, usage}> Action to perform on the license
  • add - add seats to the license
  • reduce - remove seats from the license
  • usage - see the number of seats used in the license (default)
    • Displays a table showing License Plan ID, available licenses, total allocated licenses, and Stash
--mc <MANAGED COMPANY NAME OR ID> managed company to perform action on
  • note: see a list of managed company names and ids with the msp-info command
-s, --seats <NUMBER OF SEATS> number of seats to add or reduce
example:
msp-license
msp-license --action add --seats 4 --mc 3984
ml --mc 3861
  1. 1.
    Show a list of MSP plans and Licenses
  2. 2.
    Add 4 seats to the plan of the company with and ID of 3984
  3. 3.
    Show a table of the license usage of the company with ID of 3861

msp-add

Command: msp-add
Details: Creates Managed Company
Switches:
--plan or -p <{business, businessPlus, enterprise, enterprisePlus}> MC plan or product
--seats or -s <NUMBER OF SEATS> number of seats to add
Parameters:
Managed Company name.
Example:
msp-add --seats=10 --plan=enterprise "MC Name"
When a new managed company is created, Commander saves the new mc id as an environment variable last_mc_id See the documentation below about using this variable

msp-remove

Command: msp-remove
Details: Removes Managed Company
Parameters:
Managed Company name or ID
Example:
msp-remove 23456
msp-remove "MC Name"

switch-to-mc command

Command: switch-to-mc
Detail: Change context to the given managed company, all commands will be run for that company
Parameters:
Managed company ID
note: see a list of managed company IDs with the msp-info command
Examples:
switch-to-mc 3987
  1. 1.
    Change context to managed company with ID 3987

switch-to-msp command

Command: switch-to-msp
Detail: Change context back to MSP if previously switched to managed company context
Examples:
switch-to-msp
  1. 1.
    Change context to MSP

msp-convert-node command

Command: msp-convert-node
Detail: Convert an enterprise node into a managed company
Examples:
msp-convert-node <NODE ID or NAME>
  1. 1.
    convert the given node into a managed company

msp-copy-role command

Command: msp-copy-role
Detail: Copy role enforcements from MSP to MCs
msp-copy-role <MC NAME> --role <ROLE NAME>
Parameters: MC name (Required) the name of the MC to copy a role to
Switches:
--role <ROLE NAME> the role to copy
Examples:
msp-copy-role SmithCoMC --role="Desktop Users"
Export as PDF
Copy link
On this page
Commands
msp-info command
msp-down command
msp-license command
msp-add
msp-remove
switch-to-mc command
switch-to-msp command
msp-convert-node command
msp-copy-role command