vishalnayak
|
d959ffc301
|
Rename PrepareRequest to PrepareRequestFunc
|
2016-03-18 10:37:49 -04:00 |
|
vishalnayak
|
fbfe72f286
|
Removed http/sys_capabilties_test.go
|
2016-03-18 09:48:45 -04:00 |
|
vishalnayak
|
55f03b5d25
|
Add separate path for capabilities-self to enable ACL
|
2016-03-17 22:52:03 -04:00 |
|
vishalnayak
|
68367f60c8
|
Fix broken testcases
|
2016-03-17 21:03:32 -04:00 |
|
vishalnayak
|
d348735322
|
Fix help descriptions
|
2016-03-17 21:03:32 -04:00 |
|
vishalnayak
|
f275cd2e9c
|
Fixed capabilities API to receive logical response
|
2016-03-17 21:03:32 -04:00 |
|
vishalnayak
|
a5d79d587a
|
Refactoring the capabilities function
|
2016-03-17 21:03:32 -04:00 |
|
vishalnayak
|
dcb7f00bcc
|
Move sys/capabilities to logical_system along with business logic from core
|
2016-03-17 21:03:32 -04:00 |
|
vishalnayak
|
2b712bc778
|
Move capabilities accessor logic to logical_system
|
2016-03-17 21:03:32 -04:00 |
|
Vishal Nayak
|
7db7b47fdd
|
Merge pull request #1210 from hashicorp/audit-id-path
Rename id to path and path to file_path, print audit backend paths
|
2016-03-15 20:13:21 -04:00 |
|
Jeff Mitchell
|
8a5fc6b017
|
Sort and filter policies going into the create token entry, then use
that as the definitive source for the response Auth object.
|
2016-03-15 14:05:25 -04:00 |
|
vishalnayak
|
3861c88211
|
Accept params both as part of URL or as part of http body
|
2016-03-14 19:14:36 -04:00 |
|
vishalnayak
|
85a888d588
|
Enable token to be supplied in the body for lookup call
|
2016-03-14 18:56:00 -04:00 |
|
vishalnayak
|
dd94e8e689
|
Fix broken test case
|
2016-03-14 18:44:13 -04:00 |
|
vishalnayak
|
71fc07833f
|
Rename id to path and path to file_path, print audit backend paths
|
2016-03-14 17:15:07 -04:00 |
|
Jeff Mitchell
|
04eb6e79f0
|
Merge pull request #1200 from hashicorp/sethvargo/hcl_errors
Show HCL parsing errors and typos
|
2016-03-10 22:31:55 -05:00 |
|
Jeff Mitchell
|
90dd55b1e6
|
Sort policies before returning/storing, like we do in handleCreateCommon
|
2016-03-10 22:31:26 -05:00 |
|
vishalnayak
|
8094077cd3
|
Fix broken test case
|
2016-03-10 20:06:22 -05:00 |
|
vishalnayak
|
378db2bc3c
|
Add default policy to response auth object
|
2016-03-10 19:55:38 -05:00 |
|
Seth Vargo
|
f6adea85ce
|
Preserve pointer
|
2016-03-10 15:55:47 -05:00 |
|
Seth Vargo
|
ad7049eed1
|
Parse policy HCL syntax and keys
|
2016-03-10 15:25:25 -05:00 |
|
Jeff Mitchell
|
cba947b049
|
Fix path help description for rekey_backup
|
2016-03-09 21:04:54 -05:00 |
|
Jeff Mitchell
|
fa2ba47a5c
|
Merge branch 'master' into token-roles
|
2016-03-09 17:23:34 -05:00 |
|
Jeff Mitchell
|
d4371d1393
|
Add accessor to returned auth
|
2016-03-09 17:15:42 -05:00 |
|
Jeff Mitchell
|
6df72e6efd
|
Merge pull request #1168 from hashicorp/revoke-force
Add forced revocation.
|
2016-03-09 16:59:52 -05:00 |
|
Jeff Mitchell
|
d171931e59
|
Add unit test for forced revocation
|
2016-03-09 16:47:58 -05:00 |
|
vishalnayak
|
0c4d5960a9
|
In-URL accessor for auth/token/lookup-accessor endpoint
|
2016-03-09 14:54:52 -05:00 |
|
vishalnayak
|
2528ffbc18
|
Restore old regex expressions for token endpoints
|
2016-03-09 14:08:52 -05:00 |
|
vishalnayak
|
f478cc57e0
|
fix all the broken tests
|
2016-03-09 13:45:36 -05:00 |
|
vishalnayak
|
007142262f
|
Provide accessor to revove-accessor in the URL itself
|
2016-03-09 13:08:37 -05:00 |
|
vishalnayak
|
3b302817e5
|
Added tests for lookup-accessor and revoke-accessor endpoints
|
2016-03-09 12:50:26 -05:00 |
|
Jeff Mitchell
|
2ecdde1781
|
Address final feedback
|
2016-03-09 11:59:54 -05:00 |
|
vishalnayak
|
c4a2c5b56e
|
Added tests for 'sys/capabilities-accessor' endpoint
|
2016-03-09 11:29:09 -05:00 |
|
Jeff Mitchell
|
4785bec59d
|
Address review feedback
|
2016-03-09 11:07:13 -05:00 |
|
Jeff Mitchell
|
2e07f45bfa
|
Use role's allowed policies if none are given
|
2016-03-09 10:42:04 -05:00 |
|
vishalnayak
|
926e7513d7
|
Added docs for /sys/capabilities-accessor
|
2016-03-09 09:48:32 -05:00 |
|
vishalnayak
|
7407c27778
|
Add docs for new token endpoints
|
2016-03-09 09:31:09 -05:00 |
|
vishalnayak
|
6a992272cd
|
New prefix for accessor indexes
|
2016-03-09 09:09:09 -05:00 |
|
vishalnayak
|
151c932875
|
AccessorID --> Accessor, accessor_id --> accessor
|
2016-03-09 06:23:31 -05:00 |
|
vishalnayak
|
913bbe7693
|
Error text corrections and minor refactoring
|
2016-03-08 22:27:24 -05:00 |
|
vishalnayak
|
62777c9f7e
|
ErrUserInput --> StatusBadRequest
|
2016-03-08 21:47:24 -05:00 |
|
vishalnayak
|
8117996378
|
Implemented /sys/capabilities-accessor and a way for setting HTTP error code in all the responses
|
2016-03-08 19:14:29 -05:00 |
|
vishalnayak
|
2737c81b39
|
Lay the foundation for returning proper HTTP status codes
|
2016-03-08 18:27:03 -05:00 |
|
vishalnayak
|
8c6afea1d0
|
Implemented /auth/token/revoke-accessor in token_store
|
2016-03-08 18:07:27 -05:00 |
|
vishalnayak
|
a7adab25bc
|
Implemented lookup-accessor as a token_store endpoint
|
2016-03-08 17:38:19 -05:00 |
|
vishalnayak
|
f19ee68fdb
|
placeholders for revoke-accessor and lookup-accessor
|
2016-03-08 15:13:29 -05:00 |
|
vishalnayak
|
a7c97fcd18
|
Clear the accessor index during revocation
|
2016-03-08 14:06:10 -05:00 |
|
vishalnayak
|
c0fb69a8b1
|
Create indexing from Accessor ID to Token ID
|
2016-03-08 14:06:10 -05:00 |
|
vishalnayak
|
301776012f
|
Introduced AccessorID in TokenEntry and returning it along with token
|
2016-03-08 14:06:10 -05:00 |
|
Vishal Nayak
|
be1163c64a
|
Merge pull request #1171 from hashicorp/capabilities-endpoint
Capabilities endpoint
|
2016-03-08 13:12:09 -05:00 |
|