7782 Commits

Author SHA1 Message Date
Jeff Mitchell
958c4aeddd Fix tests 2017-05-12 14:12:53 -04:00
Jeff Mitchell
3d34c087a1 Don't allow parent references in file paths 2017-05-12 13:52:33 -04:00
Martins Sipenko
b8c4c3e26b Update aws.html.md (#2715) 2017-05-12 12:10:11 -04:00
Brian Kassouf
162324cd44 Merge pull request #2718 from hashicorp/doc-updates
Add plugin level docs for what statements are supported and how they …
2017-05-12 08:12:27 -07:00
Calvin Leung Huang
9de6563abe Add mongodb plugin to builtin list 2017-05-11 19:29:28 -04:00
Calvin Leung Huang
75468ab3cb changelog++ 2017-05-11 17:42:30 -04:00
Calvin Leung Huang
a4c652cbb3 Mongodb plugin (#2698)
* WIP on mongodb plugin

* Add mongodb plugin

* Add tests

* Update mongodb.CreateUser() comment

* Update docs

* Add missing docs

* Fix mongodb docs

* Minor comment and test updates

* Fix imports

* Fix dockertest import

* Set c.Initialized at the end, check for empty CreationStmts first on CreateUser

* Remove Initialized check on Connection()

* Add back Initialized check

* Update docs

* Move connProducer and credsProducer into pkg for  mongodb and cassandra

* Chage parseMongoURL to be a private func

* Default to admin if no db is provided in creation_statements

* Update comments and docs
2017-05-11 17:38:54 -04:00
Brian Kassouf
b203d51068 Merge pull request #2719 from jvoorhis/freshen-s3-storage-backend-docs
Update the S3 storage backend docs to reflect capabilities.
2017-05-11 14:35:46 -07:00
Jeremy Voorhis
9bc3425424 Update the S3 storage backend docs to reflect capabilities. 2017-05-11 14:30:05 -07:00
Jeff Mitchell
96b57b89f6 changelog++ 2017-05-11 16:41:05 -04:00
Brian Kassouf
c55fd585f3 Add plugin level docs for what statements are supported and how they should be formatted 2017-05-11 11:59:58 -07:00
Seth Rutner
8675332afa Fix typos in error message (#2692) 2017-05-10 10:28:35 -04:00
Chris Hoffman
41b7660731 adding leases documentation redirects (#2707) 2017-05-10 09:43:09 -04:00
Chris Hoffman
08daef9843 Updating key export documentation for transit (#2706) 2017-05-10 09:27:03 -04:00
Cameron Stokes
365c71800f [docs] Update glossary for auth backend terminology. (#2703) 2017-05-09 22:17:32 -04:00
Jeff Mitchell
eb0e7cd0d2 Don't write salts in initialization, look up on demand (#2702) 2017-05-09 17:51:09 -04:00
Seth Vargo
254ed1f744
Update builder, allow disabling redirects 2017-05-09 17:00:34 -04:00
Seth Vargo
9c53a2e60e Merge pull request #2693 from hashicorp/sethvargo/csr
Add project-side redirects
2017-05-09 16:23:21 -04:00
Seth Vargo
ba43a55508
Add project-side redirects 2017-05-09 16:07:55 -04:00
Jeff Mitchell
91d7124b7b changelog++ 2017-05-09 14:06:13 -04:00
Jeff Mitchell
ca61ef7bbe Allow non-strings to be used to set ttl field in generic. (#2699) 2017-05-09 14:05:00 -04:00
Tim Stamp
6f030e4351 Header Type Typo (#2695)
Header 'Update Key Configuration' should be a H2 not a H4.
2017-05-09 09:57:23 -04:00
Gregory Collins
c3251b27b8 Fix command docstring typo: wrappping -> wrapping. (#2696) 2017-05-09 09:56:54 -04:00
Jeff Mitchell
f163852d8c Update/clarify docs on generic backend ttl.
Ping #2697
2017-05-09 09:56:11 -04:00
Jeff Mitchell
9682895d80 changelog++ 2017-05-09 09:51:40 -04:00
Jeff Mitchell
7580b7f18f Increase plugin wrapping token time to 60 seconds; 10 can be too short as seen in tests 2017-05-09 09:50:07 -04:00
Jeff Mitchell
803301d230 Fix mount test 2017-05-09 09:49:45 -04:00
Jeff Mitchell
d10d291f25 Ensure we aren't leaking any open FDs in the file backend if we hit certain error conditions 2017-05-09 09:24:43 -04:00
Jeff Mitchell
2e567bd5e7 Only run cassandra tests on Travis for right now 2017-05-09 08:36:20 -04:00
Jeff Mitchell
37d9b58769 Fix local check on singleton required mounts 2017-05-09 08:36:10 -04:00
Jeff Mitchell
d28dd5a018
Cut version 0.7.2 v0.7.2 2017-05-08 17:11:53 -04:00
Jeff Mitchell
770db9e88b Bump versions 2017-05-08 16:19:41 -04:00
Jeff Mitchell
a087e9b129 changelog++ 2017-05-08 16:18:22 -04:00
Jeff Mitchell
5815fc2627 Add salt mutex to app-id (#2690) 2017-05-08 16:15:24 -04:00
Jeff Mitchell
a829b125e1 Don't hash time.Time values in return data maps, they may be useful for reconciling values and are not generally secret 2017-05-08 14:19:42 -04:00
Mitchell Hashimoto
4dc061e923 audit: hash time.Time values in map fields (#2689)
This enables audit.Hash to hash time.Time values that may exist as
direct fields in the map. This will error (instead of panic) for any
time.Time values that don't occur within map values. For example, this
does not support a time.Time within a slice. If that needs to be
supported then modifications will need to be made.

This also requires an update to reflectwalk (included in this PR). This
is a minimal change that allows SkipEntry to signal to skip an entire
struct. We do this because we don't want to walk any of time.Time since
we handle it directly.
2017-05-08 14:06:08 -04:00
Jeff Mitchell
9d04834c9d Add commenting to singletonMountTables 2017-05-08 13:39:18 -04:00
Jeff Mitchell
dc2794d3af Fix imports.
Closes #2688
2017-05-08 10:23:29 -04:00
Jeff Mitchell
92dd48be2e Don't load a required mount if in secondary mode, let sync invalidate do that 2017-05-05 19:40:26 -04:00
Jeff Mitchell
250b23244c Move singleton mount fetching function to mount.go and fix tests 2017-05-05 17:20:30 -04:00
Jeff Mitchell
a6f29c68e6 Add token to singleton mounts 2017-05-05 16:45:48 -04:00
Jeff Mitchell
8e802852fc Merge pull request #2682 from hashicorp/skip-init
Add logic to skip initialization in some cases and some invalidation logic
2017-05-05 16:44:37 -04:00
Jeff Mitchell
2fbd973001 Add logic to skip initialization in some cases and some invalidation logic 2017-05-05 15:01:52 -04:00
Jeff Mitchell
1767ced3a3
Cut version 0.7.1 v0.7.1 2017-05-05 11:58:40 -04:00
Jeff Mitchell
c7b8f4aab8 Prep for 0.7.1 2017-05-05 11:46:43 -04:00
Jeff Mitchell
ae8f0d9397 changelog++ 2017-05-05 11:39:52 -04:00
vishalnayak
9e653d2c23 auth/token/tidy log level update 2017-05-05 11:16:13 -04:00
Jeff Mitchell
2f1f4ccf58 Merge pull request #2452 from hashicorp/sys-tidy-leases
Cleaning of stale leases
2017-05-05 10:54:25 -04:00
Jeff Mitchell
0e10477b06 Merge branch 'master-oss' into sys-tidy-leases 2017-05-05 10:53:41 -04:00
Jeff Mitchell
e61298e6d4 Update debugging around tidy 2017-05-05 10:48:12 -04:00