hc-github-team-secure-vault-core
36365ed7f4
backport of commit 3a46ecc389e9096ccea6c6f847b68ada7f8068d7 ( #21362 )
...
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-21 14:01:13 +00:00
Hamid Ghaf
bf96f63649
CLI to take days as a unit of time ( #20477 )
...
* CLI to take days as a unit of time
* CL
2023-05-04 08:03:37 -07:00
Hamid Ghaf
27bb03bbc0
adding copyright header ( #19555 )
...
* adding copyright header
* fix fmt and a test
2023-03-15 09:00:52 -07:00
Peter Wilson
5f5cad736a
VAULT-12264: Fix log rotation params which require an integer ( #18666 )
...
* integer values for some log flags
* Adjusted `log_flags` to expect `int` for max files and max bytes
* Updated `server` and `agent`
Renamed updateConfig (and updateLogConfig)
* Added int log params to test
* Adjust config/params so we can identify when they're not present
* Removed pointer confusion
2023-01-11 20:04:57 +00:00
Alexander Scheel
8750512f9f
Fix integer overflows with new parseutil ( #15437 )
...
* Use new parseutil helper: Safe variants
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Update parseutil to v0.1.5
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
* Fix additional integer overflow in command/server
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-05-16 13:57:19 -04:00
akshya96
0858af2685
Vault3991 Fix lower bound check ( #13727 )
...
* code scanning alerts changes
* adding changelog
* fixing lower bound check
2022-01-20 12:05:22 -08:00
akshya96
319a76d8d1
Vault-3991 Code Scanning Alerts Changes ( #13667 )
...
* code scanning alerts changes
* adding changelog
2022-01-14 15:35:27 -08:00
Brian Kassouf
c705adc79c
Fix some linting errors ( #12860 )
2021-10-18 17:29:47 -07:00
Brian Kassouf
303c2aee7c
Run a more strict formatter over the code ( #11312 )
...
* Update tooling
* Run gofumpt
* go mod vendor
2021-04-08 09:43:39 -07:00
Vishal Nayak
565568f7fa
Bool pointer flag ( #10988 )
...
* Bool pointer flag
* Add default handling
* Support Hidden and EnvVar
* Adjust error handling
* Add test steps; Fix hidden
2021-02-24 10:45:03 -05:00
Mark Gritter
6d1b71962f
Add date/time argument type. ( #9817 )
...
* Add date/time argument type.
* Add an argument to select which time formats are valid.
* Increase minimum date for epoch timestamps to avoid ambiguity.
2020-08-26 14:40:23 -05:00
Vishal Nayak
ac2b499fc9
Support reading Vault's address from Agent's config file ( #6306 )
...
* Support reading Vault's address from Agent's config file
* use consts and switch
* Add tls options to agent config vault block
* Update command/agent/config/config.go
Co-Authored-By: vishalnayak <vishalnayak@users.noreply.github.com>
* remove fmt.Printfs
2019-02-28 17:29:28 -05:00
Jeff Mitchell
66a0029195
Sync some ns stuff to api/command
2018-08-22 14:37:40 -04:00
zhogov
5c472429c2
Fixed parsing of environment variables ( #4925 )
2018-07-13 10:45:35 -07:00
Seth Vargo
bfdc295ffb
Properly parse envvars for bools ( #4882 )
...
Fixes GH-4875
2018-07-09 13:43:46 -07:00
Vishal Nayak
28e3eb9e2c
Errwrap everywhere ( #4252 )
...
* package api
* package builtin/credential
* package builtin/logical
* package command
* package helper
* package http and logical
* package physical
* package shamir
* package vault
* package vault
* address feedback
* more fixes
2018-04-05 11:49:21 -04:00
Seth Vargo
f851309361
Add a custom flag for specifying "system" ttls
2017-10-24 09:30:48 -04:00
Seth Vargo
5d31c4cb08
Allow hiding flags
2017-10-24 09:28:05 -04:00
Seth Vargo
0f2905fd7c
Only print default values if they are non-zero
2017-10-24 09:26:44 -04:00
Seth Vargo
cc0140be80
Add start of base command, flags, prediction
2017-10-24 09:26:44 -04:00