Record Type Commands

This page catalogues and details the usage of Record Type Commands

Overview

The Record Type Commands in Keeper Commander are used for creating and managing Record Types and Custom Templates within the Keeper security platform. These are usable only to create custom record types to an enterprise scope.

Commands

Below commands are supported in record-type:

Record-Type-Info

Lists available record types or shows detailed information about a specific record type.

chevron-rightDotNet CLIhashtag

Command: record-type-info

Flag:

  • value pos. 0 : Custom record type or field type name. This is a positional argument placed at position 0 immediately after the command

  • -f, --field : Used to check all available fields for the custom record type.

Example:

My Vault> record-type-info "myCustomType" 
    Record Type ID:  12345                    
         Type Name:  myCustomType
             Scope:  enterprise               
       Description:  My custom record         
            Fields:  (login)                  
                     (password)      
chevron-rightDotNet SDKhashtag

Function:

chevron-rightPowerCommanderhashtag

Command : Get-KeeperRecordType

Alias : krti

Flags :

  • -ShowFields : Shows all the available fields present in the custom-record-type.

  • -Name : Name of the custom record type

Example:

chevron-rightPython CLIhashtag

Command : record-type-info

Options :

  • -lr, --list-record-type : [RECORD_NAME] list record type by name or use * to list all

  • -lf, --list-field : FIELD_NAME list field type by name or use * to list all

  • -e, --example : Use --example to generate example JSON

Example:

chevron-rightPython SDKhashtag

Function: get_record_types

Record-Type-Create

Add a new custom Keeper Record Type. This will only be able to create custom record types which are scoped to your enterprise. this needs an admin role to execute.

chevron-rightDotNet CLIhashtag

Command: record-type-add

Flag:

  • value (pos. 0) : Required. (Default: false) Adds a new record type with given data. Needs a Serialised JSON string.

Example:

chevron-rightDotNet SDKhashtag

Create a keeper record object and then call the function.

Function:

folder in which the record has to be created can be given as folder UID

chevron-rightPowerCommanderhashtag

Command: New-KeeperRecordType

Flags:

  • -Data : Data of the custom-record-type in Json format

Example:

chevron-rightPython CLIhashtag

Command: record-type-add

Parameters:

  • --data : DATA Record type definition in JSON format or "filepath:" to read from JSON file.

Example:

chevron-rightPython SDKhashtag

Function: create_custom_record_type

Example:

Record-Type-Update

Update the existing custom record type. This does not affect old records created from same custom type. new records going forward will have the fields set here

chevron-rightDotNet CLIhashtag

Command: record-type-update

Flag:

  • value pos. 0 : RecordTypeId of record type to be updated

  • value pos. 1 : Update a new record type with given data. Needs a Serialized JSON string.

Example:

chevron-rightDotNet SDKhashtag

Function :

chevron-rightPowerCommanderhashtag

Command: Edit-KeeperRecordType

Flags:

  • -RecordTypeId : Record Id of the custom record type

  • -Data : Additional fields that need to update

Example:

chevron-rightPython CLIhashtag

Command : record-type-edit

Parameter :

  • record_type_id : Record Type ID of record type to be updated.

  • --data : DATA Record type definition in JSON format or "file path:" to read from JSON file.

Example:

chevron-rightPython SDKhashtag

Function: edit_custom_record_types

Record-Type-Delete

Delete the existing custom record type. If the record type exists then it will be deleted, else it will just give a notification for the same

chevron-rightDotNet CLIhashtag

Command: record-type-delete

Flag:

  • value pos. 0 Required. (Default: false) Record Type Id of record type to be deleted

Example:

chevron-rightDotNet SDKhashtag

Function:

chevron-rightPowerCommanderhashtag

Command: Remove-KeeperRecordType

Flag:

  • -RecordTypeId : Record Id of the custom record type

  • -Confirm : Deletes the record forcefully

Example:

chevron-rightPython CLIhashtag

Command: record-type-delete

Parameter:

  • record_type_id : Record Type ID of record type to be deleted.

Example:

chevron-rightPython SDKhashtag

Function : delete_custom_record_types

Last updated

Was this helpful?