Commit Graph
494 Commits
Author SHA1 Message Date
Jeff Malnick bfa3edbbac feat: override PG host Docker-advertised address when set (#732) 2020-10-20 21:28:57 -04:00
Jim 547ae7c802 Fix database init when locale isn't english (#736)
* use IsMissingTableError(error)

* update changelog
2020-10-20 21:13:01 -04:00
Lars Lehtonen 0c959cbb71 internal/servers/controller/handlers/accounts: fix dropped test errors (#733) 2020-10-20 09:13:57 -04:00
Jeff Mitchell 1f48d97327 Support for Unix domain socket listeners (#705)
The client already supports protocol-agnostic transport so handles
unix:/// schemes.
2020-10-16 13:45:47 -04:00
Jeff Mitchell 97e8613eb7 Fix hyphenation of resource subcommand output (#689)
* Fix hyphenation of resource subcommand output

Fixes #686
2020-10-15 19:29:33 -04:00
Lars Lehtonen c538ca335e internal/servers/controller: fix dropped test error (#687) 2020-10-14 20:59:38 -04:00
Jeff Malnick 76a891cfe2 tests: remove testing of revision output for now (#667) 2020-10-14 07:29:31 -07:00
Jeff Mitchell f454fa9ef2 Don't return error code 1 if saving the value to the keyring (#668) 2020-10-13 17:13:31 -04:00
Jeff Malnick e08ab98a2b tests: add CLI tests for version output (#664) 2020-10-13 12:34:38 -07:00
Sam Salisbury bcfd9d038f version command: fix version string (#662) 2020-10-13 12:21:45 -07:00
Jeff Mitchell ef16b6177c Update configuration docs (#661)
* Update configuration docs

* Fix public addr example
2020-10-13 12:21:09 -07:00
Jeff Mitchell 13631064fc Don't create a default role when the scope being created is a project (#658)
* Don't create a default role when the scope being created is a project

* Fix up some more tests
2020-10-13 13:56:21 -04:00
Jeff Mitchell f7bd5e18f9 Fix spacing for scope output in account command 2020-10-13 11:49:50 -04:00
Jeff Mitchell 437f874d44 Fix spacing before Attributes when printing auth method 2020-10-13 11:08:10 -04:00
Jeff Mitchell 868a65ac3d Don't show "Version v" on startup if empty (#653)
We'll still show the SHA in this case
2020-10-13 10:47:14 -04:00
Jeff Malnick dfa94c7990 tests: allow overriding auth variables in CLI tests (#647)
* tests: ensure default user can connect to default target and ensure created target has intended host sets

* docs: update readme for CLI tests with how to run against arbitrary clusters

* feat: override auth variables in CLI tests
2020-10-13 07:41:32 -07:00
Jeff Malnick 7f48e2edc6 tests: ensure default user can connect to default target and ensure created target has intended host sets (#646) 2020-10-13 07:41:14 -07:00
Jeff Malnick 3c1670c0d0 tests: add scopes CLI tests (#645) 2020-10-12 21:15:49 -07:00
Jeff Malnick 70e696a446 tests: add roles CLI tests (#644) 2020-10-12 20:57:57 -07:00
Jeff Malnick cad8949ac8 tests: add host sets CLI tests (#643) 2020-10-12 17:00:34 -07:00
Jeff Malnick bee1412785 tests: add host catalog CLI tests (#639) 2020-10-12 16:44:45 -07:00
Jeff Mitchell 1dd145e707 Fix up swagger title, which was in the authentication service 2020-10-12 18:06:22 -04:00
Jeff Mitchell dd8973dd9f Move authenticate service into auth method service (#635)
This was always an RPC-only distinction and from that perspective it
makes sense; however it causes the generated docs to treat it as an
entirely separate service even though it's under the same collection
path as auth methods and this is confusing.
2020-10-12 18:03:15 -04:00
Jeff Malnick 0f1fbea8f7 tests: add hosts CLI tests (#638) 2020-10-12 14:56:23 -07:00
Jeff Malnick c4c1e108b0 test: add groups resource CLI tests (#633) 2020-10-12 14:40:32 -07:00
Jeff Malnick 90e1dbe444 tests: add bats tests for testing CLI on arbitrary Boundary deployments (#614) 2020-10-12 10:26:26 -07:00
Jeff Mitchell 1acd690299 Clear account ID if token does not map to a user
It's possible there are acceptable use cases for still matching account
ID if the account no longer maps to a user, but it's equally possible
that this can cause confusion. Removing it seems safer.
2020-10-12 10:15:38 -04:00
Jeff Mitchell 6f36a1cab6 Update security docs (#613) 2020-10-10 19:29:34 -04:00
Jeff Mitchell 95404b2a56 Separate out protocol-specific functions (#610)
Placing them into separate files slims down the main connect file and
makes it more obvious where things need to be handled for future
integrations.
2020-10-10 16:12:04 -04:00
Jeff Mitchell a982fc9437 Remove proxy proto documentation for now (#606)
We haven't tested it with the new lib yet. We can add this back whenever
we get to testing it.
2020-10-10 13:42:04 -04:00
Jeff Mitchell 603b0582d7 Fix CLI help output and make more consistent (#605) 2020-10-09 20:26:48 -04:00
Jeff Mitchell bd271b707d Add version command (#604) 2020-10-09 19:35:04 -04:00
Jeff Mitchell 4833fbba23 Simplify worker->controller connection (#601)
Go's TLS stack doesn't need a separate CA cert and in fact for sessions
we don't use this. So simplify the worker connection to remove an
unnecessary extra key generation.
2020-10-09 16:49:36 -04:00
Jeff Mitchell 7f00e61ab0 Migrate to newer grpc utilities and bump deps (#593)
* Migrate to newer grpc utilities and bump deps

* Revert grpc back as it was an accidental tag
2020-10-09 13:18:53 -04:00
Todd Knight 11fd0d0300 Fixing some API error and comment copy/paste errors. (#580)
* Fixing some error and comment copy/paste errors.

* Fix roles in project scope error message.
2020-10-08 12:36:01 -07:00
Sam Salisbury 560c727bcf make update-ui-version (#578)
* make update-ui-version

* make update-ui-version: default branch main

* make update-ui-version: actually checkout commit
2020-10-08 18:51:53 +01:00
Todd Knight abe5e9b950 Add Termination Reason (#573) 2020-10-07 21:37:30 -04:00
Jeff Mitchell 5bc8c8d921 Fix API test 2020-10-07 21:35:43 -04:00
Jeff Mitchell ae3a9e32cf Remove proxy command
You can now use -authz-token in `boundary connect` which also allows
using the connect subcommands when you already have a token.
2020-10-07 21:30:44 -04:00
Todd Knight 04efdfe74a Adding scope list check and test. (#574) 2020-10-07 20:43:12 -04:00
Jeff Mitchell 1cb66c69e7 Add workaround to allow autocomplete install/uninstall via a normal command (#576) 2020-10-07 20:42:45 -04:00
Todd Knight 83314b7750 Accounts can update login-name. Fix help text for subtype resource update and creates. (#575) 2020-10-07 16:33:04 -07:00
Randall Morey 7f1ae98e2b bump ui commit to v0.1.0 release (#571) 2020-10-07 15:14:43 -04:00
Jeff Mitchell 5cbfcf8eb6 Shuffle things around out of new modules 2020-10-07 14:03:42 -04:00
Jeff Mitchell 0be34df6cd Minor typo fix 2020-10-07 11:32:10 -04:00
Jeff Mitchell 1494ffb641 Check in new UI version, I guess 2020-10-07 10:07:46 -04:00
Pete PacentandPete Pacent 09a214463f Making toc sidebar titles plural (#554)
Co-authored-by: Pete Pacent <ppacent@hashicorp.com>
2020-10-06 15:13:03 -07:00
Todd Knight 6c6fb7a4d0 Format errors better for CLI (#552)
* Start making errors easier to read for Table based CLI UI.

* Add TODO about reporting "update_mask" related errors.
2020-10-06 14:08:49 -07:00
Todd Knight e19d68dcf0 Test Cleanup. Alphabetize handler path test and add several paths that were missed (targets and sessions for example) (#534) 2020-10-06 11:29:53 -07:00
Jeff Mitchell 73872c5a7e Switch default RDP client at runtime based on OS, support macOS (#551)
* Add "open" support for RDP

* Use mstsc.exe on Windows and as default as that also works natively via wsl2

* Add flags to not fork
2020-10-06 13:18:31 -04:00