This is a pretty large update with a bunch of changes. The main focus is adding API authentication. Originally I had intended to support some semblance of user account management, RBAC, and service account-based authentication (non-user API auth) but I descoped those goals for this change.
Adds and requires API authentication in boardwalkd
Adds a boardwalk login subcommand to the CLI, along with a low-friction login flow
Updates that Google Oauth2 login flow such that the user returns to their original page rather than being redirected to the index
Fixes a bug where boardwalkd would not progress to the next host if preconditions were found to be unmet on a host during runtime
Updates the way that auth methods are configured with the boardwalkd CLI. This is done so that it's easier to add more auth methods later on
Boardwalkd session lifetimes are now configurable on the CLI. The new session lifetime default is 14 days
Various code cleanups and README updates
How was this tested?
This was tested locally with a number of adhoc tests. I probably should have noted all of the manual tests I performed
Checklist
[x] Have you updated the VERSION file (if applicable)?
What and why?
This is a pretty large update with a bunch of changes. The main focus is adding API authentication. Originally I had intended to support some semblance of user account management, RBAC, and service account-based authentication (non-user API auth) but I descoped those goals for this change.
boardwalkd
boardwalk login
subcommand to the CLI, along with a low-friction login flowboardwalkd
would not progress to the next host if preconditions were found to be unmet on a host during runtimeboardwalkd
CLI. This is done so that it's easier to add more auth methods later onHow was this tested?
This was tested locally with a number of adhoc tests. I probably should have noted all of the manual tests I performed
Checklist