For the complete documentation index, see llms.txt. This page is also available as Markdown.

PAM Gateway Commands

Keeper Gateway runs rotation, discovery, connections, and tunneling from your managed environments. Deploy it on Docker, Linux, or Windows, on a host, VM, or cluster. One Gateway can reach both on-pre

Gateway List command

Lists all gateways accessible by the Commander user. Gateways directly accessible by the user in their vault. Gateways registered under any managed node from the user's role.

DotNet CLI

Command: pam-gateway list

Alias: pam-gw list / pam-gw l

Parameters:

Parameter
Description

--online, -o

Show only online gateways

--ignore-router

List registered gateways when router is unavailable

--verbose, -v

Verbose output (device, node, OS details, router host)

--format {table,json}

Output format. Default: table

Examples:

DotNet SDK

Function:

 public static async Task<IList<PamProto.PAMController>> GetAllGatewaysAsync(IAuthentication auth)
    {
      var response = (PamProto.PAMControllersResponse)await auth.ExecuteAuthRest(
        GetControllersEndpoint,
        null,
        typeof(PamProto.PAMControllersResponse));
      return response?.Controllers?.ToList() ?? new List<PamProto.PAMController>();
    }
Power Commander

Command: Get-KeeperPamGatewayList

Alias: pam-gateway-list / pam-gw-list

Parameters:

Parameter
Description

-Force, -f

List registered gateways when router is unavailable

-VerboseOutput

Verbose gateway and router details

-Format {table,json}

Output format. Default: table

-Online, -o

Show only online gateways

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Gateway Create command

This command is used to create a new Gateway

DotNet CLI

Command: pam-gateway new

Alias: pam-gw new / pam-gw n

Parameters:

Parameter
Description

--name, -n

Name of the Gateway

--application, -a

KSM Application name or UID

--token-expires-in-min, -e

One-time token expiration in minutes. Default: 60. Maximum: 1440

--return-value, -r

Return only the token/config (for automation)

--config-init, -c {json,b64}

Initialize client config and return configuration string instead of raw token

Examples:

DotNet SDK

Function:

Power Commander

Command: New-KeeperPamGateway

Alias: pam-gateway-new / pam-gw-new

Parameters:

Parameter
Description

-Name, -n

Gateway name

-Application, -a

KSM application UID or title

-TokenExpiresInMinutes, -e

One-time token expiration in minutes. Default: 60. Maximum: 1440

-ConfigInit, -c {json,b64}

Initialize client config and return configuration string

-ReturnValue, -r

Return only the token/config string

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Gateway Edit command

Allows updating the gateway's name or registered node. Equivalent actions can be performed in the Admin Console, under Secrets Manager → Gateways.

DotNet CLI

Command: pam-gateway edit

Alias: pam-gw edit / pam-gw e

Parameters:

Parameter
Description

--gateway, -g

Gateway UID or name

--name, -n

New gateway name

--node-id, -i

Enterprise node ID or name

* At least one of --name or --node-id is required.

Examples:

DotNet SDK

Function:

Power Commander

Command: Set-KeeperPamGateway

Alias: pam-gateway-edit / pam-gw-edit

Parameters:

Parameter
Description

-Gateway, -g

Gateway UID or name

-Name, -n

New gateway name

-NodeId, -i

Enterprise node ID or name

* At least one of -Name or -NodeId is required.

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Gateway Remove command

Removes a gateway. The user executing this command must have admin rights on the gateway's parent application to perform this action.

DotNet CLI

Command: pam-gateway remove

Alias: pam-gw remove / pam-gw rm / pam-gateway delete

Parameters:

Parameter
Description

--gateway, -g

Gateway UID or name

Examples:

DotNet SDK

Function:

Power Commander

Command: Remove-KeeperPamGateway

Alias: pam-gateway-remove / pam-gw-remove / pam-gateway-rm

Parameters:

Parameter
Description

-Gateway, -g

Gateway UID or name

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Gateway set-max-instances command

Defines maximum gateway pool instances. Used for High Availability integrations.

DotNet CLI

Command: pam-gateway set-max-instances

Alias: pam-gw set-max-instances / pam-gw smi

Parameters:

Parameter
Description

--gateway, -g

Gateway UID or name

--max-instances, -m

Maximum number of gateway instances (must be >= 1)

Examples:

DotNet SDK

Function:

Power Commander

Command: Set-KeeperPamGatewayMaxInstances

Alias: pam-gateway-set-max-instances / pam-gw-set-max-instances

Parameters:

Parameter
Description

-Gateway, -g

Gateway UID or name

-MaxInstances, -m

Maximum number of gateway instances (must be >= 1)

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Last updated