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:
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:
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:
Last updated
Was this helpful?

