Pawel Gorczynski
953be252cd
Extended info message regarding VAULT_ADDR env variable for Windows when running server -dev
( #5970 )
...
* Improved info message for Windows when running `server -dev`
Improvement for https://github.com/hashicorp/vault/issues/3405
* output updated to:
You may need to set the following environment variable:
PowerShell:
$env:VAULT_ADDR="http://127.0.0.1:8200 "
cmd.exe:
set VAULT_ADDR=http://127.0.0.1:8200
2018-12-20 10:27:21 -08:00
Brian Kassouf
325c3acbb5
Update operator_rekey.go ( #5983 )
2018-12-20 09:05:50 -08:00
Jim Kalafut
2547d7fb6a
Simplify base62.Random ( #5982 )
...
Also move existing base62 encode/decode operations to their only points
of use.
2018-12-20 07:40:01 -08:00
Jeff Mitchell
fff8976671
Update backwards compat fix from 5913
2018-12-12 15:36:28 -05:00
Calvin Leung Huang
351b707e18
cli/json: correctly output the number of key shares and threshold on stored keys ( #5910 )
2018-12-12 15:26:11 -05:00
Chris Hoffman
555b914695
adding -dev-kv-v1 flag for forcing kvv1 ( #5919 )
2018-12-12 12:07:18 -08:00
Calvin Leung Huang
e71017e5a9
Set request token entry within fetchACLTokenEntryAndEntity ( #5880 )
2018-12-03 11:57:53 -05:00
Clint Shryock
37e75a95c7
fix typo in comment
2018-11-28 10:06:23 -06:00
Matthew Irish
08ca544273
plumb policy-override flag to the CLI ( #5826 )
2018-11-20 11:33:00 -06:00
Becca Petrin
a96f1f75ee
Restore plugin name for backwards compatibility ( #5825 )
...
* re-add plugin name for backwards compat
* add plugin name to table for backwards compat
* conditionally set the plugin name
* Update command/auth_list.go
Co-Authored-By: tyrannosaurus-becks <beccapetrin@posteo.net>
* Update command/secrets_list.go
Co-Authored-By: tyrannosaurus-becks <beccapetrin@posteo.net>
* update auth and secrets list commands
* add comments regarding deprecation
2018-11-19 16:41:17 -08:00
Julien Balestra
a60ed6a53c
agent: fix auth when multiple redirects ( #5814 )
2018-11-19 15:50:42 -08:00
Clint
dfe585c7f7
Agent kube projected token ( #5725 )
...
* Add support for custom JWT path in Agent: kubernetes auth
- add support for "token_path" configuration
- add a reader for mocking in tests
* add documentation for token_path
2018-11-19 14:28:17 -08:00
Calvin Leung Huang
ad3e105012
Mount tune options ( #5809 )
...
* Refactor mount tune to support upsert options values and unset options.
* Do not allow unsetting options map
* add secret tune version regression test
* Only accept valid options version
* s/meVersion/optVersion/
2018-11-19 14:23:25 -08:00
Brian Kassouf
33776b89c2
Wrap storage calls with encoding checks ( #5819 )
...
* Add encoding backend
* More work on encoding checks
* Update error message
* Update physical/encoding.go
* Disable key checks if configured
2018-11-19 13:13:16 -08:00
Jim Kalafut
824c02a234
Show migration check error ( #5806 )
2018-11-16 15:09:35 -08:00
Calvin Leung Huang
227a664b06
Continue on plugin registration error in dev mode ( #5791 )
...
* Continue on plugin registration error in dev mode
* Continue only on unknown type error
* Continue only on unknown type error
* Print plugin registration error on exit
Co-Authored-By: calvn <cleung2010@gmail.com>
2018-11-15 16:55:24 -08:00
Calvin Leung Huang
e99957aed9
Support registering plugin with name only ( #5787 )
...
* Support registering plugin with name only
* Make RegisterPlugin backwards compatible
* Add CLI backwards compat command to plugin info and deregister
* Add server-side deprecation warnings if old read/dereg API endpoints are called
* Address feedback
2018-11-15 14:33:11 -08:00
Jeff Mitchell
3de2ebd256
Explicitly state that secrets move doesn't work across namespaces
2018-11-07 11:07:19 -05:00
Becca Petrin
7bd22e6779
Run all builtins as plugins ( #5536 )
2018-11-06 17:21:24 -08:00
Calvin Leung Huang
ef8f40647a
Bump timeout due to potential backoff retry delay ( #5706 )
2018-11-06 11:06:06 -08:00
Calvin Leung Huang
46f37f3363
Add HSMAutoDeprecated for ent upgrade ( #5704 )
2018-11-06 09:42:03 -08:00
Jeff Mitchell
41649c1511
Clean up stored barrier keys after migration to shamir ( #5671 )
2018-11-05 14:06:39 -05:00
Calvin Leung Huang
c5c6588f7e
Bump timeout due to potential backoff retry delay ( #5663 )
2018-11-02 13:22:15 -07:00
Jim Kalafut
b1bc2a6b2b
Fix a few vet warnings ( #5674 )
2018-11-02 13:21:44 -07:00
Becca Petrin
f99d65bdc3
fix typo in test name
2018-11-01 16:06:35 -07:00
Dilan Bellinghoven
5109be59a6
command/agent/sink/sink.go: This fix solves the problem where when multiple file sinks are specified in the agent HCL file, there is unexpected behavior ( #5610 )
2018-11-01 14:44:13 -07:00
Brian Shumate
9c06c53542
Fix typo ( #5661 )
2018-11-01 10:13:20 -04:00
Jim Kalafut
11d7f7eb13
Add memory profiling for custom builds ( #5584 )
2018-10-31 11:11:45 -07:00
Jeff Mitchell
605a7e30ad
Add the ability for secret IDs in agent approle to be wrapped ( #5654 )
2018-10-30 20:53:49 -04:00
Jeff Mitchell
6d20c8fce2
Add approle agent method removing secret ID file by default. ( #5648 )
...
Also, massively update tests.
2018-10-30 14:09:04 -04:00
Aleksey Zhukov
5361205d5b
WIP Agent AppRole auto-auth ( #5621 )
2018-10-30 12:17:19 -04:00
Chris Hoffman
8c88eb3e2a
Add -dev-auto-seal option ( #5629 )
...
* adding a -dev-auto-seal option
* adding logger to TestSeal
2018-10-29 09:30:24 -04:00
Jeff Mitchell
2c17930aaf
Remove agent reauthentication on new credentials. ( #5615 )
...
Functionality is left in for use in testing (where it is indeed quite
useful).
Fixes #5522
2018-10-27 10:45:55 -07:00
Jim Kalafut
fa462c72f9
Fix command panic by returning empty (not nil) map ( #5603 )
...
Fixes #5600
2018-10-24 13:08:40 -07:00
Jeff Mitchell
91a970b81d
Fix build
2018-10-23 15:09:35 -04:00
Jeff Mitchell
a979f49cd7
Add disable-indexing
2018-10-23 15:03:17 -04:00
Jeff Mitchell
2526ce2ce6
Fix build
2018-10-23 04:12:23 -04:00
Jeff Mitchell
b2f2568a21
Merge branch 'master-oss' into 1.0-beta-oss
2018-10-23 04:02:28 -04:00
Jeff Mitchell
fe770ed284
Change deprecation warning to 1.1
2018-10-23 02:44:57 -04:00
Chris Hoffman
dec2eb88b6
adding gcpkms secrets engine ( #784 )
2018-10-22 23:39:25 -07:00
Jeff Mitchell
82992d6097
Seal migration (OSS) ( #781 )
2018-10-22 23:34:02 -07:00
Vishal Nayak
699b18ee09
Fix flag name for kv help text ( #5580 )
2018-10-22 15:22:43 -04:00
Calvin Leung Huang
a08ccbffa7
[Review Only] Autoseal OSS port ( #757 )
...
* Port awskms autoseal
* Rename files
* WIP autoseal
* Fix protobuf conflict
* Expose some structs to properly allow encrypting stored keys
* Update awskms with the latest changes
* Add KeyGuard implementation to abstract encryption/decryption of keys
* Fully decouple seal.Access implementations from sealwrap structs
* Add extra line to proto files, comment update
* Update seal_access_entry.go
* govendor sync
* Add endpoint info to configureAWSKMSSeal
* Update comment
* Refactor structs
* Update make proto
* Remove remove KeyGuard, move encrypt/decrypt to autoSeal
* Add rest of seals, update VerifyRecoveryKeys, add deps
* Fix some merge conflicts via govendor updates
* Rename SealWrapEntry to EncryptedBlobInfo
* Remove barrier type upgrade check in oss
* Add key to EncryptedBlobInfo proto
* Update barrierTypeUpgradeCheck signature
2018-10-19 14:43:57 -07:00
Jeff Mitchell
224fbd4a88
Merge branch 'master-oss' into 1.0-beta-oss
2018-10-16 10:08:03 -04:00
Jeff Mitchell
04e3f9b0f3
Add LastWAL in leader/health output ( #5523 )
2018-10-16 09:38:44 -04:00
Jeff Mitchell
a64fc7d7cb
Batch tokens ( #755 )
2018-10-15 12:56:24 -04:00
Jeff Mitchell
af73c5872d
Buffer authhandler output channel to prevent hang on shutdown ( #5507 )
...
Fixes #5026
2018-10-15 11:02:53 -04:00
Jim Kalafut
123e34f4a7
Don't copy HA lock file during migration ( #5503 )
2018-10-12 09:29:15 -07:00
Jeff Mitchell
646bfc6d5d
Warn when users don't configure api_addr ( #5496 )
...
Fixes some sources of user strife
2018-10-10 14:52:00 -04:00
Calvin Leung Huang
b47e648ddf
Logger cleanup ( #5480 )
2018-10-09 09:43:17 -07:00