A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | ||||||||||||||||||||||||||||||
2 | ||||||||||||||||||||||||||||||
3 | ||||||||||||||||||||||||||||||
4 | Common Commands: | PS Mapping: | Command-specific Params: | Misc CLI Options: | Notes | |||||||||||||||||||||||||
5 | ||||||||||||||||||||||||||||||
6 | ✔ | delete | Remove-VaultData | [string]$Path | ||||||||||||||||||||||||||
7 | ✔ | path-help | Get-VaultPathHelp | [string]$Path | ||||||||||||||||||||||||||
8 | ✔ | read | Read-VaultData | [string]$Path | -format=table|json|yaml -field=field | |||||||||||||||||||||||||
9 | ✔ | renew | Update-VaultLease alts?: Restart-VaultLease Reset-VaultLease Restart-VaultSecretLease | [string]$LeaseId, [string]$Increment | -format=table|json|yaml -field=field | |||||||||||||||||||||||||
10 | ✔ | revoke | Revoke-VaultSecret | [string]$LeaseId | ||||||||||||||||||||||||||
11 | Revoke-VaultSecret | [string]$PathPrefix, [switch]$Force | ||||||||||||||||||||||||||||
12 | ✘ | server | No need to start a server | |||||||||||||||||||||||||||
13 | ✔ | status | Get-VaultStatus | |||||||||||||||||||||||||||
14 | ✔ | unwrap | Read-VaultData | [string]$WrappedId | -format=table|json|yaml -field=field | |||||||||||||||||||||||||
15 | ✔ | Read-VaultData | [string]$Path | |||||||||||||||||||||||||||
16 | ✔ | write | Write-VaultData | [string]$Path, [hashtable]$Data | -format=table|json|yaml -field=field | |||||||||||||||||||||||||
17 | ✔ | [string]$Path, [switch]$NoValues | Equivalent 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 | ✔ | auth | New-VaultAuth alts?: Connect-Vault | [string]$AuthMethod, [string]$MountName, [hashtable]$AuthInfo, [switch]$NoVerify | Using auth and auth discovery are split out into 2 separate cmdlets. | |||||||||||||||||||||||||
26 | ✔ | Get-VaultAuthMounts | [switch]$ListMethods | -methods | ||||||||||||||||||||||||||
27 | ✘ | Get-VaultAuthMethod | [string]$AuthMethod | -method-help | The 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 | ✔ | init | Initialize-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 | ✔ | list | Get-VaultDataList | [string]$Path | -format=table|json|yaml | |||||||||||||||||||||||||
43 | ✔ | mount | Mount-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 | ✔ | mounts | Get-VaultSecretMounts | |||||||||||||||||||||||||||
46 | ✔ | policies | Get-VaultPolicy | |||||||||||||||||||||||||||
47 | ✔ | Get-VaultPolicy | [string]$Name | |||||||||||||||||||||||||||
48 | ✔ | policy-delete | Remove-VaultPolicy | [string]$Name | ||||||||||||||||||||||||||
49 | ✔ | policy-write | Set-VaultPolicy | [string]$Name, [string]$Policy | ||||||||||||||||||||||||||
50 | rekey | TODO: | ||||||||||||||||||||||||||||
51 | ✔ | remount | Mount-VaultSecretProvider | [string]$OldMountName, [string]$NewMountName | ParameterSetName="Remount" | |||||||||||||||||||||||||
52 | ? | rotate | Invoke-VaultKeyRotation | |||||||||||||||||||||||||||
53 | ✔ | seal | Lock-VaultServer | |||||||||||||||||||||||||||
54 | ? | ssh | ||||||||||||||||||||||||||||
55 | ? | step-down | Invoke-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 | ✔ | unmount | Dismount-VaultSecretProvider | [string]$Path | ||||||||||||||||||||||||||
67 | ✔ | unseal | Unlock-VaultServer | [string]$Key | -reset | For -reset function, see "seal (Lock-VaultServer)" | ||||||||||||||||||||||||
68 | ✘ | version | Get-VaultVersion | Returns 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 |