This Device Commands

This page gives information of subcommands for this-device

this-device

This command informs of the current device and helps setting device controls for login support.

DotNet CLI

Command: this-device

Example:

My Vault> this-device

         Device Name: PowerShell Commander
      Client Version: Commander 17.0.0
    Data Key Present: True
     IP Auto Approve: True
    Persistent Login: False
      Logout Timeout: 1 hour(s)
     Biometric Login: False

Available sub-commands: rename, register, persistent_login, ip_disable_auto_approve, timeout, bio
DotNet SDK

Not Available

PowerCommander

Command: Get-KeeperDeviceSettings

Aliases: this-device

Syntax:

Get-KeeperDeviceSettings [<CommonParameters>]

Examples:

PS> Get-KeeperDeviceSettings

DeviceName          : PowerShell Commander
PersistentLogin     : False
DataKeyPresent      : True
IpAutoApprove       : True
IsSsoUser           : False
DeviceLogoutTimeout : 60 minute(s)
Python CLI

Command: this-device

Example:

My Vault> this-device
          Device Name  Python Keeper API
     Data Key Present  False
      IP Auto Approve  True
     Persistent Login  False
Device Logout Timeout  30 days
          Is SSO User  False
Python SDK

Function: load_account_summary

keeper_auth.load_account_summary(auth_context)

this-device register

This command is used to encrypts the user's data key with the device public key in order to utilize persistent login sessions

DotNet CLI

Command: this-device register

Example:

DotNet SDK

Function: RegisterDataKeyForDevice

Example:

PowerCommander

Command: Set-KeeperDeviceSettings

Parameters:

  • -Register - Register

Syntax:

Python CLI

Command: this-device register

Flags: NA

Example:

Python SDK

Function: register_data_key_for_device

this-device persistent-login

Use this command to turn on or off the "Stay Logged In" setting for your account

DotNet CLI

Command: this-device persistent_login

Example:

DotNet SDK

Command: SetSessionParameter

Example:

PowerCommander

Command: Set-KeeperDeviceSettings

Parameters:

  • -PersistentLogin - Enable/disable persistent login

Examples:

Python CLI

Command: this-device persistent-login

Flags: NA

Example:

Python SDK

Function: set_user_setting

this-device timeout

Use this command to set inactivity duration before automatic logout. Default unit is minutes (can be set to hours or days by appending "h" or "d", respectively).

DotNet CLI

Command: this-device timeout

Example:

DotNet SDK

Function: SetSessionParameter

Example:

PowerCommander

Command: Set-KeeperDeviceSettings

Parameters:

  • -Timeout - Session timeout in minutes

Example:

Python CLI

Command: this-device timeout

Flags: NA

Example:

Python SDK

Function: set_user_setting

this-device rename

Use this command to change the name of the device

DotNet CLI

Command: this-device rename <NewNameHere>

Example:

DotNet SDK

Command: Not Applicable

PowerCommander

Command: Set-KeeperDeviceSettings -NewName <SomeNewName>

Example:

Python CLI

Command: this-device rename

Flags: NA

Python SDK

Function: rename_device

this-device ip-auto-approve

Use this command to control the IP Address device auto-approval security setting for your account

DotNet CLI

Command: this-device timeout

Example:

DotNet SDK

Function: SetSessionParameter

Example:

PowerCommander

Command: Set-KeeperDeviceSettings -IpAutoApprove OFF

Example:

Python CLI

Command: this-device ip-auto-approve

Flags: NA

Example:

Python SDK

Function: set_user_setting

this-device no-yubikey-pin

Use this command to turn on or off the PIN usage on Security Key (Webauthn) devices.

DotNet CLI

Command: Not supported

DotNet SDK

Command:Not supported

PowerCommander

Command: Not supported

Python CLI

Command: this-device no-yubikey-pin

Flags: NA

Example:

Python SDK

Function: set_user_setting

Last updated

Was this helpful?