MSP Management Commands

Commands specific to Managed Service Provider (MSP) tenants

Overview

This subset of commands applies to MSP (Managed Service Provider) accounts. They allow you to manage managed companies (MCs), refresh MSP data, switch context between MSP and a managed company, and convert an enterprise node into a managed company.

Commands:

Managed Company List

Retrieves and displays a table of all managed companies for the MSP. Each row contains company name, ID, node, plan, storage, addons, seats allowed, seats used, and paused status. Available only when logged in with an MSP-licensed account.

chevron-rightDotNet CLIhashtag

Command: mc-list or msp-info or mi

Flags: None

Example:

My Vault> mc-list
  #  Company Name             Company ID  Node                 Plan             Storage       Addons                              Seats Allowed  Seats Used  Paused
---  -----------------------  ----------  -------------------  ---------------  ------------  ----------------------------------  -------------  ----------  ------
  1  21Jan                    311310      abc.                 Business         STORAGE_1TB                                                   0           0        
  2  ADD NO ADDON             310855      ace                  Enterprise       100GB                                                 Unlimited           1        
  3  ADD ON PREM              310858      abe.                 Business         100GB         Keeper Connection Manager (KCM)         Unlimited           0        
  4  ADD11                    310854      aid                  Business Plus    STORAGE_1TB   Advanced Reporting & Alerts Module      Unlimited           1        
                                                                                              BreachWatch                                                          
  5  ADD123                   310852      acme                 Business Plus    STORAGE_1TB   Advanced Reporting & Alerts Module      Unlimited           0        
                                                                                              BreachWatch                                                          
                                                                                              remote_browser_isolation                                             
  6  Adayaa Dev Inc           311536      abcde.               Business         STORAGE_10TB  keeper_endpoint_privilege_manager              10           0                                            
chevron-rightDotNet SDKhashtag

Managed company list can be obtained from the SDK when the enterprise loader includes ManagedCompanyData and the account has MSP license:

chevron-rightPowerCommanderhashtag

Command: Get-KeeperManagedCompany

Aliases: kmc

Flags:

Parameter
Description

Restriction

Show MSP permits: unlimited licenses, allowed products, allowed add-ons, max file plan. Output is list-style for readability.

Pricing

Show BI subscription pricing (products, add-ons, file plans) with currency and unit.

Filter

Optional partial filter on MC name; ignored when using -Restriction, -Pricing, or -ManagedCompany.

Detailed

Full MC list: company_id, company_name, node, node_name, plan, storage, addons (with seats), allocated, active; sorted by name.

ManagedCompany

Filter to a single MC by exact name or ID. Use with -Detailed for one MC’s details.

Format

table (default), json, or csv.

Output

If set, write results to this file path.

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Refresh Data

Refreshes local enterprise/MSP data from the server. Use after making changes or to ensure you have the latest managed company list and licenses.

chevron-rightDotNet CLIhashtag

Command: enterprise-get-data or msp-down or md

Flags: None

Example:

chevron-rightDotNet SDKhashtag

Function: Reload enterprise data (including MSP data when applicable)

chevron-rightPowerCommanderhashtag

Command: Sync-KeeperEnterprise

Use after switching MC/MSP or to refresh MSP data.

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Create

Creates a new managed company with the given name, plan, seats, and optional node, storage, and addons. The add-ons are mentioned here.

chevron-rightDotNet CLIhashtag

Command: mc-create <NAME> or msp-add or ma

Flags:

  • --product or -p : Product plan: business, businessPlus, enterprise, enterprisePlus

  • --seats or -s : Maximum number of seats (-1 = unlimited)

  • --node : Node name or ID (default: root)

  • --storage : Storage plan: 100GB, 1TB, 10TB

  • --addons : Comma-separated addons , e.g. secrets_manager,connection_manager:5

Example:

chevron-rightDotNet SDKhashtag

Function: CreateManagedCompany(ManagedCompanyOptions options)

Example:

chevron-rightPowerCommanderhashtag

Command: New-KeeperManagedCompany

Aliases: kamc

Flags:

Parameter
Description

Name

Display name of the new MC.

PlanId

License plan: business, businessPlus, enterprise, enterprisePlus.

MaximumSeats

Maximum number of seats (licenses).

Storage

File storage plan: 100GB, 1TB, 10TB.

Addons

Array of add-on names; use AddonName:Seats for add-ons with seats (e.g. connection_manager:5).

Node

Node name or ID to attach the MC to. If omitted, root node is used.

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Update

Updates an existing managed company’s name, product, seats, storage, node, or addons.

chevron-rightDotNet CLIhashtag

Command: mc-update <COMPANY> or msp-update or mu

Flags:

  • --name : New managed company name

  • --product or -p : Product plan

  • --seats or -s : Maximum seats

  • --node : Node name or ID

  • --storage : Storage plan

  • --addons : Comma-separated addons

Value: COMPANY = managed company name or ID (required)

Example:

chevron-rightDotNet SDKhashtag

Function: UpdateManagedCompany(int companyId, ManagedCompanyOptions options)

Example:

chevron-rightPowerCommanderhashtag

Command: Edit-KeeperManagedCompany

Aliases: kemc

Flags:

  • -Id : Managed company name or ID (required, position 0)

  • -Name : New name

  • -PlanId : Plan

  • -MaximumSeats : Seats

  • -Storage : 100GB, 1TB, 10TB

  • -Addons : Addons

  • -Node : Node name or ID

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Delete

Removes a managed company by name or ID.

chevron-rightDotNet CLIhashtag

Command: mc-delete <COMPANY> or msp-remove or mrm

Flags: None

Value: COMPANY = managed company name or ID (required)

Example:

chevron-rightDotNet SDKhashtag

Function: RemoveManagedCompany(int companyId)

Example:

chevron-rightPowerCommanderhashtag

Command: Remove-KeeperManagedCompany

Aliases: krmc

Flags:

  • Position 0 : Managed company name or ID (required)

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Login (Switch to MC)

Switches the CLI context to a managed company so that subsequent commands run in that MC’s context. DotNet CLI uses a dedicated MC context; PowerCommander sets the current managed company ID and syncs.

chevron-rightDotNet CLIhashtag

Command: mc-login <MC_COMPANY_ID>

Flags: None

Value: MC_COMPANY_ID = managed company ID (required). Use mc-list to see IDs.

Example:

chevron-rightDotNet SDKhashtag

Function: LoginToManagedCompany(IEnterpriseLoader enterprise, int mcEnterpriseId) (on ManagedCompanyAuth)

Example:

chevron-rightPowerCommanderhashtag

Command: Switch-KeeperMC

Aliases: switch-to-mc

Flags:

  • -Name (position 0) : Managed company ID or name (required)

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Copy Role

Copy one or more roles (with their enforcements) from the MSP enterprise into one or more Managed Companies.

chevron-rightDotNet CLIhashtag

Coming Soon

chevron-rightDotNet SDKhashtag

Function: ConvertNodeToManagedCompanyAsync(NodeToManagedCompanyRequest request)

Example:

chevron-rightPowerCommanderhashtag

Command:

Flags:

Parameter
Description

Role

Source role name or ID. Can be repeated (e.g. multiple roles). Resolved in the MSP enterprise.

ManagedCompany

Target MC name or ID. Can be repeated (e.g. multiple MCs).

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Switch to MSP

Switches context back to MSP when currently in a managed company context. Basically logs you out of managed company.

chevron-rightDotNet CLIhashtag

Command: switch-to-msp or msp

Flags: None

Example:

chevron-rightDotNet SDKhashtag

No direct SDK call; context switching is handled by the CLI/shell. When using ManagedCompanyAuth, the application would switch back to the parent auth/context that was stored when entering MC context.

chevron-rightPowerCommanderhashtag

Command: Switch-KeeperMSP

Aliases: switch-to-msp

Flags: None

Example:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Billing Report Command

Generate the MSP Consumption Billing Statement for a given month. Requires MSP account.

chevron-rightDotNet CLIhashtag

Command: mc-delete <COMPANY> or msp-remove or mrm

Flags: None

Value: COMPANY = managed company name or ID (required)

Example:

chevron-rightDotNet SDKhashtag

Function: RemoveManagedCompany(int companyId)

Example:

chevron-rightPowerCommanderhashtag

Command: Get-MspBillingReport

Parameters

Parameter
Description

Month

Month as 1–12 (numeric) or YYYY-MM (e.g. 2022-02). If omitted, previous calendar month is used.

Year

Year (e.g. 2022). Used when Month is numeric only.

ShowDate

Break down the report by date.

ShowCompany

Break down the report by managed company.

Format

table (default), json, or csv.

Output

If set, save the report to this file path.

Examples:

chevron-rightPython CLIhashtag

Coming Soon

chevron-rightPython SDKhashtag

Coming Soon

MSP Addon Options

  • compliance_report

  • enterprise_audit_and_reporting

  • secrets_manager

  • enterprise_breach_watch

  • onboarding_and_certificate

  • msp_service_and_support

  • connection_manager

  • chat

  • password_rotation

  • remote_browser_isolation

  • privileged_access_manager

  • keeper_endpoint_privilege_manager

Last updated

Was this helpful?