Commit Graph

569 Commits (c2bc19c71fac7c3ccf106b3cdf0c19fb7ecf899d)

Author SHA1 Message Date
Johan Brandhorst-Satzkorn 9474b373b8
api: remove create from auth-tokens help (#3341)
3 years ago
Jeff Mitchell 3a9903a836 Don't attempt session teardown if the session is expired (#3312)
3 years ago
Jeff Mitchell 8322916fb4 Remove all deprecated Err/Wrap/E calls (#3286)
3 years ago
Jeff Mitchell feb3aea38f Support multiple IDs in grants (#3263)
3 years ago
Johan Brandhorst-Satzkorn ebcd6d2828
api: remove connection ID (#3298)
3 years ago
Jeff Mitchell 1b0330ad8e
Update dev worker auth flag names (#3265)
3 years ago
Louis Ruch 281f217dcc
feat(plugins): Refactor host plugins to boundary plugins (#3262)
3 years ago
Todd 2359d5b7a5
remove filter flags and options for session recordings
3 years ago
Todd d1a5f3a2ff
Update attribute fields to be proto struct so generated api becomes map[string]any
3 years ago
irenarindos 4785f2388f
chore(session recording): update cmd typo
3 years ago
Louis Ruch 95398d3b65
fix(dev): Fix panic in controller-only dev mode
3 years ago
Jim 468c58836b
feat(recordings/cli): more read detail info
3 years ago
Jim d49fde2299
feat(cli/session-recordings): add download cmd
3 years ago
Johan Brandhorst-Satzkorn 98e0b9db98
commands: add created, updated to recordings
3 years ago
Louis Ruch 7207353066
docs(ssh): Update docs to reflect ssh default port is not required
3 years ago
Louis Ruch 78ca8beb77
fix(cli): Update storage CLI gen and help text
3 years ago
Johan Brandhorst-Satzkorn 15524f3408
api: add created, updated times to recordings
3 years ago
Jim 35a2296092
feat(cli): add session recordings: read and list cmds
3 years ago
Johan Brandhorst-Satzkorn 281989e595
regenerate API files
3 years ago
Louis Ruch ba0dd857f3
feat(target): Add CLI support for storage bucket association
3 years ago
Louis Ruch 7ab3c66544
feat(storage): Add support for Storage Bucket CLI
3 years ago
Louis Ruch 798a1f952a
feat(storage): Add support for storage plugins
3 years ago
Louis Ruch 351444f1bd
refact(plugin): Move host loopback plugin into internal/plugin/loopback
3 years ago
Jim 20cf521cc0
feat(bsr): add bsr kms support in config, dev and tests
3 years ago
Louis Ruch 52fbc6410c
feat(storage): Add interface, options and errors
3 years ago
Jim 4d08c52afd
feat (authenticate/oidc): support outputting auth url (#3247)
3 years ago
Jeff Mitchell 77fd51fb12 Add more logging to worker auth rotation and test flags
3 years ago
Haotian d4bcdd8a06
fix(cli): correctly print secrets in authorize-session for current vault credential source subtypes (#3218)
3 years ago
Chris van Meer 2c23848da5
Remove quotations when not needed (#3207)
3 years ago
Jeff Mitchell a6fe1a5815
Update gen templates for license/gen info (#3211)
3 years ago
Jim 667ea285be
feature (boundary dev): add support for dev ldap auth method (#3192)
3 years ago
Jeff Mitchell 20391e3503
Add default client port to targets and use in connect command (#2767)
3 years ago
Hugo Vieira e467cbbfa2 feat(cmd): Display plugin host external name if present
3 years ago
Jeff Mitchell 163ce184b8
KMS-PKI Workers (#3101)
3 years ago
Jim 86192f75eb
feature (auth/ldap): add LDAP auth method along with associated accounts and managed groups (#2912)
3 years ago
Jeff Mitchell b76b24a4ad
Move prefixes for many packages into the globals package (#3069)
3 years ago
Jeff Mitchell b7d810e475
Fix function signature (#3070)
3 years ago
Jeff Mitchell b2bab45c13
Port over changes (#3061) (#3062)
3 years ago
Timothy Messier b69d1c2e2e
fix(cli): Fallback parsing of un-typed credentials (#2989)
3 years ago
Eng Zer Jun 6403b0f389
test: use `t.TempDir` to create temporary test directory (#2922)
3 years ago
Haotian f88547bbf5
fix(cli): update plural resource mentions in generated help texts (#2918)
3 years ago
Johan Brandhorst-Satzkorn 3c29308673 chore: Add license headers to all files
3 years ago
Timothy Messier 89a55632ba
feat(cli): Add vault ssh certificate credential library
3 years ago
Haotian 43f0ba89cf
feat(credentiallibraries): support vault ssh certificates
3 years ago
Irena Rindos a030c15403
Support HCPBInt in hcpb_cluster_id field (#2880)
3 years ago
Jeff Malnick a3c4cef648
Use primary auth method if no auth method ID is provided (#2725)
3 years ago
Jeff Mitchell 19180af0eb
Fix target port handling (#2846)
3 years ago
Todd d66b92abe0
Add directly connected downstream workers to the worker resource api (#2831)
3 years ago
Irena Rindos e238893c21
Unset worker auth when Boundary dev uses a kms worker (#2786)
3 years ago
Irena Rindos af24972386
warn if controller and worker name are the same (#2773)
3 years ago
Hugo Vieira f85da3ee2b feat(cmd): Create target using address on boundary dev / database init
3 years ago
Hugo Vieira 803cd278ae fix(cmd): boundary connect SSH depending on a host id for ssh aliasing
3 years ago
Hugo Vieira c82d2efb14 feat(cli): Implement address flag for boundary targets create/update
3 years ago
Irena Rindos 9135cc7668
In absence of ingress filter, use directly connected worker (#2757)
3 years ago
Jeff Mitchell 098248be18
Add the ability for CLI map values to contain keys only, which map to JSON nulls (#2721)
3 years ago
Jeff Mitchell 5353725278
Merge duplicated attr/secret/kv flag handling into one function (#2720)
3 years ago
Jeff Mitchell 66dc82a7ba Send message on dev mode SIGHUP so it doesn't just appear to have been swallowed
3 years ago
Irena Rindos 834a2a88f7
feat(targets): Addition of egress and ingress worker filters (#2654)
3 years ago
Johan Brandhorst-Satzkorn df02501dcc
Create new "previous-root" key purpose for root key migrations (#2639) (#2648)
3 years ago
Johan Brandhorst-Satzkorn edd323b73a
Key Rotation/Destruction (#2477) (#2607)
3 years ago
Jeff Mitchell 0c96c6ff6c
Split grace period into multiple config values (#2578) (#2603)
3 years ago
Irena Rindos 1e59aaf19b
fix host sets command sample command (#2596)
4 years ago
Michael Li 067530cdbf
fix(test): Retry websocket connection due to flaky failure (#2584)
4 years ago
Hugo Vieira bfd65feb90 feat(cmd): Display session connection information
4 years ago
Johan Brandhorst-Satzkorn f57454b6b9
Rewrite interface{} to any (#2535)
4 years ago
Timothy Messier d896f37493
Support reading multiple configuration files(#2504)
4 years ago
Louis Ruch b31e6a8abc
cli(ssh): Use type instead of SubtypeFromId (#2497)
4 years ago
Jeff Mitchell 6116dad2bc Fix incorrect flag name (#2494)
4 years ago
Louis Ruch b7684a857a
feat(ssh): Use HostId as HostKeyAlias for connect ssh helper (#2490)
4 years ago
Todd 06fd086004
Add health endpoint for worker (#2442)
4 years ago
Irena Rindos d951e1ebc1
Worker graceful shutdown (#2455)
4 years ago
Damian Debkowski 546c5dc5be
feat: static json credentials (#2423)
4 years ago
Jeff Mitchell 53b5e532d5
Remove deprecated methods/fields on targets (#2393)
4 years ago
Louis Ruch 506fdfa5c3
cli(ssh): Do not print private key if consumed (#2451)
4 years ago
Louis Ruch 50490d71ae
chore(targets): Improve help and errors around ssh targets (#2445)
4 years ago
Louis Ruch 5812a42ba3
feat(scheduler): set intervals from config (#2443)
4 years ago
Jeff Mitchell 9002930d65 Adapt shared lock skip logic to dbswap branch (#2437)
4 years ago
Hugo Vieira bed6e1a0ff feat(server): Reload database on SIGHUP
4 years ago
Hugo Vieira 8ab9ffbcac refact(cmd): Encapsulate some functionality on Command and Server
4 years ago
Hugo Vieira 621f8a9ff2 fix(schema): Database connection not cleanly closed
4 years ago
Timothy Messier 047a66e87d
fix(worker): Improper reload when running as controller and worker (#2438)
4 years ago
Todd 0b942f4493
Only clear tags in set-worker-tags when "null" is set as the value of the -tag flag. (#2434)
4 years ago
Irena Rindos 18dff62b7b
Merge BYOW GA branch to main (#2398)
4 years ago
Irena Rindos cee5ff7599
Minor documentation fixes for controller-led (#2432)
4 years ago
Jeff Mitchell 16c9e9b592 Add ability to skip shared lock acquisition
4 years ago
Louis Ruch d7c4c648ec
bug(vault): Correctly handle credential stores with expired tokens (#2399)
4 years ago
Jeff Mitchell 01fb949d0b
Add controller-led worker auth flow (#2413)
4 years ago
Timothy Messier 5d0cdf680f
feat(worker): Support reloading of initial upstreams on SIGHUP (#2417)
4 years ago
Haotian 17ddc301a8
feat(cli): add/set/remove worker tags (#2266)
4 years ago
Irena Rindos b43e61c8c7
bug(workers): Create worker-led panics on invalid token (#2388)
4 years ago
Timothy Messier 79866a287f feat(schema): Add support for migration hooks
4 years ago
Jeff Mitchell 02dd28f587
Add support for SSH private key passphrases (#2331)
4 years ago
Louis Ruch dcccaf1bcf
bug(cmd): Ensure RunShutdownFuncs is called when an early error occurs (#2333)
4 years ago
Jeff Mitchell fa17fdf9d7
Update wording and fix a missing prompt (#2329)
4 years ago
Jeff Mitchell fe2ee7ef4a
Change behavior of `-token` and `-password` to support env/file only (#2327)
4 years ago
Louis Ruch 53dbd51f14
Only consume ssh brokered credentials if the target is tcp (#2323)
4 years ago
Jeff Mitchell 26ffa705e5
Add parsepath logic to password in various places (#2325)
4 years ago
Jeff Mitchell 8800ec9c94
Reorganize logic to allow a poison pill (#2317)
4 years ago
Louis Ruch fc25178827
bug(server): Start ops listener even if controller is nil (#2314)
4 years ago
Damian Debkowski 2db5840790
fix(cli) check error value in executeExtraActionsImpl funcs (#2293)
4 years ago
irenarindos 4908aba546 feat(vault): Add unimplemented worker filter support to OSS
4 years ago
Damian Debkowski 1e44ed3d92
fix(cli) check error value from command func (#2286)
4 years ago
Jeff Mitchell 5117cf9548
Add some safety checks in server command (#2288)
4 years ago
Timothy Messier 439566cd10 feat(target): Add ssh target support to sdk/api/cli
4 years ago
Damian Debkowski c2bfcc0664
refactor(api module): enforce typed definitions (#2238)
4 years ago
Louis Ruch d6c1402223
bug(cli): Correctly generate private key file (#2274)
4 years ago
Louis Ruch 7d1a989ea7
feat(cli): Support using brokered private key in ssh subcommand (#2267)
4 years ago
Louis Ruch a17e973712
feat(credentials): Refactor credential purposes (#2260)
4 years ago
Jeff Mitchell 271cc8f781
Add ssh private key to CLI (#2265)
4 years ago
Jeff Mitchell 7ab7c8eaf4
Have fallback eventing use json format (#2216)
4 years ago
Timothy Messier fd5d15af27
feat(config): Add database config options for idle connection management (#2176)
4 years ago
Damian Debkowski 3e9c99c217
refactor(user_password) rename all references of user_password to username_password (#2232)
4 years ago
Todd 19b549c44a
Rename package servers to server (#2222)
4 years ago
Louis Ruch 9671daf6e0 Revert "refactor(user_passsword) change all references of user_password into username_password (#2189)"
4 years ago
Damian Debkowski ab58b24142
refactor(user_passsword) change all references of user_password into username_password (#2189)
4 years ago
Jeff Mitchell a589c32269 Minor capitalization change
4 years ago
Jeff Mitchell 32d04b9ce7
Allow a worker to use KMS auth but accept PKI for proxy (#2206)
4 years ago
Jeff Mitchell 9a4545e59e
Fix eventing and worker name setup (#2204)
4 years ago
Jeff Mitchell 704d68848c Merge remote-tracking branch 'origin/main' into llb-byow
4 years ago
Jeff Mitchell bfd9565010 Merge remote-tracking branch 'origin/byow-attrib-consolidation' into llb-byow
4 years ago
Jeff Mitchell 3d42737789
Don't display active connection count if it's not authorized (#2200)
4 years ago
Jeff Mitchell 4efbce3112
Add description updating via worker status (#2197)
4 years ago
Louis Ruch 5ef9496e0a
feat(cli): Support credential brokering with sshpass (#2191)
4 years ago
Louis Ruch 68eb6e2bed
chore(targets): remove deprecated credential libraries on target resources (#1533)
4 years ago
Todd beecbbb8a2
Upsert creates a new KMS and Updates PKI workers (#2187)
4 years ago
irenarindos 80752e9a24 cli(workers): Add extra help func
4 years ago
Jeff Mitchell 8335deb8b6
Update protos, generated code, and service handlers (#2188)
4 years ago
Louis Ruch 4b365db634 feat(target): Add support for static credentials during authorize-session
4 years ago
Louis Ruch 58d546cdd4 feat(credential): Add static credential store and username_password credential
4 years ago
Haotian 40ba275759 feat(worker): add 'initial_upstreams' field to worker config to prepare to replace 'controllers' field. Update worker config description on website.
4 years ago
Jeff Mitchell 8a131ef4f7
Fix missing guardrail for worker kms auth population (#2172)
4 years ago
Jeff Mitchell 5d3facf561 Merge remote-tracking branch 'origin/main' into llb-byow
4 years ago
Louis Ruch c4285b29cc
fix(target): Correctly return egress credentials assocaited with target (#2167)
4 years ago
Irena Rindos f7dbf2a532
Merge pull request #2163 from hashicorp/irindos-clusterid-upstreams
4 years ago
Jeff Mitchell 5a7291131f Make current key update on rotation
4 years ago
Jeff Mitchell b84001c07d
Add CLI for workers (#2164)
4 years ago
irenarindos 256498d40f fixup! feat(worker): Map cluster ID in config to upstream address
4 years ago
Jeff Mitchell 5b978d7fa7
Adjust parameter naming (#2161)
4 years ago
irenarindos 3aa7d11419 feat(worker): Map cluster ID in config to upstream address
4 years ago
Timothy Messier e79714e93f
feat(session): Add include_termianted option to list endpoint
4 years ago
irenarindos 594e6e82b5 feat(worker): save workerAuth request to a file
4 years ago
Jeff Mitchell 9736b79d4e
Remove temporary node authorization functions (#2147)
4 years ago
Jeff Mitchell d1b3b2441f
Add node rotation (#2142)
4 years ago
Jeff Mitchell aa0afd325a
Remove 'ephemeral' from KMS auth method bits (#2141)
4 years ago
Jeff Mitchell 4117841cf9
Use persistent storage for worker auth credentials (#2139)
4 years ago
Jeff Mitchell caf19f867e Rename some variables to remove Nodee
4 years ago
Haotian 631c174f47
feat(worker): implements WorkerAuthStorage wrapper for worker credential encryption (#2076)
4 years ago
Todd 731a45eba6
Merge the worker_status table with the worker table (#2111)
4 years ago
Jeff Mitchell 46e97a2b91
Update to new nodee lib bits (#2120)
4 years ago
Jim 70c5da1048
feature (workers): add repository CreateWorker(...) (#2105)
4 years ago