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
label
String
No
null
Password
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
enforceGeneration
Boolean
No
null
value
MutableList<String>
Yes
Url
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
FileRef
Field Values
label
String
No
null
required
Boolean
No
null
value
MutableList<String>
Yes
OneTimeCode
Field Values
label
String
No
null
required
Boolean
No
null
value
MutableList<String>
Yes
OneTimePassword
Field Values
label
String
No
null
required
Boolean
No
null
value
MutableList<String>
Yes
Name
Field Values
first
String
No
null
middle
String
No
null
last
String
No
null
Names
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<Name>
Yes
BirthDate
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<Long>
Yes
Date
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<Long>
Yes
ExpirationDate
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<Long>
Yes
Text
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
SecurityQuestion
Field Values
question
String
No
null
answer
String
No
null
SecurityQuestions
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<SecurityQuestion>
Yes
Multiline
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
CardRef
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
AddressRef
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
PinCode
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
Phone
Field Values
region
String
No
null
number
String
No
null
ext
String
No
null
type
String
No
null
Phones
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
List<Phone>
Yes
HiddenField
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
List<String>
Yes
SecureNote
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
List<String>
Yes
AccountNumber
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
List<String>
Yes
PaymentCard
Field Values
cardNumber
String
No
null
cardExpirationDate
String
No
null
cardSecurityCode
String
No
null
PaymentCards
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<PaymentCard>)
Yes
BankAccount
Field Values
accountType
String
No
null
routingNumber
String
No
null
accountNumber
String
No
null
otherType
String
No
null
BankAccounts
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<BankAccount>)
Yes
KeyPair
Field Values
publicKey
String
no
null
privateKey
String
no
null
KeyPairs
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<KeyPair>
Yes
Host
Field Values
hostName
String
No
null
port
String
No
null
allowSupplyUser
Boolean
No
null
allowSupplyHost
Boolean
No
null
Hosts
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<Host>
Yes
Address
Field Values
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
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<Address>
Yes
LicenseNumber
Field Values
label
String
No
null
required
Boolean
No
null
privacyScreen
Boolean
No
null
value
MutableList<String>
Yes
KeeperFileData
Field Values
title
String
Yes
name
String
Yes
type
String
No
null
size
Long
Yes
lastModified
Long
No
0
AllowedSettings
Configuration object defining which operations are permitted for a PAM resource.
Field Values
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
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
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
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
Example Usage
PamRbiConnection
RBI (Remote Browser Isolation) connection settings including audio and clipboard controls.
Field Values
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)
PamRemoteBrowserSetting
Container for RBI connection settings.
Field Values
connection
PamRbiConnection
No
null
RBI connection configuration
PamRemoteBrowserSettings
Remote Browser Isolation settings for secure browser-based access to privileged resources.
Field Values
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)
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
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
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
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
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
database
String
No
null
Database name
dbConnectionMethod
String
No
null
Database connection method
disableCsvExport
Boolean
No
null
Disable CSV export
disableCsvImport
Boolean
No
null
Disable CSV import
Telnet Fields
usernameRegex
String
No
null
Regex matching the username prompt
passwordRegex
String
No
null
Regex matching the password prompt
loginSuccessRegex
String
No
null
Regex matching a successful login
loginFailureRegex
String
No
null
Regex matching a failed login
PamSettingsPortForward
Port forwarding configuration including local port customization.
Field Values
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
PamSetting
Container combining connection and port forwarding settings for PAM.
Field Values
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
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

