Jeff Mitchell
5b5602969f
Update go-keyring to use forked version ( #846 )
...
This may help with #830 .
2021-01-04 21:05:42 -05:00
Jeff Mitchell
9a84e50493
Minor linting
2020-12-09 17:05:16 -05:00
Todd Knight
aa4157639c
Change Format of API Error ( #784 )
...
This is a wire breaking change for json errors since we have removed and renamed a few fields, and changed part of the structure of the returned json error.
* Remove redundant fields in Status, details.error_id, details.TraceId and details.request_id from API errors.
* Added wrapped errors and "ops" field to indicate the internal operation of the errors returned by the API.
* Added error cli error reporting of Op and wrapped errors.
2020-12-07 14:25:16 -07:00
Jeff Malnick
af2d9dfe90
fix: do not print info in output that could be JSON or YAML format ( #799 )
...
* fix: print err msg for no credentials found to stderr
2020-11-20 09:27:44 -08:00
Jeff Mitchell
e2e4631929
Add ability to set public cluster address ( #761 )
2020-10-30 16:54:53 -04:00
Jeff Mitchell
f063b8601c
Fix IPv4-only check when no port is specified ( #752 )
...
We have behavior that causes "0.0.0.0" to only listen on IPv4, however,
it also assumed there was a port suffixed. This changes it so that it
also works with a port-less address.
2020-10-27 10:43:50 -04:00
Jeff Mitchell
813d21565f
Allow authorize-session to be invoked with target name ( #737 )
2020-10-22 08:40:00 -04:00
Jeff Mitchell
09b865ab28
Add pass cred storage support ( #731 )
...
* Add `pass` cred storage support
Make it the default on non-Windows/macOS
Document the token storage behavior
2020-10-21 09:00:17 -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
f454fa9ef2
Don't return error code 1 if saving the value to the keyring ( #668 )
2020-10-13 17:13:31 -04: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
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 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
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
Jeff Mitchell
f8a2100603
Add various env vars to CLI ( #528 )
...
* Add auth method ID env var
* Add env var for host catalogs
2020-10-02 19:20:30 -04:00
Jeff Mitchell
fa700dc002
Add account ID templating ( #518 )
...
* Remove default role and create via the same mechanism as other initial resources
2020-10-01 10:51:54 -04:00
Jeff Mitchell
d851ab07d8
Add ability to pull user/account/auth-method ID from stored token ( #517 )
2020-10-01 01:52:08 -04:00
Jeff Mitchell
6ddfe407a3
Update allowed formats of ACL strings ( #508 )
2020-10-01 01:49:20 -04:00
Jeff Mitchell
c1a1f8bb1b
Separate out docker dep into package ( #482 )
...
This also then removes support for docker-based containing starting (for
now) from platforms other than windows/darwin/linux as there are build
issues on several.
2020-09-28 16:05:15 -04:00
Jim
fde96924af
refactor user account repo function names ( #476 )
2020-09-28 15:39:10 -04:00
Jeff Mitchell
cf3fa4522d
Swap base58 libraries ( #472 )
...
* Swap base58 libraries
This doesn't reduce binary size but it removes a metric ton of
dependencies.
2020-09-26 14:01:49 -04:00
Jeff Mitchell
bec3d702fb
Add -database-url to dev mode ( #459 )
...
Create default dev mode login name of "admin" and password of "password"
2020-09-25 17:36:47 -04:00
Jeff Mitchell
220ca253be
Add boundary config get-token ( #455 )
2020-09-25 17:06:53 -04:00
Jim
21ca0b6388
SetAssociatedAccounts, DisassociateAccounts, AssociateAccounts with support for multiple accounts. ( #439 )
2020-09-25 13:35:32 -04:00
Jeff Mitchell
61a0ae02c1
Bring go-alpnmux in house for now
2020-09-25 10:17:12 -04:00
Jeff Mitchell
94f9d952be
Add connect -exec and ssh subcommand support ( #434 )
2020-09-24 17:29:12 -04:00
Jeff Mitchell
41a3c66ea1
Add names to init output ( #428 )
2020-09-24 12:54:40 -04:00
Jeff Mitchell
7fcbffbe88
Remove not-set value. ( #427 )
...
I don't think the conditions exist here that necessitated it being
introduced into Vault, but I do sometimes see a baffling condition where
the address coming from the flag is empty. I don't think we need this so
take it out.
2020-09-24 12:19:00 -04:00
Jeff Mitchell
31fe9292b3
Instantiate default resources ( #425 )
2020-09-24 03:31:26 -04:00
Jeff Mitchell
03436a73de
Update CLI output functions to show scope info and cleanup ( #416 )
2020-09-23 03:01:39 -04:00
Jeff Mitchell
38ce9d9eac
Combine controller and worker commands ( #415 )
2020-09-23 01:23:10 -04:00
Jeff Mitchell
262ff06042
Add public address config option ( #405 )
2020-09-22 08:28:10 -04:00
Jeff Mitchell
e9b91f323f
Allow port to not be specified in listener address ( #404 )
2020-09-22 07:49:19 -04:00
Jeff Mitchell
dd06615c2e
Add database initialization command ( #400 )
2020-09-21 20:25:16 -04:00
Jeff Mitchell
d3606e14b6
Set wrapper on client, not token, so it doesn't fail KMS recovery on update calls
2020-09-21 12:20:44 -04:00
Jeff Mitchell
07a7e9750a
Tie together the database-driven session handling with the worker and add relevant CLI comands ( #370 )
2020-09-19 00:18:17 -04:00
Jeff Mitchell
37e9fed2e3
Allow not destroying dev databases ( #366 )
...
This also shifts some logic around to better prepare for non-dev-mode
workloads, although it does not actually call the KMS creation functions
and initial auth method creation from non-dev commands yet.
2020-09-16 10:10:06 -04:00
Jeff Mitchell
c4e2b88022
Add database URL. ( #365 )
...
* Add database URL.
This allows specification of either a file://, env://, or other string.
If it starts with file:// or env:// the actual value will be read from
those resources.
* Tidy up the KMS output
* Also run migrations in test mode when specifying the URL
2020-09-16 09:28:39 -04:00
Jeff Mitchell
3c13e4765d
Verbose isn't actually used right now so don't expose it; fix some wording for scope id flag
2020-09-16 08:50:43 -04:00
Jeff Mitchell
2914b4c14c
Use base58 for a few more user-facing values ( #356 )
2020-09-12 21:43:08 -04:00
Jeff Mitchell
ff0d49b6e4
Use previous method of getting recovery wrapper
2020-09-09 01:29:35 -04:00
Jeff Mitchell
f8237fb945
Move some packages into SDK, out of internal
2020-09-09 01:24:25 -04:00
Jeff Mitchell
36f975a952
Add some recovery KMS functions needed for external clients ( #339 )
2020-09-09 01:15:29 -04:00
Todd Knight
c3ecea172d
Generate new version of SDK resources and Add Tests ( #331 )
2020-09-08 16:27:51 -04:00
Jeff Mitchell
23156afa11
Add in most of the proxy flow ( #326 )
2020-09-03 13:24:34 -04:00
Jeff Mitchell
1822c47ef5
Migrate KMS code to the new database DEKs ( #324 )
2020-09-03 13:23:46 -04:00
Jeff Mitchell
514856c020
Fix broken CLI output
2020-08-28 15:58:15 -04:00
Jeff Mitchell
1f065316ee
Initial ( #313 )
2020-08-28 01:28:26 -04:00
Jeff Mitchell
28df6eb7b0
Update config encrypt/decrypt CLI command ( #309 )
...
This updates the command to our emergent standards. It also enables
using a separate config file for a config kms, which allows non-string
values to be encrypted.
This allowed some nice cleanup as well.
2020-08-27 16:38:44 -04:00