Record Field Classes

Description of each accessible field type Class in the Keeper Secrets Manager Java SDK

Accessing Record Fields

Use the getField method to access record fields.

Java:

data.getField(FieldType.class)

Kotlin:

data.getField<FieldType>()

The FieldType needs to be a class from the list below.

Field Type Classes Reference

KeeperRecordField

All Record Fields extend the KeeperRecordField class, and contain a label field

sealed class KeeperRecordField {
    abstract val label: String?
}

Field Values

Name

Type

Required

Default

label

String

No

null

Password

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

enforceGeneration

Boolean

No

null

value

MutableList<String>

Yes

Url

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

FileRef

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

value

MutableList<String>

Yes

OneTimeCode

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

value

MutableList<String>

Yes

OneTimePassword

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

value

MutableList<String>

Yes

Name

Field Values

Name

Type

Required

Default

first

String

No

null

middle

String

No

null

last

String

No

null

Names

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<Name>

Yes

BirthDate

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<Long>

Yes

Date

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<Long>

Yes

ExpirationDate

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<Long>

Yes

Text

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

SecurityQuestion

Field Values

Name

Type

Required

Default

question

String

No

null

answer

String

No

null

SecurityQuestions

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<SecurityQuestion>

Yes

Multiline

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

Email

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

CardRef

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

AddressRef

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

PinCode

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

Phone

Field Values

Name

Type

Required

Default

region

String

No

null

number

String

No

null

ext

String

No

null

type

String

No

null

Phones

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

List<Phone>

Yes

HiddenField

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

List<String>

Yes

SecureNote

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

List<String>

Yes

AccountNumber

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

List<String>

Yes

PaymentCard

Field Values

Name

Type

Required

Default

cardNumber

String

No

null

cardExpirationDate

String

No

null

cardSecurityCode

String

No

null

PaymentCards

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<PaymentCard>)

Yes

BankAccount

Field Values

Name

Type

Required

Default

accountType

String

No

null

routingNumber

String

No

null

accountNumber

String

No

null

otherType

String

No

null

BankAccounts

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<BankAccount>)

Yes

KeyPair

Field Values

Name

Type

Required

Default

publicKey

String

no

null

privateKey

String

no

null

KeyPairs

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<KeyPair>

Yes

Host

Field Values

Name

Type

Required

Default

hostName

String

No

null

port

String

No

null

allowSupplyUser

Boolean

No

null

allowSupplyHost

Boolean

No

null

Hosts

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<Host>

Yes

Address

Field Values

Name

Type

Required

Default

street1

String

No

null

street2

String

No

null

city

String

No

null

state

String

No

null

country

String

No

null

zip

String

No

null

Addresses

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<Address>

Yes

LicenseNumber

Field Values

Name

Type

Required

Default

label

String

No

null

required

Boolean

No

null

privacyScreen

Boolean

No

null

value

MutableList<String>

Yes

KeeperFileData

Field Values

Name

Type

Required

Default

title

String

Yes

name

String

Yes

type

String

No

Null

size

Long

Yes

lastModified

Long

Yes

AllowedSettings

Configuration object defining which operations are permitted for a PAM resource.

Field Values

Name
Type
Required
Default
Description

connections

Boolean

No

null

Allow connections to resource

portForwards

Boolean

No

null

Allow port forwarding

rotation

Boolean

No

null

Allow credential rotation

sessionRecording

Boolean

No

null

Enable session recording

typescriptRecording

Boolean

No

null

Enable typescript recording

PamResource

PAM resource reference containing controller, folder, and credential information.

Field Values

Name
Type
Required
Default
Description

controllerUid

String

No

null

Controller UID

folderUid

String

No

null

Folder UID

resourceRef

MutableList<String>

No

null

Resource reference UIDs

adminCredentialRef

String

No

null

Admin credential UID

allowedSettings

AllowedSettings

No

null

Permitted operations configuration

PamResources

PAM resource configurations for accessing privileged resources.

Field Values

Name
Type
Required
Default
Description

label

String

No

null

Field label

required

Boolean

No

null

Whether field is required

value

MutableList<PamResource>

Yes

List of PAM resources

Example Usage

PamHostnames

Hostnames associated with PAM resources. Uses the Host type for hostname and port information.

Field Values

Name
Type
Required
Default
Description

label

String

No

null

Field label

required

Boolean

No

null

Whether field is required

privacyScreen

Boolean

No

null

Enable privacy screen

value

MutableList<Host>

Yes

List of hosts

circle-info

Note: PamHostnames uses the Host type (hostname + port) which is documented in the Hosts section above.

Example Usage

PamRbiConnection

RBI (Remote Browser Isolation) connection settings including audio and clipboard controls.

Field Values

Name
Type
Required
Default
Description

protocol

String

No

null

Connection protocol

userRecords

MutableList<String>

No

null

Associated user record UIDs

recordingIncludeKeys

Boolean

No

null

Include keystrokes in recording

allowUrlManipulation

Boolean

No

null

Allow URL manipulation

allowedUrlPatterns

String

No

null

Allowed URL patterns

allowedResourceUrlPatterns

String

No

null

Allowed resource URL patterns

httpCredentialsUid

String

No

null

HTTP credentials record UID

autofillConfiguration

String

No

null

Autofill configuration JSON

ignoreInitialSslCert

Boolean

No

null

Ignore initial SSL certificate errors

disableAudio

Boolean

No

null

Disable audio for RBI sessions

disableCopy

Boolean

No

null

Disable clipboard copy operations

disablePaste

Boolean

No

null

Disable clipboard paste operations

audioChannels

Int

No

null

Number of audio channels (e.g., 2 for stereo)

audioBps

Int

No

null

Audio bits per second (e.g., 16)

audioSampleRate

Int

No

null

Audio sample rate in Hz (e.g., 44100)

circle-info

New in v17.1.3: The six fields in bold (disableAudio, disableCopy, disablePaste, audioChannels, audioBps, audioSampleRate) were added to support RBI audio and clipboard controls.

PamRemoteBrowserSetting

Container for RBI connection settings.

Field Values

Name
Type
Required
Default
Description

connection

PamRbiConnection

No

null

RBI connection configuration

PamRemoteBrowserSettings

Remote Browser Isolation settings for secure browser-based access to privileged resources.

Field Values

Name
Type
Required
Default
Description

label

String

No

null

Field label

required

Boolean

No

null

Whether field is required

value

MutableList<PamRemoteBrowserSetting>

Yes

List of RBI settings

Example Usage

PamSettingsConnection

Protocol-specific connection settings for PAM resources (RDP, SSH/Terminal, VNC, Kubernetes). Fields are organized by protocol type and only populated when relevant to the connection type.

Field Values by Protocol

Common Fields (All Protocols)

Name
Type
Required
Default
Description

protocol

String

No

null

Connection protocol type

userRecords

MutableList<String>

No

null

Associated user record UIDs

port

String

No

null

Connection port number

allowSupplyUser

Boolean

No

null

Allow user to supply username

allowSupplyHost

Boolean

No

null

Allow user to supply hostname

recordingIncludeKeys

Boolean

No

null

Include keystrokes in recording

colorScheme

String

No

null

Color scheme preference

resizeMethod

String

No

null

Window resize method

security

String

No

null

Security level

ignoreCert

Boolean

No

null

Ignore certificate errors

disableCopy

Boolean

No

null

Disable clipboard copy

disablePaste

Boolean

No

null

Disable clipboard paste

SSH/Terminal Fields

Name
Type
Required
Default
Description

fontName

String

No

null

Terminal font name (e.g., "Courier New")

scrollback

Int

No

null

Scrollback buffer size in lines

backspace

String

No

null

Backspace key behavior (e.g., "^H")

terminalType

String

No

null

Terminal type (e.g., "xterm-256color")

clipboardEncoding

String

No

null

Clipboard text encoding (e.g., "UTF-8")

locale

String

No

null

Locale setting (e.g., "en_US.UTF-8")

serverAliveInterval

Int

No

null

Keep-alive interval in seconds

timezone

String

No

null

Timezone (e.g., "America/New_York")

hostKey

String

No

null

SSH host key

command

String

No

null

Command to execute on connection

fontSize

String

No

null

Terminal font size

VNC Fields

Name
Type
Required
Default
Description

enableAudio

Boolean

No

null

Enable audio streaming

audioServername

String

No

null

Audio server hostname

swapRedBlue

Boolean

No

null

Swap red and blue color channels

cursor

String

No

null

Cursor display mode (e.g., "remote", "local")

forceLossless

Boolean

No

null

Force lossless compression

destHost

String

No

null

Destination host for VNC proxy

destPort

String

No

null

Destination port for VNC proxy

RDP Fields

Name
Type
Required
Default
Description

width

Int

No

null

Screen width in pixels

height

Int

No

null

Screen height in pixels

dpi

Int

No

null

Screen DPI (dots per inch)

colorDepth

Int

No

null

Color depth in bits (e.g., 16, 24, 32)

initialProgram

String

No

null

Program to run on connection

remoteApp

String

No

null

RemoteApp program name

remoteAppDir

String

No

null

RemoteApp working directory

remoteAppArgs

String

No

null

RemoteApp command-line arguments

clientName

String

No

null

Client computer name

serverLayout

String

No

null

Keyboard layout (e.g., "en-US")

normalizeClipboard

String

No

null

Clipboard normalization mode

console

Boolean

No

null

Connect to console session

readOnly

Boolean

No

null

Read-only connection

consoleAudio

Boolean

No

null

Enable console audio

enableAudioInput

Boolean

No

null

Enable audio input (microphone)

enableTouch

Boolean

No

null

Enable touch input

enablePrinting

Boolean

No

null

Enable printer redirection

enableTheming

Boolean

No

null

Enable desktop theming

enableFontSmoothing

Boolean

No

null

Enable font smoothing

enableDesktopComposition

Boolean

No

null

Enable desktop composition

enableMenuAnimations

Boolean

No

null

Enable menu animations

disableBitmapCaching

Boolean

No

null

Disable bitmap caching

disableOffscreenCaching

Boolean

No

null

Disable offscreen caching

disableGlyphCaching

Boolean

No

null

Disable glyph caching

redirectedPrinterName

String

No

null

Redirected printer name

disableAuth

Boolean

No

null

Disable authentication

loadBalanceInfo

String

No

null

Load balancing information

preconnectionId

String

No

null

Pre-connection ID

preconnectionBlob

String

No

null

Pre-connection blob

disableAudio

Boolean

No

null

Disable all audio

enableWallpaper

Boolean

No

null

Enable desktop wallpaper

enableFullWindowDrag

Boolean

No

null

Enable full window drag

sftp

SFTPConnection

No

null

SFTP connection settings

Kubernetes Fields

Name
Type
Required
Default
Description

useSSL

Boolean

No

null

Use SSL/TLS connection

namespace

String

No

null

Kubernetes namespace

pod

String

No

null

Pod name

container

String

No

null

Container name within pod

caCert

String

No

null

CA certificate (PEM format)

clientCert

String

No

null

Client certificate (PEM format)

clientKey

String

No

null

Client private key (PEM format)

Database Fields

Name
Type
Required
Default
Description

database

String

No

null

Database name

disableCsvExport

Boolean

No

null

Disable CSV export

disableCsvImport

Boolean

No

null

Disable CSV import

circle-info

New in v17.1.3: The 43 fields in bold were added to support protocol-specific connection settings:

  • 10 SSH/Terminal fields - Terminal display and localization settings

  • 7 VNC fields - Audio and display control

  • 26 RDP fields - Display, audio, application, and performance settings

  • 6 Kubernetes fields - Container access and TLS configuration

circle-exclamation

PamSettingsPortForward

Port forwarding configuration including local port customization.

Field Values

Name
Type
Required
Default
Description

reusePort

Boolean

No

null

Reuse port for multiple connections

port

String

No

null

Remote port to forward

useSpecifiedLocalPort

Boolean

No

null

Use custom local port instead of auto-assigned

localPort

String

No

null

Specific local port number to use

circle-info

New in v17.1.3: The two fields in bold (useSpecifiedLocalPort, localPort) were added to support custom local port configuration for port forwarding.

PamSetting

Container combining connection and port forwarding settings for PAM.

Field Values

Name
Type
Required
Default
Description

connection

PamSettingsConnection

No

null

Connection settings

portForward

PamSettingsPortForward

No

null

Port forwarding configuration

allowSupplyHost

Boolean

No

null

Allow user to supply hostname

PamSettings

Protocol-specific connection settings and port forwarding configurations for PAM resources.

Field Values

Name
Type
Required
Default
Description

label

String

No

null

Field label

required

Boolean

No

null

Whether field is required

value

MutableList<PamSetting>

Yes

List of PAM settings

Example Usage

Last updated

Was this helpful?