9692 Commits

Author SHA1 Message Date
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
Jeff Mitchell
5dde45d677 Address feedback 2017-05-05 10:26:40 -04:00
Brian Kassouf
509de6f8a0 Update postgresql.html.md 2017-05-04 17:56:09 -07:00
Brian Kassouf
3ea4a0c3b6 Update mysql-maria.html.md 2017-05-04 17:55:50 -07:00
Brian Kassouf
42e6535b79 Update mssql.html.md 2017-05-04 17:55:30 -07:00
Brian Kassouf
7b69ae9a2a changelog++ 2017-05-04 15:29:05 -07:00
Brian Kassouf
f4eecb8845 Changelog++ 2017-05-04 15:27:43 -07:00
Brian Kassouf
f4ae1ff3f6 Merge pull request #2200 from hashicorp/database-refactor
Combined Database Backend with Plugins
2017-05-04 14:08:02 -07:00
Brian Kassouf
c48b7fa8db Few docs updates 2017-05-04 14:07:12 -07:00
Jeff Mitchell
0c683bd037 changelog++ 2017-05-04 16:59:44 -04:00
Jeff Mitchell
fe97641769 Make path-help request forward (#2677) 2017-05-04 16:58:50 -04:00
Calvin Leung Huang
3f7ea0d4ea Merge branch 'database-refactor' of github.com:hashicorp/vault into database-refactor 2017-05-04 16:46:47 -04:00
Calvin Leung Huang
65b7bba360 Update mssql docs 2017-05-04 16:46:34 -04:00
Brian Kassouf
2e82e00f49 update docs 2017-05-04 13:38:49 -07:00
Brian Kassouf
ef0b381dee changelog++ 2017-05-04 12:49:47 -07:00
Brian Kassouf
051fa58c03 changelog++ 2017-05-04 12:48:52 -07:00
Brian Kassouf
fcd4f903c3 Merge remote-tracking branch 'oss/master' into database-refactor 2017-05-04 12:40:00 -07:00
Brian Kassouf
17bea6540b Don't store the plugin directory prepended command in the barrier, prepend on get 2017-05-04 12:36:06 -07:00
Brian Kassouf
886f873ffc Update docs and return a better error message 2017-05-04 11:45:27 -07:00
mymercurialsky
461d658e88 Implemented TOTP Secret Backend (#2492)
* Initialized basic outline of TOTP backend using Postgresql backend as template

* Updated TOTP backend.go's structure and help string

* Updated TOTP path_roles.go's structure and help strings

* Updated TOTP path_role_create.go's structure and help strings

* Fixed typo in path_roles.go

* Fixed errors in path_role_create.go and path_roles.go

* Added TOTP secret backend information to cli commands

* Fixed build errors in path_roles.go and path_role_create.go

* Changed field values of period and digits from uint to int, added uint conversion of period when generating passwords

* Initialized TOTP test file based on structure of postgresql test file

* Added enforcement of input values

* Added otp library to vendor folder

* Added test steps and cleaned up errors

* Modified read credential test step, not working yet

* Use of vendored package not allowed - Test error

* Removed vendor files for TOTP library

* Revert "Removed vendor files for TOTP library"

This reverts commit fcd030994bc1741dbf490f3995944e091b11da61.

* Hopefully fixed vendor folder issue with TOTP Library

* Added additional tests for TOTP backend

* Cleaned up comments in TOTP backend_test.go

* Added default values of period, algorithm and digits to field schema

* Changed account_name and issuer fields to optional

* Removed MD5 as a hash algorithm option

* Implemented requested pull request changes

* Added ability to validate TOTP codes

* Added ability to have a key generated

* Added skew, qr size and key size parameters

* Reset vendor.json prior to merge

* Readded otp and barcode libraries to vendor.json

* Modified help strings for path_role_create.go

* Fixed test issue in testAccStepReadRole

* Cleaned up error formatting, variable names and path names. Also added some additional documentation

* Moveed barcode and url output to key creation function and did some additional cleanup based on requested changes

* Added ability to pass in TOTP urls

* Added additional tests for TOTP server functions

* Removed unused QRSize, URL and Generate members of keyEntry struct

* Removed unnecessary urlstring variable from pathKeyCreate

* Added website documentation for TOTP secret backend

* Added errors if generate is true and url or key is passed, removed logger from backend, and revised parameter documentation.

* Updated website documentation and added QR example

* Added exported variable and ability to disable QR generation, cleaned up error reporting, changed default skew value, updated documentation and added additional tests

* Updated API documentation to inlude to exported variable and qr size option

* Cleaned up return statements in path_code, added error handling while validating codes and clarified documentation for generate parameters in path_keys
2017-05-04 10:49:42 -07:00
Brian Kassouf
55f1f5116a Merge remote-tracking branch 'oss/master' into database-refactor 2017-05-04 10:45:18 -07:00
Brian Kassouf
c825362304 PR comments 2017-05-04 10:41:59 -07:00
Jeff Mitchell
1378dd5c6a Move client token check in exp register to top 2017-05-04 12:45:57 -04:00
Jeff Mitchell
782910736c Update comments 2017-05-04 12:44:31 -04:00
vishalnayak
106f08a0ff Fix up the tests 2017-05-04 12:41:15 -04:00
vishalnayak
4de09fbad9 Update Tidy function comment 2017-05-04 12:11:00 -04:00
Jeff Mitchell
cacf07210b Update commenting 2017-05-04 11:54:57 -04:00
Jeff Mitchell
5320da03bb Move tidy-leases to leases/tidy 2017-05-04 09:40:11 -04:00
Jeff Mitchell
f1d2fc3a65 Merge branch 'master-oss' into sys-tidy-leases 2017-05-04 09:37:52 -04:00
Jeff Mitchell
4b6d4e9e83 changelog++ 2017-05-04 09:28:14 -04:00
Chris Hoffman
3919f4b21e changelog++ 2017-05-04 09:11:49 -04:00
Jeff Mitchell
86dcd3d379 changelog++ 2017-05-04 06:43:08 -04:00
Jeff Mitchell
b54ea7b956 Write always needs a path, even with force. (#2675)
Fixes #2674
2017-05-04 06:40:58 -04:00
Jeff Mitchell
ee2dd47667 changelog++ 2017-05-04 06:37:45 -04:00
Chris Hoffman
4490e93395 Add the ability to view and list of leases metadata (#2650) 2017-05-03 22:03:42 -04:00
Brian Kassouf
9e28b03c9b add new mysql plugin names and fix grammar 2017-05-03 18:41:39 -07:00
Brian Kassouf
2af2b855f5 Feedback from PR 2017-05-03 17:37:34 -07:00
Jeff Mitchell
9ff0d20036 Fix comment typo 2017-05-03 20:25:55 -04:00
Jeff Mitchell
7201d92500 Add sys/leases/lookup and sys/leases/renew to the default policy 2017-05-03 20:22:16 -04:00
Brian Kassouf
a3619c4521 Update databse backend tests to use the APIClientMeta for the plugin conns 2017-05-03 16:34:09 -07:00
Brian Kassouf
3fcf1ad442 Fix the TLS functionality in cassandra plugin 2017-05-03 15:36:49 -07:00