Jeff Mitchell
d3a1cd949b
Update password auth method flags to fit current standards
2020-08-13 18:32:58 -04:00
Jeff Mitchell
bb6b189513
Create a default role on new scope creation ( #265 )
2020-08-13 17:39:48 -04:00
Jeff Mitchell
e89e9d1349
Add groups CLI command ( #266 )
2020-08-13 17:35:55 -04:00
Michael Gaffney
7ac4be51c0
Refactor static host package ( #263 )
...
* Refactor: inline tablename constants
* Refactor: move functionality to new files
2020-08-13 14:00:15 -04:00
Jeff Mitchell
b75a6fc5e5
Update scopes CLI command in the model of the roles command ( #262 )
...
* Update scopes CLI command in the model of the roles command
* Pull help functions to helper methods
2020-08-13 11:20:22 -04:00
Jeff Mitchell
b0c0129ab2
Add a dummy file to ui package
2020-08-12 17:16:10 -04:00
Jeff Mitchell
5d104a7a01
Migrate off Vault's internalshared folder to the separated-out repo
2020-08-12 16:12:45 -04:00
Jeff Mitchell
c195c4bc9b
Remove disabled property and sync up field ordering and numbering ( #259 )
2020-08-12 13:00:49 -04: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
203e2b5dc2
Initial worker porting steps ( #232 )
2020-08-12 00:40:39 -04:00
Jeff Mitchell
73a38b1433
Remove some unneeded resource types and fix the resource typing for default role in global scope ( #256 )
2020-08-12 00:02:26 -04:00
Jeff Mitchell
4cfab04307
Migrate user name to login name ( #255 )
2020-08-11 17:25:00 -04:00
Michael Gaffney
6f886976e4
Add not null constraint to wt_version domain ( #254 )
2020-08-11 14:15:19 -04:00
Jeff Mitchell
61378381c6
Add version to account update ( #252 )
2020-08-11 12:28:11 -04:00
Jeff Mitchell
78d7f539c5
Add versioning to host catalogs/sets/hosts and fix up tests ( #247 )
...
* Start adding version to host resources and fixing up tests
* Add versioning to host resources and update API tests
* Fix nil in test
* Add missing update
2020-08-11 11:20:06 -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
Jim
1c836c430b
support for associating/disassociating an auth account with a user ( #233 )
2020-08-10 15:17:15 -04:00
Jeff Mitchell
0c18e35b9d
Fix group service proto for versions
2020-08-08 19:27:49 -04:00
Jeff Mitchell
827d86bef1
Update API role tests and fix the structure of the protos so versioning works
2020-08-08 17:46:41 -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
bbd200101f
Move update versioning to query parameter, and fix up scope API tests ( #244 )
...
* Move update versioning to query parameter, and fix up scope API tests
* Add version checks for update requests in other services
2020-08-07 17:56:55 -04:00
Jeff Mitchell
0d0660b061
Fix some tests I broke
2020-08-07 17:46:33 -04:00
Jeff Mitchell
f07bb9dae6
Fix breakage after change to template from previous PR
2020-08-07 15:18:44 -04:00
Jeff Mitchell
df4730b1a0
Minor fixes and first API test changeover ( #243 )
2020-08-07 15:01:18 -04:00
Jeff Mitchell
d74e30d94a
Minor, easy, linting fixes
2020-08-07 13:50:39 -04:00
Jeff Mitchell
8dd5de49b9
Minor update to default role description text
2020-08-07 13:42:04 -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
b5acf6afdf
Connecting the auth method service to the api handler. ( #241 )
2020-08-06 13:26:55 -07: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
Jeff Mitchell
2ca7e0b88e
Fix some linting complaining
2020-08-03 13:13:20 -04:00
Jeff Mitchell
322b13ae98
Standardize static group -> group naming ( #236 )
2020-07-31 17:46:04 -04:00
Todd Knight
3204e54dc2
Add lookup, list, update, and delete methods for auth methods. ( #230 )
2020-07-31 14:35:56 -07:00
Todd Knight
41b2d36d98
AuthToken Tests now use recently added TestAuthMethod and TestAccount ( #226 )
2020-07-31 11:43:03 -07:00
Michael Gaffney
5ceb335466
Rehash credential during authentication if config has change ( #234 )
2020-07-31 14:42:22 -04:00
Michael Gaffney and Todd Knight
6c679a9939
Add password authentication using Argon2 ( #227 )
...
* Add argon2 credentials
* Verify oplog in tests
* Refactor: rename field
* Update internal/auth/password/repository_account.go
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
* Add inline comments to SQL query to doc mapping to structure
* Refactor: move authentication query to query.go file
* Replace immutable_create_time_func with immutable_columns
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
2020-07-31 11:18:41 -04:00
Michael Gaffney
87492816cb
Replace immutable_create_time_func with immutable_columns ( #231 )
2020-07-30 16:43:11 -04:00
Jim
cb89422d9d
define immutable fields including PKs. ( #205 )
2020-07-30 16:04:15 -04:00
Michael Gaffney
5e8179c6fb
Allow lookupAfterWrite for resources with Private Ids ( #229 )
2020-07-30 13:44:14 -04:00
Michael Gaffney
c163d790a4
Add configuration settings for Argon2 password KDF ( #217 )
...
* Bump generated proto code
* Add argon2 conf sql and proto files
* Add generated code for argon2 conf
* Add Resources for Argon2 configuration
* Add get and set Configuration to repository
* Add current config reference to AuthMethod
* Fix authmethod_test
* Fix TestAccount_New
* Add WithConfiguration to options
* Add sql views for current configuration
* Fix SetTableName
* Remove duplicate testAccounts function
* Make tests clearer
* Fix comment
* Rename test variable
* Use NewPrivateId function for private Ids
* Refactor: rename public_id to private_id for password_conf and password_credential
* Remove bad comment
* Check if embedded argon2 configuration is nil
* Add checks around the WithConfiguration option
* Use spaces not tabs in proto file
* Add doc to explain choice of oplog ticket
* Verify oplog in test
2020-07-29 07:58:19 -04:00
Todd Knight
e943220468
Add Delete Password Accounts to repo. ( #220 )
2020-07-28 09:06:50 -07:00
Michael Gaffney
76abd4f3b4
Update comments to use "base type" instead of "abstract" ( #222 )
2020-07-28 09:17:23 -04:00
Todd Knight
a0bed2b5d7
Truncate instead of round timestamps so our tests that require a time to pass can succeed. ( #224 )
2020-07-28 08:59:09 -04:00
Todd Knight
25514fb553
Fix a failing test due to time resolutions mismatch. ( #221 )
...
* Round generated expiration timestamps to the nearest second.
2020-07-27 14:06:59 -07:00