10543 Commits

Author SHA1 Message Date
Nicolas Corrarello
53ad302a31 Adding support for Consul 1.4 ACL system (#5586)
* Adding support for Consul 1.4 ACL system

* Working tests

* Fixed logic gate

* Fixed logical gate that evaluate empty policy or empty list of policy names

* Ensure tests are run against appropiate Consul versions

* Running tests against official container with a 1.4.0-rc1 tag

* policies can never be nil (as even if it is empty will be an empty array)

* addressing feedback, refactoring tests

* removing cast

* converting old lease field to ttl, adding max ttl

* cleanup

* adding missing test

* testing wrong version

* adding support for local tokens

* addressing feedback
2018-11-02 10:44:12 -04:00
Becca Petrin
3cd7689ca0
Merge pull request #5666 from hashicorp/fix-test
Fix typo in test name
2018-11-01 16:07:22 -07:00
Becca Petrin
818cf583a1 fix typo in test name 2018-11-01 16:06:35 -07:00
Noelle Daley
18388a9fc4
Merge pull request #5651 from hashicorp/ui/run-prettier
ui: use prettier with eslint
2018-11-01 15:10:08 -07:00
Brian Kassouf
92f5e4fa30
changelog++ 2018-11-01 14:45:49 -07:00
Noelle Daley
b45404ba92 docs: add note about husky and lint-staged 2018-11-01 14:45:25 -07:00
Noelle Daley
a1be7db077 upgrade husky 2018-11-01 14:45:24 -07:00
Noelle Daley
3f5bf70752 ui: use prettier with eslint 2018-11-01 14:45:23 -07:00
Dilan Bellinghoven
f99afb9575 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
Jeff Mitchell
6c83e14501 Add batch token info to token store, approle, mount tuning 2018-11-01 14:51:06 -04:00
madalynrose
f05e567df6
Update CHANGELOG.md 2018-11-01 14:42:04 -04:00
Calvin Leung Huang
6d6fbf2f57
Clean up HABackend tests (#5617) 2018-11-01 10:31:09 -07:00
Jeff Mitchell
934ec9305b Update comment on API client's clone method 2018-11-01 12:26:18 -04:00
Brian Shumate
e2c77b2f48 Fix typo (#5661) 2018-11-01 10:13:20 -04:00
Raymond Kao
937e1be6f3 Fixed wording from "SQL" to "MongoDB" for clarity (#5643)
The original wording made it appear as if SQL statements were being executed against a MongoDB backend, which is incorrect and confusing.  Fixed to better reflect what is actually occurring.
2018-11-01 09:26:05 -04:00
Chris Hoffman
8ad28998bc
removing no longer valid features (#5656) 2018-11-01 09:17:47 -04:00
madalynrose
bd55a623a1
fix bug where json editing doesn't save properly for secrets (#5660) 2018-10-31 18:37:23 -04:00
madalynrose
7eb7de3d59
mask init keys (#5657) 2018-10-31 17:41:21 -04:00
Jeff Mitchell
cb58182900 Update jwt to pull in groups claim delimiter pattern 2018-10-31 16:04:39 -04:00
Jim Kalafut
b2ead22689
Add memory profiling for custom builds (#5584) 2018-10-31 11:11:45 -07:00
Clint
0624908d8a
Update CHANGELOG.md
Update the CHANGELOG to mention new support for Project Service Account tokens in Kubernetes auth
2018-10-31 12:16:42 -05:00
madalynrose
abd6eb88c2
add copy button to kv secrets masked input (#5627) 2018-10-31 13:13:57 -04:00
vishalnayak
51eb1406b6 changelog++ 2018-10-31 12:58:52 -04:00
Vishal Nayak
9a222b0faf
Allow @ to be part of key name in TOTP secret engine (#5652)
* Allow @ to be part of key name in TOTP secret engine

* Allow @ for key name while generating the code
2018-10-31 12:57:18 -04:00
madalynrose
6576251de1
update capabilities logic for sudo prefixes (#5647)
update capabilities logic to determine need for sudo based on sudo prefix paths
2018-10-31 11:24:36 -04:00
Brian Shumate
ea69d160d3 docs: update JWT auth method (#5655)
- Add convenience/contextual link to API documnetation
2018-10-31 11:03:04 -04:00
Jeff Mitchell
332be7a72e Fix website/path-help docs around pki/tidy 2018-10-30 21:33:30 -04:00
Jeff Mitchell
0b5d3bf8a0
Add the ability for secret IDs in agent approle to be wrapped (#5654) 2018-10-30 20:53:49 -04:00
Jeff Escalante
b11d015e62 fix sidebar links (#5653) 2018-10-30 20:51:38 -04:00
Noelle Daley
c1731e5d0b
Merge pull request #5639 from hashicorp/ui/add-gcp-kms
ui/enable-gcpkms
2018-10-30 13:36:08 -07:00
Noelle Daley
d46fa5bd58 enable gcpkms 2018-10-30 13:35:32 -07:00
Noelle Daley
021192ce18
Merge pull request #5642 from hashicorp/ui/add-ali-secrets-engine
enable alicloud in the ui
2018-10-30 13:34:52 -07:00
Noelle Daley
0559f5165b enable alicloud in the ui 2018-10-30 13:25:59 -07:00
Jeff Mitchell
fc1a668fe8 changelog++ 2018-10-30 14:43:28 -04:00
Jeff Mitchell
48385d53aa Make MFA links work again 2018-10-30 14:27:00 -04:00
Jeff Mitchell
70f84823d1 changelog++ 2018-10-30 14:10:17 -04:00
Jeff Mitchell
e5ccac6a39
Add approle agent method removing secret ID file by default. (#5648)
Also, massively update tests.
2018-10-30 14:09:04 -04:00
RJ Spiker
e7eadd09ba website: community page content update (#5641) 2018-10-30 12:33:51 -04:00
Aleksey Zhukov
e9d855217b WIP Agent AppRole auto-auth (#5621) 2018-10-30 12:17:19 -04:00
Benjamin Dos Santos
c0b97de908 docs(systemd): Capabilities had been removed (#5579)
* docs(systemd): `Capabilities` had been removed

The `Capabilities=` unit file setting has been removed and is ignored for
backwards compatibility. `AmbientCapabilities=` and `CapabilityBoundingSet=`
should be used instead.

8f968c7321/NEWS (L1357)

* style: remove trailing white space
2018-10-30 10:18:08 -04:00
Balazs Nagy
bc9ace4296 Use tidy_revoked_certs instead of tidy_revocation_list (#5608) 2018-10-29 19:29:35 -04:00
RJ Spiker
1157625d70 website: update sidebar_title in front matter to use <code> (#5636)
* website: replace deprecated <tt> with <code> in front matter sidebar_title

* website: wrap front matter sidebar_title in <code> for commands pages
2018-10-29 15:58:37 -04:00
Christophe Tafani-Dereeper
74bf554666 Fix typo ('Gase' -> 'Case') (#5638) 2018-10-29 15:19:35 -04:00
Mike Wickett
4fddbebca2 website: update component dependencies (#5637) 2018-10-29 14:29:44 -04:00
Ben Boeckel
e89a55ec27 website: add missing @ to example (#5560)
* website: remove mention of `@` in command

The command does not contain the mentioned `@` symbol and can be
confusing.

* docs: use `policy-name` instead of `my-policy`

Just making things consistent.
2018-10-29 13:12:48 -04:00
Seth Vargo
68feb9d244 More formatting fixes (#5582) 2018-10-29 13:12:19 -04:00
Vishal Nayak
8cd455241d Use sys/policies/acl instead of sys/policy/ (#5583) 2018-10-29 13:11:19 -04:00
Chris Thunes
e54d1cb721 Fix memory issue caused by append of group slice to itself. (#5611)
The slice returned by `collectGroupsReverseDFS` is an updated copy of
the slice given to it when called. Appending `pGroups` to `groups`
therefore led to expontential memory usage as the slice was repeatedly
appended to itself.

Fixes #5605
2018-10-29 10:38:34 -04:00
Chris Hoffman
caf81bc28c
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
9975ace215
Add token type to sentinel docs, fix up some names, and better codify what Sentinel reports for various token types (#5630) 2018-10-27 11:07:27 -07:00