9692 Commits

Author SHA1 Message Date
vishalnayak
e52625d375 Revoke lease that has empty token; added logs 2017-04-26 15:48:28 -04:00
vishalnayak
3477038c9f Added atomic lock to ensure a single tidy operation is in progress 2017-04-26 15:07:58 -04:00
vishalnayak
14aaa0a79c Merge branch 'oss' into clean-stale-leases 2017-04-26 15:07:27 -04:00
Jeff Mitchell
cbb873d241 Update error message to distinguish tree revocation issue from non-tree 2017-04-26 14:06:45 -04:00
Brian Kassouf
cb13786f0a Fix MSSQL test 2017-04-26 10:52:10 -07:00
Brian Kassouf
dc9740d97a Add mssql builtin plugin type 2017-04-26 10:34:45 -07:00
Brian Kassouf
d8dbfc6a0c Update the error messages for renew and revoke 2017-04-26 10:29:16 -07:00
Brian Kassouf
37aacba0da Change ttl types to TypeDurationSecond 2017-04-26 10:02:37 -07:00
Calvin Leung Huang
4bf51ca52c Fix crl_util test 2017-04-26 09:58:34 -04:00
Calvin Leung Huang
c269fe1ce0 Tests for cert and crl util 2017-04-26 02:46:01 -04:00
Brian Kassouf
6131bdd3b9 Default deny when allowed roles is empty 2017-04-25 11:48:24 -07:00
Brian Kassouf
e18757628c Update the connection details data and fix allowedRoles 2017-04-25 11:11:10 -07:00
Brian Kassouf
58b0bbd477 Rename path_role_create to path_creds_create 2017-04-25 10:39:17 -07:00
Brian Kassouf
22612adefc Use TypeCommaStringSlice for allowed_roles 2017-04-25 10:26:23 -07:00
Brian Kassouf
6741811407 Update logging to new structure 2017-04-25 10:24:19 -07:00
Jeff Mitchell
5deb20b29a Fix types of listener options, currently they're all strings 2017-04-25 11:20:48 -04:00
Jeff Mitchell
d026b6816a Further Sethisize loglevel inputz 2017-04-25 11:14:25 -04:00
Jeff Mitchell
00beeeba2f Sethisize log level 2017-04-25 11:12:38 -04:00
Brian Kassouf
630962bc96 Update test to reflect the correct read response 2017-04-24 21:24:19 -07:00
Brian Kassouf
57f78c4cd5 return a 404 when no plugin is found 2017-04-24 18:31:27 -07:00
Brian Kassouf
1971d65ea3 Only run Abs on the plugin directory if it's set 2017-04-24 16:20:20 -07:00
Brian Kassouf
194695f1fa Don't uppercase ErrorResponses 2017-04-24 14:03:48 -07:00
Brian Kassouf
f6b96ccfa2 s/DatabaseType/Database/ 2017-04-24 13:59:12 -07:00
Brian Kassouf
4315e68971 Fix test 2017-04-24 13:48:46 -07:00
Brian Kassouf
7e3f5e6985 Update root paths test 2017-04-24 12:47:40 -07:00
Seth Vargo
97db657397 Make sidebar a bit wider on smaller screens (#2638) 2017-04-24 15:39:58 -04:00
Jeff Mitchell
9b8b78cf3d changelog++ 2017-04-24 15:37:54 -04:00
vishalnayak
1f8f146508 changelog++ 2017-04-24 15:35:00 -04:00
Brian Kassouf
4c306bd76e Change MlockDisabled to MlockEnabled 2017-04-24 12:21:49 -07:00
Joel Thompson
5a934e6b2f Create unified aws auth backend (#2441)
* Rename builtin/credential/aws-ec2 to aws

The aws-ec2 authentication backend is being expanded and will become the
generic aws backend. This is a small rename commit to keep the commit
history clean.

* Expand aws-ec2 backend to more generic aws

This adds the ability to authenticate arbitrary AWS IAM principals using
AWS's sts:GetCallerIdentity method. The AWS-EC2 auth backend is being to
just AWS with the expansion.

* Add missing aws auth handler to CLI

This was omitted from the previous commit

* aws auth backend general variable name cleanup

Also fixed a bug where allowed auth types weren't being checked upon
login, and added tests for it.

* Update docs for the aws auth backend

* Refactor aws bind validation

* Fix env var override in aws backend test

Intent is to override the AWS environment variables with the TEST_*
versions if they are set, but the reverse was happening.

* Update docs on use of IAM authentication profile

AWS now allows you to change the instance profile of a running instance,
so the use case of "a long-lived instance that's not in an instance
profile" no longer means you have to use the the EC2 auth method. You
can now just change the instance profile on the fly.

* Fix typo in aws auth cli help

* Respond to PR feedback

* More PR feedback

* Respond to additional PR feedback

* Address more feedback on aws auth PR

* Make aws auth_type immutable per role

* Address more aws auth PR feedback

* Address more iam auth PR feedback

* Rename aws-ec2.html.md to aws.html.md

Per PR feedback, to go along with new backend name.

* Add MountType to logical.Request

* Make default aws auth_type dependent upon MountType

When MountType is aws-ec2, default to ec2 auth_type for backwards
compatibility with legacy roles. Otherwise, default to iam.

* Pass MountPoint and MountType back up to the core

Previously the request router reset the MountPoint and MountType back to
the empty string before returning to the core. This ensures they get set
back to the correct values.
2017-04-24 15:15:50 -04:00
Brian Kassouf
4cda9ea3fe Update the ResponseWrapData function to return a wrapping.ResponseWrapInfo object 2017-04-24 12:15:01 -07:00
Brian Kassouf
707e6caf0c Update path for the plugin catalog in logical system 2017-04-24 11:35:32 -07:00
Brian Kassouf
f4ef3df4bd Update the builtin keys; move catalog to core; protect against unset plugin directory 2017-04-24 10:30:33 -07:00
Jeff Mitchell
7bce60290f Add linux/arm64 build.
Fixes #2630
2017-04-24 09:35:36 -04:00
Calvin Leung Huang
2faa08dfba Remove commented old method signature 2017-04-23 00:04:05 -04:00
Calvin Leung Huang
c5d5abef11 Add cassandra plugin 2017-04-23 09:02:57 +08:00
Matthew Gallagher
b20afce73f Remove mention of Darwin mlock support from docs. (#2624) 2017-04-22 16:56:01 -04:00
Jeff Mitchell
028ea4cb0f List should use a trailing slash 2017-04-21 15:37:43 -04:00
Brian Kassouf
3ceb7b69e1 Fix tests 2017-04-21 10:24:34 -07:00
Brian Kassouf
9abc31ece7 Fix tests 2017-04-21 09:10:26 -07:00
Brian Kassouf
a3f6580a75 Merge remote-tracking branch 'oss/database-refactor' into database-refactor 2017-04-20 18:48:26 -07:00
Brian Kassouf
f1fa617e03 Calls to builtin plugins now go directly to the implementation instead of go-plugin 2017-04-20 18:46:41 -07:00
Cameron Stokes
ab03ffb047 [docs] Fix typo in Transit API docs. 2017-04-20 15:18:55 -07:00
Jeff Mitchell
62cae4a848 Merge branch 'master-oss' into database-refactor 2017-04-20 10:43:11 -04:00
Chad Greenburg
0716a3ef2b Added documentation for listing roles in the Consul secret backend (#2619) 2017-04-20 07:44:25 -04:00
Brian Kassouf
d9ce189b33 Use the same TLS cert for the server and client 2017-04-19 15:46:07 -07:00
Brian Kassouf
afc5be1c67 Merge remote-tracking branch 'oss/master' into database-refactor 2017-04-19 15:16:00 -07:00
Chris Hoffman
33d2f6fafe changelog++ 2017-04-19 15:58:48 -04:00
Brian Kassouf
8b7fa73f9d Fix cassandra deps breakage 2017-04-19 11:19:29 -07:00
Eric Bock
d5f1556067 Fixing typo in Transit API rewrap section (#2617) 2017-04-19 09:29:33 -07:00