Device Approve Commands
Approve Cloud SSO Devices.
Usage:
device-approve [--options] [device ...]Parameters:
User's email or device ID to approve or blank to see a list of pending devices
List of Supported Commands
Device Approval Requests List Command
DotNet CLI
Usage:
enterprise-device [options] [command] [match]Aliases: ed
Sub Commands:
list- List device approval requests (default)
Options:
-f, --force- Force reload enterprise data--auto-approve <true|false>- Set auto-approve policy
Match Patterns:
all- Match all pending requestsemail- User email addressdevice-id- Specific device ID
Example:
# List pending device approvals
enterprise-device list
ed list
# Set auto-approve policy
enterprise-device --auto-approve true
DotNet SDK
Function: DeviceApprovalRequests
public IEnumerable<DeviceRequestForAdminApproval> DeviceApprovalRequests => _deviceApprovals.Entities;Example:
var enterpriseData = new EnterpriseData();
var deviceApproval = new DeviceApprovalData();
// ... initialize enterprise loader with deviceApproval plugin ...
var pendingDevices = deviceApproval.DeviceApprovalRequests;
foreach (var device in pendingDevices)
{
Console.WriteLine($"User ID: {device.EnterpriseUserId}, Device: {device.DeviceName}");
}PowerCommander
Command: Get-PendingKeeperDeviceApproval
Flags:
-Reload
Reload the list of pending device approvals from the server (switch)
-Format
Output format: table, csv, or json (default: table)
-Output
File path to write output to (required for csv and json formats)
Example:
Example for Json Output:
Device Approval Request - Approve
Approves pending device approval requests. You can specify devices by device ID (partial match supported) or user email. If no match is specified, all pending devices will be approved.
DotNet CLI
Usage:
Aliases: ed
Sub Commands:
approve- Approve device(s)
Options:
-f, --force- Force reload enterprise data--auto-approve <true|false>- Set auto-approve policy
Match Patterns:
all- Match all pending requestsemail- User email addressdevice-id- Specific device ID
Example:
PowerCommander
Command: Approve-KeeperDevice
Flags:
-Match
Device ID (partial match supported) or user email to approve. If not specified, all pending devices will be approved (Position 0)
-Reload
Reload the list of pending device approvals before processing (switch)
-TrustedIp
Approve devices from a trusted IP address (switch, currently not implemented)
-WhatIf
Preview what would happen without actually approving devices (switch, supported via SupportsShouldProcess)
-Confirm
Prompt for confirmation before approving devices (switch, supported via SupportsShouldProcess)
Example:
Device Approval Request - Deny
Denies pending device approval requests. You can specify devices by device ID (partial match supported) or user email. If no match is specified, all pending devices will be denied.
DotNet CLI
Usage:
Aliases: ed
Sub Commands:
decline- Decline device(s)
Options:
-f, --force- Force reload enterprise data--auto-approve <true|false>- Set auto-approve policy
Match Patterns:
all- Match all pending requestsemail- User email addressdevice-id- Specific device ID
Example:
PowerCommander
Command: Deny-KeeperDevice
Flags:
-Match
Device ID (partial match supported) or user email to deny. If not specified, all pending devices will be denied (Position 0)
-Reload
Reload the list of pending device approvals before processing (switch)
-WhatIf
Preview what would happen without actually denying devices (switch, supported via SupportsShouldProcess)
-Confirm
Prompt for confirmation before denying devices (switch, supported via SupportsShouldProcess)
Example:
Last updated
Was this helpful?

