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 |
Display MSP details | |
Refresh local MSP data from server | |
| View and manage MSP licenses |
Creates Managed Company | |
| Removes Managed Company |
| Modify Managed Company licenses |
Generate MSP Billing Reports | |
Generate MSP Legacy Report | |
Switch context to run commands as a managed company | |
Switch context to run commands as MSP | |
Convert an enterprise node into a managed company | |
Copy role enforcements from MSP to MCs | |
Options for managed MSPs. Edit licenses and view msp and mc details. |
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:
Show MSP Information
Example Output:
msp-down command
Command: msp-down
or md
Detail: Refresh local MSP data from server
Examples:
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:
Show a list of MSP plans and Licenses
Add 4 seats to the plan of the company with and ID of 3984
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:
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-update
Command: msp-update
or mu
Details: Modify/Update Managed Company license
Switches:
--node
<NODE> Node name of Node ID
--plan
or -p
<{business, businessPlus, enterprise, enterprisePlus}> MC plan or product
--seats or -s <NUMBER OF SEATS> number of seats to add
--file-plan
or -f
<FILE_PLAN> File storage plan: 100gb, 1tb, 10tb
File Plan Options:
100gb
1tb
10tb
--add-addon
or -aa
[ADDON NAME] allow the MSP to use the addon
--remove-addon
or -ra
[ADDON NAME] remove the addon from the msp
Addon options:
compliance_report
enterprise_audit_and_reporting
secrets_manager
enterprise_breach_watch
onboarding_and_certificate
msp_service_and_support
connection_manager
chat
Parameters:
Managed Company name or ID
Example:
msp-billing-report
Command: msp-billing-report
Details: Generate MSP Billing Reports
Switches:
--month YYYY-MM.
Month for billing report: 2022-02
-d
or --show-date.
Breakdown report by date
-c
or --show-company.
Breakdown report by managed company
--format {json, csv, table}
format to return the list as
--output [filename]
if supplied, the output is saved to the given file
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:
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:
Change context to MSP
msp-convert-node command
Command: msp-convert-node
Detail: Convert an enterprise node into a managed company
Remove SSO provisioning before converting an enterprise node into a managed company
Examples:
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:
distributor commands
The distributor command is available to distributor accounts which manage MSPs.
The distributor command allows you to: list manage MSPs and their MCs, manage and edit the licenses available to MSPs, and view the overall usage of all MSPs being managed.
Sub Commands:
info
View all managed MSPs
msp-info
View information and usage of a specified MSP
license
View or edit the license options for a specified MSP
distributor info
Command: distributor info
Detail: Lists all managed MSPs
Switches:
--reload
reload the list of MSPs
--format
{json, csv, table} format to return the list as
--output
[filename] if supplied, the output is saved to the given file
--mc-details
show the managed companies under each MSP
Examples:
List manage MSPs
Save a report of all managed MSPs and their managed companies to a file
distributor msp-info
Command: distributor msp-info <MSP NAME>
Detail: View information of a specified MSP
Parameters: MSP name or ID
Switches:
--reload refresh MSP details
--format {json, csv, table} format to return the information as
--output [filename] if supplied, the output is saved to the given file
Examples:
See information about MSP "Bob's MSP"
distributor license
Command: distributor license [MSP NAME, ID, pattern, ...]
Detail: View or edit license availability for a MSP
Parameter: MSP name or ID
Switches:
--add-product
[PRODUCT NAME] add a product as an offering for the MSP
--remove-product
[PRODUCT NAME] remove a product as an offering of the MSP
Product options:
business
enterprise
enterprise_plus
--add-addon
[ADDON NAME] allow the MSP to use the addon
--remove-addon
[ADDON NAME] remove the addon from the msp
Addon options:
compliance_report
enterprise_audit_and_reporting
secrets_manager
enterprise_breach_watch
onboarding_and_certificate
msp_service_and_support
connection_manager
chat
--max-file-plan
[AMOUNT] set the maximum file plan the MSP can offer
--allocate-unlimited
{true, false} if true, allow MSP to allocate unlimited licenses
Examples:
add the business product to the available offerings of "Bob's MSP"
Set the maximum file plan offering of "My MSP" and MSP #3456 to 1 Terabyte
Turn off the unlimited licenses for all managed MSPs
Last updated