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.
DotNet CLI
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) PowerCommander
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:
Python CLI
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:
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.
DotNet CLI
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:
DotNet SDK
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
PowerCommander
Command: New-KeeperRecordType
Flags:
-Data: Data of the custom-record-type in Json format
Example:
Python CLI
Command: record-type-add
Parameters:
--data: DATA Record type definition in JSON format or "filepath:" to read from JSON file.
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
DotNet CLI
Command: record-type-update
Flag:
value pos. 0: RecordTypeId of record type to be updatedvalue pos. 1: Update a new record type with given data. Needs a Serialized JSON string.
Example:
PowerCommander
Command: Edit-KeeperRecordType
Flags:
-RecordTypeId: Record Id of the custom record type-Data: Additional fields that need to update
Example:
Python CLI
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:
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
DotNet CLI
Command: record-type-delete
Flag:
value pos. 0Required. (Default: false) Record Type Id of record type to be deleted
Example:
PowerCommander
Command: Remove-KeeperRecordType
Flag:
-RecordTypeId: Record Id of the custom record type-Confirm: Deletes the record forcefully
Example:
Last updated
Was this helpful?

