Skip to content
Vaulthalla LogoVaulthalla

vh role and vh permission

Reference for vh role and vh permission - admin roles, vault roles and the permission flags they grant.

Two kinds of roles decide what an account may do. Admin roles grant server-wide capabilities: user, group, role, vault, API key, encryption key, audit and admin management. Vault roles grant what an account may do inside a vault: list, create, download, delete, rename, move, share, sync, version, tag, metadata, file lock, access and vault management. Aliases include vh roles and vh r.

Permissions are given as --allow-<permission> and --deny-<permission> flags, named as vh permission lists them; any other option is refused as unknown. --from starts a new role from an existing one's permissions.

1vh permission --type user2vh role admin create support-lead --from support --allow-<permission> ...3vh role admin update <role> --allow-stats-view4vh role vault create <name> --allow-<permission> ...

Assigning a vault role to a user, group or linked server is vh vault role assign; see vh vault. See Users, Groups And Roles.

Roles

vh role
CommandArgumentsAliasesEffectSummary
aManage admin roles.
vManage vault roles.

vh role admin

vh role admin
CommandArgumentsAliasesEffectSummary
lsreadList all admin roles in the system.
<role_name>new, add, mkwriteCreate a new admin role with specified permissions.
<role>remove, del, rmdestructiveDelete an existing admin role by ID or name.
<role>show, getreadDisplay detailed information about a specific admin role.
<role>set, modify, editwriteUpdate properties and permissions of an existing admin role.

vh role admin list

vh role admin list [options]
vh role admin list
OptionAliasesTypeDefaultSummary
-nlimitLimit the number of vaults displayed.
-ppageSpecify the page number when using --limit for pagination.
fieldSort by this field.
asc or descSort direction: asc or desc.
textOnly show entries matching this text.
-jflagOutput in JSON format.

vh role admin create

vh role admin create <role_name> [--description <description>] [--from id|name]
vh role admin create
OptionAliasesTypeDefaultSummary
--desc, -ddescriptionDescription of the role.
id or nameInherit permissions from an existing role ID or name.

vh role admin delete

vh role admin delete <role>

vh role admin info

vh role admin info <role>

vh role admin update

vh role admin update <role> [--description <description>] [--name <new_name>]
vh role admin update
OptionAliasesTypeDefaultSummary
--desc, -ddescriptionDescription of the role.
new_nameNew name for the role.

vh role vault

vh role vault
CommandArgumentsAliasesEffectSummary
lsreadList all vault roles in the system.
<role_name>new, add, mkwriteCreate a new vault role with specified permissions.
<role>remove, del, rmdestructiveDelete an existing vault role by ID or name.
<role>show, getreadDisplay detailed information about a specific vault role.
<role>set, modify, editwriteUpdate properties and permissions of an existing vault role.

vh role vault list

vh role vault list [options]
vh role vault list
OptionAliasesTypeDefaultSummary
-nlimitLimit the number of vaults displayed.
-ppageSpecify the page number when using --limit for pagination.
fieldSort by this field.
asc or descSort direction: asc or desc.
textOnly show entries matching this text.
-jflagOutput in JSON format.

vh role vault create

vh role vault create <role_name> [--description <description>] [--from id|name]
vh role vault create
OptionAliasesTypeDefaultSummary
--desc, -ddescriptionDescription of the role.
id or nameInherit permissions from an existing role ID or name.

vh role vault delete

vh role vault delete <role>

vh role vault info

vh role vault info <role>

vh role vault update

vh role vault update <role> [--description <description>] [--name <new_name>]
vh role vault update
OptionAliasesTypeDefaultSummary
--desc, -ddescriptionDescription of the role.
new_nameNew name for the role.

Permission Flags

vh permission [--type user|vault] [--user] [--vault]
1vh permissions2vh permissions --type user3vh permissions --type vault
vh permission
OptionAliasesTypeDefaultSummary
user or vaultbothFilter permissions by type.
-uflagFilter permissions for user roles.
-vflagFilter permissions for vault roles.