The commands added are: boundary daemon start boundary daemon stop boundary daemon add-token boundary daemon status boundary search If these actions are performed on a platform that doesn't support sqlite natively in go an error is returned. Besides some hooks into the cmd package all the significant logic resides in internal/clientcache feat (cmds/authenticate): output the token name when storing token feat: update go-dbw which now uses pure go sqlite driver refact (base.Command): export FlagOutputCurlString Exporting FlagOutputCurlString allows other commands that embed the base.Command to access the flag as needed feat: add a cache Repository to manage cache storage feat: add a "cache" CLI command This new command will support both managing and searching the local CLI cache daemon. feat: start cache daemon as needed when issue CLI commands Move files to new directories and add persona table (#3526) * Add persona table and move files to new directories Client daemon now uses unix sockets and update pathing (#3535) * Add unix socket listen and dialers with file permissions applied * Update the pathing to match RFC Cache refreshing now uses all stored personas. (#3545) Updating headers for LLB files Decouple daemon and cache server (#3566) * Separate daemon from server * Add persona handler to daemon server (#3579) Moved search to use mql and added tests for the search command (#3589) * search uses hashicorp/mql Windows support for client side daemon (#3618) * exec.Command for background process * Log to stderr when in foreground and file always * Use pid files across platform for start and stop Requests with version info must match the daemon's version (#3640) * requests with version info must match daemons Update dependencies and breakout cgo/pure go sqlite drivers (#3657) upgrade go-dbw deps and add cgo build tags Enable graceful shutdown in windows (#3695) * Enable graceful shutdown in windows Co-authored-by: Jim <jlambert@hashicorp.com> Targets delete when a persona changes address or user id (#3673) * Handle cache refresh in repo Add sessions to the client side cache (#3682) * Add sessions to repository * Search command supports sessions * adding session related tests to db and refresh Change cache schema from personas to tokens+users (#3737) * Change from personas to tokens+users * Separate keyring tokens from auth tokens Add support for keyringless auth tokens (#3765) * Add support for keyringless auth tokens Remove expired auth tokens from cache (#3768) * Remove expired auth tokens from cache Complete the TODO of checking for inflight tx (#3779) Delete tokens that the controller says are invalid (#3782) fix search test with boundary token check (#3799) Collect resource info in repository_<resource>s.go (#3769) * Collect resource info in repository_<resource>s.go * Move search logic into the domain (#3794) Daemon and search restricted to supported platforms (#3801) * Daemon and search restricted to supported platforms Reorganize the clientcache packages (#3814) * Refactor for self contained domain logic * Put clientcache stuff under internal
224 lines
9.7 KiB
AMPL
224 lines
9.7 KiB
AMPL
module github.com/hashicorp/boundary
|
|
|
|
go 1.21
|
|
|
|
replace github.com/hashicorp/boundary/api => ./api
|
|
|
|
replace github.com/hashicorp/boundary/sdk => ./sdk
|
|
|
|
//replace github.com/hashicorp/nodeenrollment => ../nodeenrollment
|
|
|
|
require (
|
|
github.com/fatih/color v1.15.0
|
|
github.com/fatih/structs v1.1.0
|
|
github.com/favadi/protoc-go-inject-tag v1.4.0
|
|
github.com/godbus/dbus/v5 v5.1.0 // indirect
|
|
github.com/golang-migrate/migrate/v4 v4.16.2
|
|
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9
|
|
github.com/google/go-cmp v0.6.0
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0
|
|
github.com/hashicorp/boundary/api v0.0.43
|
|
github.com/hashicorp/boundary/sdk v0.0.40
|
|
github.com/hashicorp/cap v0.4.0
|
|
github.com/hashicorp/dawdle v0.4.0
|
|
github.com/hashicorp/eventlogger v0.2.6-0.20231025104552-802587e608f0
|
|
github.com/hashicorp/eventlogger/filters/encrypt v0.1.8-0.20231025104552-802587e608f0
|
|
github.com/hashicorp/go-bexpr v0.1.13
|
|
github.com/hashicorp/go-cleanhttp v0.5.2
|
|
github.com/hashicorp/go-hclog v1.5.0
|
|
github.com/hashicorp/go-kms-wrapping/v2 v2.0.14
|
|
github.com/hashicorp/go-multierror v1.1.1
|
|
github.com/hashicorp/go-retryablehttp v0.7.4
|
|
github.com/hashicorp/go-rootcerts v1.0.2
|
|
github.com/hashicorp/go-secure-stdlib/base62 v0.1.2
|
|
github.com/hashicorp/go-secure-stdlib/configutil/v2 v2.0.11
|
|
github.com/hashicorp/go-secure-stdlib/gatedwriter v0.1.1
|
|
github.com/hashicorp/go-secure-stdlib/kv-builder v0.1.2
|
|
github.com/hashicorp/go-secure-stdlib/listenerutil v0.1.9
|
|
github.com/hashicorp/go-secure-stdlib/mlock v0.1.3
|
|
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8
|
|
github.com/hashicorp/go-secure-stdlib/password v0.1.3
|
|
github.com/hashicorp/go-secure-stdlib/pluginutil/v2 v2.0.6
|
|
github.com/hashicorp/go-secure-stdlib/reloadutil v0.1.1
|
|
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2
|
|
github.com/hashicorp/go-sockaddr v1.0.5
|
|
github.com/hashicorp/go-uuid v1.0.3
|
|
github.com/hashicorp/hcl v1.0.0
|
|
github.com/hashicorp/vault/api v1.10.0
|
|
github.com/iancoleman/strcase v0.3.0
|
|
github.com/jackc/pgconn v1.14.1
|
|
github.com/jackc/pgx/v4 v4.18.1 // indirect
|
|
github.com/jefferai/keyring v1.1.7-0.20220316160357-58a74bb55891
|
|
github.com/kr/pretty v0.3.1
|
|
github.com/kr/text v0.2.0
|
|
github.com/mattn/go-colorable v0.1.13
|
|
github.com/mitchellh/cli v1.1.5
|
|
github.com/mitchellh/copystructure v1.2.0
|
|
github.com/mitchellh/go-wordwrap v1.0.1
|
|
github.com/mitchellh/mapstructure v1.5.0
|
|
github.com/mitchellh/pointerstructure v1.2.1
|
|
github.com/mr-tron/base58 v1.2.0
|
|
github.com/oligot/go-mod-upgrade v0.9.1
|
|
github.com/ory/dockertest/v3 v3.10.0
|
|
github.com/pires/go-proxyproto v0.7.0
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/posener/complete v1.2.3
|
|
github.com/prometheus/client_golang v1.17.0
|
|
github.com/ryanuber/go-glob v1.0.0
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/zalando/go-keyring v0.2.3
|
|
go.uber.org/atomic v1.11.0
|
|
golang.org/x/crypto v0.14.0
|
|
golang.org/x/sync v0.4.0
|
|
golang.org/x/sys v0.13.0
|
|
golang.org/x/term v0.13.0
|
|
golang.org/x/tools v0.14.0
|
|
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405
|
|
google.golang.org/grpc v1.59.0
|
|
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
|
|
google.golang.org/protobuf v1.31.0
|
|
gorm.io/driver/postgres v1.5.4
|
|
gorm.io/gorm v1.25.5 // indirect
|
|
mvdan.cc/gofumpt v0.5.0
|
|
nhooyr.io/websocket v1.8.10
|
|
)
|
|
|
|
require github.com/hashicorp/go-dbw v0.1.1
|
|
|
|
require (
|
|
github.com/DATA-DOG/go-sqlmock v1.5.0
|
|
github.com/cenkalti/backoff/v4 v4.2.0
|
|
github.com/creack/pty v1.1.18
|
|
github.com/glebarez/sqlite v1.9.0
|
|
github.com/golang/protobuf v1.5.3
|
|
github.com/hashicorp/cap/ldap v0.0.0-20231012003312-273118a6e3b8
|
|
github.com/hashicorp/dbassert v0.0.0-20231012105025-1bc1bd88e22b
|
|
github.com/hashicorp/go-kms-wrapping/extras/kms/v2 v2.0.0-20231124110655-4315424d22d0
|
|
github.com/hashicorp/go-rate v0.0.0-20231204194614-cc8d401f70ab
|
|
github.com/hashicorp/go-version v1.6.0
|
|
github.com/hashicorp/nodeenrollment v0.2.9
|
|
github.com/jackc/pgx/v5 v5.4.3
|
|
github.com/jimlambrt/gldap v0.1.9
|
|
github.com/kelseyhightower/envconfig v1.4.0
|
|
github.com/miekg/dns v1.1.56
|
|
github.com/mikesmitty/edkey v0.0.0-20170222072505-3356ea4e686a
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/sevlyar/go-daemon v0.1.6
|
|
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
|
|
golang.org/x/net v0.17.0
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20231030173426-d783a09b4405
|
|
gopkg.in/square/go-jose.v2 v2.6.0
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/mattn/go-sqlite3 v2.0.1+incompatible // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
modernc.org/libc v1.22.5 // indirect
|
|
modernc.org/mathutil v1.5.0 // indirect
|
|
modernc.org/memory v1.5.0 // indirect
|
|
modernc.org/sqlite v1.23.1 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/glebarez/go-sqlite v1.21.2 // indirect
|
|
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
|
|
gorm.io/driver/sqlite v1.5.4 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
|
|
github.com/AlecAivazis/survey/v2 v2.3.2 // indirect
|
|
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
|
|
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
|
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
|
github.com/Masterminds/semver/v3 v3.2.0 // indirect
|
|
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
|
|
github.com/alessio/shellescape v1.4.1 // indirect
|
|
github.com/apex/log v1.9.0 // indirect
|
|
github.com/armon/go-radix v1.0.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bgentry/speakeasy v0.1.0 // indirect
|
|
github.com/briandowns/spinner v1.16.0 // indirect
|
|
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
|
|
github.com/cenkalti/backoff/v3 v3.0.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/containerd/continuity v0.3.0 // indirect
|
|
github.com/coreos/go-oidc/v3 v3.8.0 // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
|
|
github.com/danieljoos/wincred v1.2.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/docker/cli v23.0.1+incompatible // indirect
|
|
github.com/docker/docker v24.0.7+incompatible // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
|
|
github.com/go-asn1-ber/asn1-ber v1.5.5 // indirect
|
|
github.com/go-jose/go-jose/v3 v3.0.1 // indirect
|
|
github.com/go-ldap/ldap/v3 v3.4.6 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/glog v1.1.2 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/google/uuid v1.4.0 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-kms-wrapping/plugin/v2 v2.0.5 // indirect
|
|
github.com/hashicorp/go-plugin v1.5.2 // indirect
|
|
github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.3 // indirect
|
|
github.com/hashicorp/mql v0.0.0-20230814234610-74af33a21d7f
|
|
github.com/hashicorp/vault/sdk v0.3.0 // indirect
|
|
github.com/hashicorp/yamux v0.1.1 // indirect
|
|
github.com/huandu/xstrings v1.4.0 // indirect
|
|
github.com/imdario/mergo v0.3.13 // indirect
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgproto3/v2 v2.3.2 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
|
|
github.com/jackc/pgtype v1.14.0 // indirect
|
|
github.com/jefferai/go-libsecret v0.0.0-20210525195240-b53481abef97 // indirect
|
|
github.com/jefferai/isbadcipher v0.0.0-20190226160619-51d2077c035f // indirect
|
|
github.com/jinzhu/gorm v1.9.16 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
github.com/lib/pq v1.10.9 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
|
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
|
|
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
|
github.com/moby/term v0.5.0 // indirect
|
|
github.com/mtibben/percent v0.2.1 // indirect
|
|
github.com/oklog/run v1.1.0 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.2 // indirect
|
|
github.com/opencontainers/runc v1.1.5 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
|
|
github.com/prometheus/common v0.44.0 // indirect
|
|
github.com/prometheus/procfs v0.11.1 // indirect
|
|
github.com/rogpeppe/go-internal v1.10.0 // indirect
|
|
github.com/russross/blackfriday/v2 v2.0.1 // indirect
|
|
github.com/sethvargo/go-diceware v0.3.0 // indirect
|
|
github.com/shopspring/decimal v1.3.1 // indirect
|
|
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.2 // indirect
|
|
github.com/spf13/cast v1.5.0 // indirect
|
|
github.com/urfave/cli/v2 v2.3.0 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
github.com/xo/dburl v0.16.0 // indirect
|
|
golang.org/x/mod v0.13.0 // indirect
|
|
golang.org/x/oauth2 v0.13.0 // indirect
|
|
golang.org/x/text v0.13.0 // indirect
|
|
golang.org/x/time v0.3.0 // indirect
|
|
google.golang.org/appengine v1.6.8 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|