Folder Command
Manage folders from the Keeper Vault shared to KSM Applications
folder command
folder commandDescription: List, create, update and delete folders from the vault. Works only within folders shared to KSM Applications. The folder command manages subfolders within existing shared folders.
Parameters:
Sub-command to run
format: ksm folder <sub-command>
Sub-Commands:
Sub-Command
Description
list
List all folders associated with the application
add
Add a new subfolder to the vault.
update
Rename a folder
delete
Delete the folders from the vault
list
List all folders associated with the application
ksm folder list
optional parameters:
--jsonreturn results in JSON format-f, --folder <folder UID>List only folders/records in the selected folder UID.-r, --recursivelist recursively all folders/records in the selected folder UID including all subfolders.-l, --list-recordsInclude folder records info in the output.
Example 1: Tabular format
Example 2: JSON format
add
Create a new subfolder into the specified parent folder. KSM can create subfolders only in existing shared folders that are shared to the KSM App including their subfolders and cannot create new shared folder(s).
ksm folder add --parent-folder <FOLDER UID> --title <FOLDER TITLE>
Required parameters:
--parent-folder, -f The parent folder UID where the new (sub)folder will be created.
--title, -t Title of the new folder.
Example:
update
Rename a folder.
ksm folder update --folder <FOLDER UID> --title NEW_TITLE
Parameters:
--folder, -f- Folder UID of the folder to rename.--title, -t- The new folder title.
Example:
delete
Delete a folder in the vault (shared to the KSM App)
ksm folder delete <FOLDER UID>
Parameters:
<FOLDER UID>UID of the folder to delete (Required)-f, --forceforce deletion of non-empty folders (Optional)
Example:
Last updated
Was this helpful?

