ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
1
2
3
4
Common Commands:
PS Mapping:
Command-specific Params:
Misc CLI Options:
Notes
5
6
deleteRemove-VaultData[string]$Path
7
path-helpGet-VaultPathHelp[string]$Path
8
readRead-VaultData[string]$Path-format=table|json|yaml
-field=field
9
renewUpdate-VaultLease
alts?:
Restart-VaultLease
Reset-VaultLease
Restart-VaultSecretLease
[string]$LeaseId, [string]$Increment-format=table|json|yaml
-field=field
10
revokeRevoke-VaultSecret[string]$LeaseId
11
Revoke-VaultSecret[string]$PathPrefix, [switch]$Force
12
serverNo need to start a server
13
statusGet-VaultStatus
14
unwrapRead-VaultData[string]$WrappedId-format=table|json|yaml
-field=field
15
Read-VaultData[string]$Path
16
writeWrite-VaultData[string]$Path, [hashtable]$Data-format=table|json|yaml
-field=field
17
[string]$Path, [switch]$NoValuesEquivalent to -f|-force CLI option
18
19
20
All Other Commands:
21
22
audit-disable
Dismount-VaultAuditProvider[string]$MountName
23
audit-enable
Mount-VaultAuditProvider[string]$Type, [string]$MountName, [hashtable]$Config, [switch]$Local, [string]$Description
24
audit-list
Get-VaultAuditMounts
25
authNew-VaultAuth
alts?:
Connect-Vault
[string]$AuthMethod, [string]$MountName, [hashtable]$AuthInfo, [switch]$NoVerifyUsing auth and auth discovery are split out into 2 separate cmdlets.
26
Get-VaultAuthMounts[switch]$ListMethods-methods
27
Get-VaultAuthMethod[string]$AuthMethod-method-helpThe method-help is "hard-coded" into the CLI client, not something that can be API-queried
28
auth-disable
Dismount-VaultAuthProvider[string]$Path
29
auth-enable
Mount-VaultAuthProvider[string]$Type, [string]$Path, [switch]$Local, [string]$Description
30
capabilities
Get-VaultTokenCapabilities[string]$Path, [string]$Token
31
?
generate-root
32
?Start-VaultRootToken[string]$Otp
33
?Start-VaultRootToken[string]$PgpKey
34
?Stop-VaultRootToken
35
?Step-VaultRootToken[string]$Nonce, [string]$Key
36
?Get-VaultRootToken[switch]$Status
37
?Get-VaultRootToken[switch]$GenerateOtp
38
?Get-VaultRootToken[string]$Otp, [string]$Decode
39
initInitialize-VaultInstance[switch]$Check
40
Initialize-VaultInstance[int]$KeyShares=5, [int]$KeyThreshold=3-stored-shares
-pgp-keys
-root-token-pgp-key
-recovery-shares
-recovery-threshold
-recovery-pgp-keys
-auto
-consule-service
41
key-status
Get-VaultKeyStatus
42
listGet-VaultDataList[string]$Path-format=table|json|yaml
43
mountMount-VaultSecretProvider
alts?:
Enable-VaultSecretProvider
Mount-VaultBackend
Mount-VaultLogicalBackend
[string]$Type, [string]$MountName, [switch]$Local, [string]$Description, [int]$DefaultLeaseTtl, [int]$MaxLeaseTtl, [switch]$NoCache
44
mount-tune
Set-VaultSecretMountOptions[string]$MountName, [int]$DefaultLeaseTtl, [int]$MaxLeaseTtl
45
mountsGet-VaultSecretMounts
46
policiesGet-VaultPolicy
47
Get-VaultPolicy[string]$Name
48
policy-delete
Remove-VaultPolicy[string]$Name
49
policy-write
Set-VaultPolicy[string]$Name, [string]$Policy
50
rekeyTODO:
51
remountMount-VaultSecretProvider[string]$OldMountName, [string]$NewMountNameParameterSetName="Remount"
52
?rotateInvoke-VaultKeyRotation
53
sealLock-VaultServer
54
?ssh
55
?step-downInvoke-VaultStepDown
56
token-create
New-VaultAuthToken[string]$Id, [string]$DisplayName, [string]$InitialTtl, [string]$MaxTtl, [string]$RenewalPeriod, [switch]$Renewable=$true, [hashtable]$Metadata, [switch]$Orphan, [switch]$NoDefaultPolicy, [string[]]$Policy, [int]$UseLimit, [string]$Role-format=table|json|yaml
57
token-lookup
Get-VaultAuthToken[string]$Token-format=table|json|yaml
58
Get-VaultAuthToken[string]$Accessor
59
Get-VaultAuthToken[switch]$Self
60
token-renew
Update-VaultAuthToken[string]$Token, [string]$Increment="3600"-format=table|json|yaml
61
Update-VaultAuthToken[switch]$Self, [string]$Increment="3600"
62
token-revoke
Revoke-VaultAuthToken[string]$Token, [switch]$OrphanChildren
63
Revoke-VaultAuthToken[string]$Accessor
64
Revoke-VaultAuthToken[switch]$Self
65
Revoke-VaultAuthToken[string]$PathPrefix
66
unmountDismount-VaultSecretProvider[string]$Path
67
unsealUnlock-VaultServer[string]$Key-resetFor -reset function, see "seal (Lock-VaultServer)"
68
versionGet-VaultVersionReturns version for current client (i.e. PS Module)
69
example: Vault v0.7.0 ('614deacfca3f3b7162bbf30a36d6fc7362cd47f0')
70
UPDATE: Just do: Get-Module Zyborg.Vault
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100