Skip to main content

Keeper Secrets Manager

This Integration is part of the Keeper Secrets Manager Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

Manage Secrets and Protect Sensitive Data through Keeper Vault. This integration was integrated and tested with version 16.3.5 of Keeper Secrets Manager.

Configure Keeper Secrets Manager on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for Keeper Secrets Manager.

  3. Click Add instance to create and configure a new integration instance.

    ParameterDescriptionRequired
    KSM ConfigurationThe KSM config to use for connection.True
    Trust any certificate (not secure)When 'trust any certificate' is selected, the integration ignores TLS/SSL certificate validation errors. Use to test connection issues or connect to a server without a valid certificate.False
    Fetches credentialsFetches credentials from login records.False
    Concat username to credential object nameUse to make the credential object unique in case of duplicate names in different folders/secrets.False
    A comma-separated list of credential names to fetch.Partial names are not supported. If left empty, all credentials will be fetched.False
  4. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

ksm-find-files#


Search for records by full or partial file name match.

Base Command#

ksm-find-files

Input#

Argument NameDescriptionRequired
file_nameFile name text to search for.Required
partial_matchSearch for partial file name match.Optional

Context Output#

PathTypeDescription
KeeperSecretsManager.Files.record_uidStringRecord UID.
KeeperSecretsManager.Files.file_uidStringFile UID.
KeeperSecretsManager.Files.file_nameStringFile Name.
KeeperSecretsManager.Files.file_sizeStringFile Size.

Command example#

!ksm-find-files file_name="blank.txt"

Context Example#

{
"KeeperSecretsManager": {
"Files": [
{
"file_name": "blank.txt",
"file_size": 5,
"file_uid": "Z8F-lSBHmTiMMDQrRiBjUA",
"record_uid": "PNby7a3Mrh4OfPdkpdfFsA"
},
{
"file_name": "blank.txt",
"file_size": 5,
"file_uid": "xdsQvfDzD-W38_alIwJnMg",
"record_uid": "4FTOiJx-m31hDIlmief1Cg"
}
]
}
}

Human Readable Output#

Records with attachments#

Record Details#

file_namefile_sizefile_uidrecord_uid
blank.txt5Z8F-lSBHmTiMMDQrRiBjUAPNby7a3Mrh4OfPdkpdfFsA
blank.txt5xdsQvfDzD-W38_alIwJnMg4FTOiJx-m31hDIlmief1Cg

ksm-find-records#


Search for records by full or partial title match.

Base Command#

ksm-find-records

Input#

Argument NameDescriptionRequired
titleTitle text to search for.Required
partial_matchSearch for partial title match.Optional

Context Output#

PathTypeDescription
KeeperSecretsManager.Records.uidStringRecord UID.
KeeperSecretsManager.Records.typeStringRecord Type.
KeeperSecretsManager.Records.titleStringRecord Title.

Command example#

!ksm-find-records title="file"

Context Example#

{
"KeeperSecretsManager": {
"Records": [
{
"uid": "WcizqXQGsk0Jho48Mn52MQ",
"type": "file",
"title": "files1"
},
{
"uid": "Px5xVljXRZ1dPYMQ9Yv05Q",
"type": "file",
"title": "files2"
}
]
}
}

Human Readable Output#

Records#

Record Details#

uidtypetite
WcizqXQGsk0Jho48Mn52MQfilefiles1
Px5xVljXRZ1dPYMQ9Yv05Qfilefiles2

ksm-get-field#


Use this command to get field value from Keeper record.

Base Command#

ksm-get-field

Input#

Argument NameDescriptionRequired
notationKeeper KSM notation URI.Required

Context Output#

PathTypeDescription
KeeperSecretsManager.Field.fieldStringExtracted field value.

Command example#

!ksm-get-field notation="keeper://6LJgiVzzD4ZJuxQYj_wN9A/field/login"

Context Example#

{
"KeeperSecretsManager": {
"Field": "admin"
}
}

Human Readable Output#

admin#

ksm-get-file#


Use this command to fetch the file attachment as a File.

Base Command#

ksm-get-file

Input#

Argument NameDescriptionRequired
file_uidFile UID to search for.Required
record_uidRecord UID to search for files. Search all records if empty.Optional

Context Output#

There is no context output for this command.

Command example#

!ksm-get-file file_uid="bZs6l8Hx9zkrRPYVFyuYLA"

Context Example#

{
"File": {
"EntryID": "36@21232f297a57a5a743894a0e4a801fc3$&$9b10a24b-f008-42e0-8554-d24397e91996",
"Extension": "txt",
"Info": "text/plain; charset=utf-8",
"MD5": "8e15625d6c158ec48f374efb77bd2714",
"Name": "blank.txt",
"SHA1": "6184d6847d594ec75c4c07514d4bb490d5e166df",
"SHA256": "ff71cf74abb3ccb005b8b64371725db15edc42c1ad33413bbe561b2da3c85ef9",
"SHA512": "c7503ab487c392e8cbbe756fd7340bd83214c351dfd48a2c597285267621976a5e321fa88923917b8a2fb6895727da0a42123233258b4da485b0de7c91ba8610",
"SSDeep": "3:wO:wO",
"Size": 5,
"Type": "ASCII text, with no line terminators"
}
}

Human Readable Output#

ksm-get-infofile#


Use this command to fetch the file attachment as an Info File.

Base Command#

ksm-get-infofile

Input#

Argument NameDescriptionRequired
file_uidFile UID to search for.Required
record_uidRecord UID to search for files. Search all records if empty.Optional

Context Output#

There is no context output for this command.

Command example#

!ksm-get-infofile file_uid="bZs6l8Hx9zkrRPYVFyuYLA"

Context Example#

{
"InfoFile": {
"EntryID": "40@21232f297a57a5a743894a0e4a801fc3$&$9b10a24b-f008-42e0-8554-d24397e91996",
"Extension": "txt",
"Info": "text/plain; charset=utf-8",
"Name": "blank.txt",
"Size": 5,
"Type": "ASCII text, with no line terminators"
}
}

Human Readable Output#

ksm-list-credentials#


Use this command to list all credentials in your Keeper Vault that are shared to the KSM application.

Base Command#

ksm-list-credentials

Input#

Argument NameDescriptionRequired

Context Output#

PathTypeDescription
KeeperSecretsManager.Creds.uidStringRecord UID.
KeeperSecretsManager.Creds.titleStringRecord Title.
KeeperSecretsManager.Creds.nameStringUsername.

Command example#

!ksm-list-credentials

Context Example#

{
"KeeperSecretsManager": {
"Creds": [
{
"name": "IIS Admin",
"uid": "6LJgiVzzD4ZJuxQYj_wN9A",
"user": "admin"
},
{
"name": "nginx Admin",
"uid": "7W6exgzq_OeVF6Xh1EJ29g",
"user": "admin"
}
]
}
}

Human Readable Output#

Credentials#

Credential Details#

nameuiduser
IIS Admin6LJgiVzzD4ZJuxQYj_wN9Aadmin
nginx Admin7W6exgzq_OeVF6Xh1EJ29gadmin

ksm-list-files#


Use this command to list all records that have file attachments.

Base Command#

ksm-list-files

Input#

Argument NameDescriptionRequired
record_uidsA comma-separated list of record UIDs to search. If left empty all records with file attachments will be listed.Optional

Context Output#

PathTypeDescription
KeeperSecretsManager.Files.record_uidStringRecord UID.
KeeperSecretsManager.Files.file_uidStringFile UID.
KeeperSecretsManager.Files.file_nameStringFile Name.
KeeperSecretsManager.Files.file_sizeStringFile Size.

Command example#

!ksm-list-files

Context Example#

{
"KeeperSecretsManager": {
"Files": [
{
"file_name": "blank.txt",
"file_size": 5,
"file_uid": "bZs6l8Hx9zkrRPYVFyuYLA",
"record_uid": "RXd1m_fKO2XnAWzeUawM5A"
},
{
"file_name": "blank.txt",
"file_size": 5,
"file_uid": "xdsQvfDzD-W38_alIwJnMg",
"record_uid": "4FTOiJx-m31hDIlmief1Cg"
}
]
}
}

Human Readable Output#

Records with attachments#

Record Details#

file_namefile_sizefile_uidrecord_uid
blank.txt5bZs6l8Hx9zkrRPYVFyuYLARXd1m_fKO2XnAWzeUawM5A
blank.txt5xdsQvfDzD-W38_alIwJnMg4FTOiJx-m31hDIlmief1Cg

ksm-list-records#


Use this command to list all records from your Keeper Vault that are shared to the application.

Base Command#

ksm-list-records

Input#

Argument NameDescriptionRequired

Context Output#

PathTypeDescription
KeeperSecretsManager.Records.uidStringRecord UID.
KeeperSecretsManager.Records.typeStringRecord Type.
KeeperSecretsManager.Records.titleStringRecord Title.

Command example#

!ksm-list-records

Context Example#

{
"KeeperSecretsManager": {
"Records": [
{
"title": "files2",
"type": "file",
"uid": "RXd1m_fKO2XnAWzeUawM5A"
},
{
"title": "files1",
"type": "file",
"uid": "4FTOiJx-m31hDIlmief1Cg"
},
{
"title": "IIS Admin",
"type": "login",
"uid": "6LJgiVzzD4ZJuxQYj_wN9A"
},
{
"title": "nginx Admin",
"type": "login",
"uid": "7W6exgzq_OeVF6Xh1EJ29g"
}
]
}
}

Human Readable Output#

Records#

Record Details#

titletypeuid
files2fileRXd1m_fKO2XnAWzeUawM5A
files1file4FTOiJx-m31hDIlmief1Cg
IIS Adminlogin6LJgiVzzD4ZJuxQYj_wN9A
nginx Adminlogin7W6exgzq_OeVF6Xh1EJ29g