Skip to content

Add support for importing stringified JSON#1967

Closed
lthievenaz-keeper wants to merge 2 commits intoKeeper-Security:masterfrom
lthievenaz-keeper:import-json-strings
Closed

Add support for importing stringified JSON#1967
lthievenaz-keeper wants to merge 2 commits intoKeeper-Security:masterfrom
lthievenaz-keeper:import-json-strings

Conversation

@lthievenaz-keeper
Copy link
Copy Markdown
Contributor

@lthievenaz-keeper lthievenaz-keeper commented Apr 20, 2026

The JSON import command requires a physical file holding sensitive data:

  • JSON
  • ZIP

Added support for passing stringified JSON as the filename, which will import the data without needing to store it in a file. This improves security, SDK use-cases, integrations with ephemeral storage.

Example command syntax:

CLI

import --format json "[{\"title\":\"JSON record title\",\"login\":\"example_login\"}]"

SDK

from keepercommander.importer.imp_exp import _import

data = json.dumps(list_records)
_import(params, 'json', data)

BaseFileImporter is a process of the import command which only supports a file.
Added support for stringified JSON.
The JSON import supports:
- JSON filename
- ZIP filename
Added support for stringified JSON
@lthievenaz-keeper
Copy link
Copy Markdown
Contributor Author

Closing, pushed into master instead of release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant