Shared Folder Commands
This page documents commands related to shared folder
Overview
This page catalogs and provides detailed information about shared folders lists and teams.
Command
List Share Folder Command
Lists the share folders within a specified folder or the current directory in your Keeper vault.
DotNet CLI
Command: sf-list
Example:
My Vault> sf-list
# Shared Folder UID Name # Records # Users
--- ---------------------- ------------------------------- --------- -------
1 shared_folder_uid Test-Shared-Folder 11 1 Power Commander
Command: Get-KeeperSharedFolder
Flag:
-Uid: Uid of the Shared Folder-Filter: Used to filter the shared folders.
Example:
PS> Get-KeeperSharedFolder
Uid Name DefaultManageRecords DefaultManageUsers DefaultCanEdit DefaultCanShare UserCount RecordCount
--- ---- -------------------- ------------------ -------------- --------------- --------- -----------
shared_folder_uid example_new_shared_folder True True True True 1 1Python CLI
Command: list-sf
Options:
pattern: Pattern of the title or UID of the shared folder.-h, --help: show this help message and exit--format: Specifies the output format of thelist-sfcommand. The available options are:table: The Output will be displayed in table format. By default, the output will be in table format.
Example:
--format table
csv: The Output will be displayed in csv format.
Example:
--format csv
json : The Output will be displayed in json format.
Example:
--format json
--output: Users can use this flag to store the output in a file. This flag should not be used when the output format is set to table (--format table).Example:
--output <file_name>
--verbose, -v: verbose output
Example:
My Vault> list-sf
# Shared Folder UID Name
--- ---------------------- -----------------------------------------
1 shared_folder_uid Test Example FolderPython SDK
Function: find_shared_folders
find_shared_folders(self, criteria: str) -> Iterable[vault_types.SharedFolderInfo]Example:
shared_folders = vault.vault_data.find_shared_folders(criteria=pattern)Share folder - Change Record Permissions Command
Allows users to change the permissions of records within a shared folder. Users can add or revoke permissions for individual records as needed.
Dotnet CLI
Command: sf-record
Flag:
-r, --record: The record name or record UID of the item that needs to be shared within the shared folder.-s, --can-share: A Boolean value (trueorfalse). Iftrue, the user has share permission. Iffalse, the edit permission will be removed.-e, --can-edit: A Boolean value (trueorfalse). Iftrue, the user has edit permission. Iffalse, the edit permission will be removed.--expire-at: Expire share at ISO time: YYYY-MM-DD HH:mm:SS--expire-in: Expire share in period: [N]mi|h|d|mo (Minutes / hours / days / months)--help: Display this help screen.--version: Display version information.folder name (pos. 0): Required. folder name
Example:
My Vault> sf-record record_uid
# Record Title Record UID Can Edit Can Share Expiration
--- ------------- ---------------------- -------- --------- ----------
1 ABC record_uid X X
2 Gmail Account record_uid X X
3 Gmail Account record_uid X X
My Vault> sf-record folder_uid --record=record_uid --expire-in=30mi
My Vault> sf-record BRvqCEzmFM9rVqkmpeGs6A
# Record Title Record UID Can Edit Can Share Expiration
--- ------------- ---------------------- -------- --------- ----------------
1 ABC record_uid X X 03-11-2025 18:08
2 Gmail Account record_uid X X
3 Gmail Account record_uid X XDotNet SDK
Function: ChangeRecordInSharedFolder
public async Task ChangeRecordInSharedFolder(string sharedFolderUid, string recordUid, IRecordShareOptions options)Example:
await context.Vault.ChangeRecordInSharedFolder(sf.Uid, recordUid, shareOptions);Python CLI
Command: record-permission
Parameters:
-a,--actionGrant or Revoke (required)folderShared folder uid to which the changes need to be applied (required)
Options:
--dry-runDisplay the permissions changes without committing them--forceApply permission changes without any confirmation-R,--recursiveApply permission changes to all sub-folders--share-recordChange a records sharing permissions--share-folderChange a folders sharing permissions-s,--can-shareSet record permission: can be shared-d,--can-editSet record permission: can be edited--can-edit or --can-share is required
Example:
My Vault> record-permission -a grant --share-record -s -d shared_folder_uid
Request to GRANT "Can Edit" & "Can Share" permission(s) in "my_share" folder onlyLast updated
Was this helpful?

