Todd Knight
10e8aeae4b
Subtype Id registration moved to its own package ( #1416 )
...
* Allow repo packages to register subtypes and id prefixes.
* Refactor out request authentication logic to a new package as a sibling to handler.
2021-07-27 09:59:52 -07:00
Jeff Mitchell
054c0aa538
Update password generated account IDs ( #1290 )
2021-06-08 12:31:58 -04:00
Jeff Mitchell
ad93315b59
Add predictable account IDs in dev mode ( #1271 )
2021-06-04 10:35:51 -04:00
Jeff Mitchell
22d5c88a0b
Add Output Fields support ( #1192 )
2021-05-04 20:57:35 -04:00
Jim
75108cbc8b
Ongoing OIDC: return the primary account info along with the user. ( #1145 )
2021-04-20 20:33:56 -04:00
Jim
358f5a61fb
bump protoc to v3.15.8 ( #1147 )
2021-04-18 21:34:25 -04:00
Jeff Mitchell
be10cc4b42
Update grpc/proto deps ( #1136 )
...
* Update grpc/proto deps
* Make gen
2021-04-15 14:11:23 -04:00
dd0f34bc35
Add new OIDC auth method. ( #1090 )
...
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com >
2021-04-08 20:54:32 -04:00
Michael Gaffney
aafbada3ae
Remove calls to t.Helper() from test methods (not helpers) ( #1063 )
2021-04-02 19:40:51 -04:00
Jeff Mitchell
fcbf372881
Bump proto/grpc deps ( #1017 )
...
* Bump proto/grpc deps
* Back out buf change
* Run make gen
2021-03-20 16:12:01 -04:00
Jeff Mitchell
68f8d7e595
Rerun make gen
2021-03-09 13:49:12 -05:00
Louis Ruch
e3e96a87fa
Fix error codes
2021-03-09 08:28:33 -08:00
Louis Ruch
7387cec475
Remove sentinel errors ( #968 )
...
* Remove sentinal errors
2021-03-05 06:34:06 -08:00
Jeff Mitchell
377d837df3
Update gen
2021-02-12 11:44:46 -05:00
s-christoff
6623be8bfb
Refactor internal/auth to return domain specific errors ( #905 )
...
* Refactor internal/auth to return domain specific errors
2021-02-11 13:32:45 -06:00
Jeff Mitchell
6cd97a4a6e
Add support for recursive listing ( #885 )
2021-01-25 19:37:40 -05:00
Jeff Mitchell
84c617dc49
Run make gen after the gofumpt update
2021-01-08 10:32:02 -05:00
Michael Gaffney and Jeff Mitchell
94cb79bbdd
See how Boundary would look with gofumpt applied ( #853 )
...
* See how Boundary would look with https://github.com/mvdan/gofumpt applied
Results of running `gofumpt -w -s .`
* Update tools file and Makefile for gofumpt
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2021-01-07 10:02:32 -05:00
Louis Ruch
bfbb179741
ICU-738/Refactor internal/db to domain errors ( #815 )
...
* Refactor internal/db to domain errors
2020-12-21 10:07:34 -08:00
Jeff Mitchell
11b821a200
Bump deps ( #818 )
2020-12-15 14:56:41 -05:00
Louis Ruch
d8f8d60418
Allow dash in account name ( #806 )
...
* Allow dash in account name
2020-12-02 09:56:19 -08:00
Jim
af6ef1b687
Refactor existing sentinel errors ( #774 )
2020-11-05 16:54:03 -05:00
Jim
1e71c55920
deprecate access to underlying *sql.DB via internal/db.DB() ( #506 )
2020-09-30 18:11:59 -04:00
Jeff Mitchell
8d8a7358f8
Add AdditionalVerification function ( #423 )
2020-09-23 23:39:44 -04:00
Todd Knight
2f8d7f0a32
API Errors: Hide and log internal errors ( #411 )
2020-09-23 08:10:27 -07:00
Jeff Mitchell
9b2646eaf9
Fix retry behavior with KMS recovery and misleading error message ( #391 )
2020-09-21 11:05:44 -04:00
Jeff Mitchell and Jim Lambert
62baef1b7e
Add multi connection parameters through targets and into session creation ( #375 )
...
* Update protos and gen
* Add new values to targets CLI command
* Lots more plumbing of new parameters through everything
* allow fields to be set to zero value.
* Disallow set but empty name/description strings in create/update verifiers
Co-authored-by: Jim Lambert <jlambert@hashicorp.com >
2020-09-19 10:31:49 -04:00
Todd Knight
c3ecea172d
Generate new version of SDK resources and Add Tests ( #331 )
2020-09-08 16:27:51 -04:00
Michael Gaffney
de162c5533
Replace and remove ErrNilParameter with ErrInvalidParameter ( #295 )
2020-08-25 12:18:14 -04:00
Jeff Mitchell
8f579c75c3
paum -> ampw ( #303 )
2020-08-25 00:21:08 -04:00
Jeff Mitchell
74544f6324
Encrypt tokens on the way out and decrypt on the way in ( #302 )
...
* Encrypt tokens on the way out and decrypt on the way in
This isn't a security feature related to tokens specifically; it's so
that we can discard cryptographically bad tokens before we ever hit the
DB. This way we can't pass through a DDoS to the database due to
fetching obviously invalid token values.
I'm using base58 to encode the resulting value as there aren't great
base62 options, and allowing base64 / and + values can hamper usability
by creating copying/highlighting breaks.
2020-08-25 00:20:50 -04:00
Jeff Mitchell
ac4d9fa311
Add nonce storage and replay prevention test ( #293 )
2020-08-24 13:22:10 -04:00
Jim
9570897032
basic keys mgmt repo ( #264 )
2020-08-19 16:47:18 -04:00
Todd Knight
1deea8aa3a
Fixing missed documentation fix from PR 267.
2020-08-17 10:07:56 -07:00
Todd Knight
e14f968fc3
Account (Set|Change)Passsword ( #267 )
2020-08-17 09:37:15 -07:00
Todd Knight
23b437894a
Masks can now update attribute fields. ( #271 )
2020-08-14 14:08:12 -07:00
Todd Knight
245c7fbb44
Add Account Update handler ( #257 )
...
* Allow updating accounts (not username or pw).
* Updating new field names to LoginName.
* Adding creation with password test.
* Fixing documentation for WithLoginName
2020-08-12 08:20:35 -07:00
Jeff Mitchell
4cfab04307
Migrate user name to login name ( #255 )
2020-08-11 17:25:00 -04:00
Jeff Mitchell
61378381c6
Add version to account update ( #252 )
2020-08-11 12:28:11 -04:00
Jeff Mitchell
565059ed63
Add versioning to auth methods and accounts ( #249 )
2020-08-11 11:19:29 -04:00
Michael Gaffney and Jeff Mitchell
a7c467bd68
Password - UpdateAccount and SetPassword ( #248 )
...
* Implement UpdateAccount
* Implement SetPassword
* Add tests for duplicate user names
* Fix imports broken after product rename
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2020-08-11 10:12:36 -04:00
Jeff Mitchell
6661117d4c
The name. The name. The name!
2020-08-10 17:15:02 -04:00
Michael Gaffney
bdb31cf8b5
Bump deps ( #245 )
2020-08-08 10:49:43 -04:00
Jeff Mitchell
6a21e8dedb
Fix some speling and a test
2020-08-07 21:14:07 -04:00
Jeff Mitchell
5bf307797b
Fix typo and also set default min user name length to 3 because jeff, jim, todd, mike
2020-08-07 13:38:44 -04:00
Todd Knight
f84991c0f1
Use authenticate and Auth Method repo functions ( #242 )
2020-08-07 10:18:40 -07:00
Jeff Mitchell
908a299ea3
Convert SDK to the new options API ( #238 )
2020-08-07 12:55:02 -04:00
Todd Knight
b7bf76a9ba
Auth Method API Handler for CRUDL (not updating password specific fields)( #239 )
2020-08-06 12:50:20 -07:00
Michael Gaffney
7fefd5e2fe
Change password ( #237 )
...
* Implement ChangePassword
* Refactor: extract authenticate method
* Update tests to verify oplog entries
* More refactoring
* Remove extraneous clones
* More refactoring
2020-08-06 13:03:42 -04:00
Todd Knight
e5ec1f48b2
Account API handler for CRDL operations ( #228 )
2020-08-05 10:19:55 -07:00