Jeff Malnick
07a823c520
docs: update GCP KMS docs with environment variable usage ( #2690 )
2022-12-07 16:36:48 -05:00
Danielle
5f8d292ea1
Inject Custom Response Headers By Status ( #2587 )
...
* add custom ResponseWriter struct to inject custom response headers based on status code
* docs
* upgrade listenerutil
* fix config tests
* replace all instances of "data:*" with "data:" to reflect changes to listenerutil
* swapping strings.HasPrefix in favor of mux.Handler for ui request matching
* set ui path as const
* add custom response headers to changelog
2022-12-01 13:15:53 -05:00
Johan Brandhorst-Satzkorn and Dan Heath
df02501dcc
Create new "previous-root" key purpose for root key migrations ( #2639 ) ( #2648 )
...
* Update go-kms-wrapping dependency
* Apply changes suggested by Jeff
* Fix listener test
* Add note about config fix to CHANGELOG
* Review comments
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
2022-11-24 20:07:37 -05:00
Yoko Hyakuna
fa619b0910
Address reported bugs ( #2449 )
2022-09-13 19:48:06 -04:00
Louis Ruch
5812a42ba3
feat(scheduler): set intervals from config ( #2443 )
2022-09-13 10:01:49 -07:00
Irena Rindos
cee5ff7599
Minor documentation fixes for controller-led ( #2432 )
...
* Minor documentation fixes
2022-09-08 10:15:47 -04:00
Jeff Mitchell and Irena Rindos
01fb949d0b
Add controller-led worker auth flow ( #2413 )
...
This adds an action to the API that allows pulling out an activation
token that can be given to a worker in its config (directly or via env
or file). The worker can pass this along with its normal request in
place of its normal nonce and the server will automatically accept it.
Co-authored-by: Irena Rindos <irenarindos@users.noreply.github.com >
2022-09-02 14:32:41 -04:00
Irena Rindos
547e7a5970
docs(workers): add documentation for pki worker cred encryption ( #2397 )
...
* docs(workers): add documentation for pki worker cred encryption
2022-08-26 13:08:18 -04:00
Jeff Mitchell
30ede3b137
Fix various website issues ( #2344 )
...
I found some invalid links and some missing KMS information; this fixes
those.
2022-08-09 17:56:29 -04:00
Mark Lewis
6d5abba2e5
Update common.mdx ( #2099 )
...
typo
2022-07-20 15:33:49 -04:00
Mark Lewis
80b2dbe862
Update overview.mdx ( #2098 )
...
Fix missing bracket
2022-07-20 15:33:27 -04:00
Loann Le and Robin Beck
d5633952db
Boundary documentation: content cleanup in prep for devdot migration ( #2249 )
...
* cleaning up docs
* Update website/content/docs/concepts/domain-model/groups.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
* Update website/content/docs/concepts/domain-model/managed-groups.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
* Update website/content/docs/concepts/domain-model/roles.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
* Update website/content/docs/concepts/domain-model/scopes.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
* Update website/content/docs/concepts/domain-model/sessions.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
* Update website/content/docs/configuration/worker/pki-worker.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
* Update website/content/docs/getting-started/deploy-and-login.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
2022-07-12 13:29:35 -06:00
Timothy Messier
fd5d15af27
feat(config): Add database config options for idle connection management ( #2176 )
...
This adds two new config options for the `database` stanza:
- `max_idle_connections`
- `max_idle_time`
These correspond to settings for the underlying `sql.DB` instance. They
can be used to have finer control over the controller's database
connection pool. For example this can be used to mitigate the high
connection overhead when connecting to postgres by setting a high
`max_idle_connections` and either setting `max_idle_time` to zero or to
a high duration.
Alternatively, if using a connection pool like pgpool-II or pgbouncer,
`max_idle_connections` can be set to 0.
See:
https://pkg.go.dev/database/sql#DB.SetMaxIdleConns
https://pkg.go.dev/database/sql#DB.SetConnMaxIdleTime
https://www.pgpool.net/mediawiki/index.php/Main_Page
https://www.pgbouncer.org/
2022-07-05 15:25:55 -04:00
Jeff Mitchell
86141ffb65
Add some OSS/HCP Boundary distinctions in docs ( #2227 )
2022-06-22 03:31:16 -04:00
c05fa66096
Hashiconf docs changes ( #2178 )
...
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
Co-authored-by: XingLu Wang <95828202+xingluw@users.noreply.github.com >
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
Co-authored-by: irenarindos <irena.rindos@gmail.com >
Co-authored-by: Irena Rindos <irenarindos@users.noreply.github.com >
Co-authored-by: Louis Ruch <louisruch@gmail.com >
Co-authored-by: XingLu Wang <xinglu.wang@hashicorp.com >
Co-authored-by: XingLu Wang <95828202+xingluw@users.noreply.github.com >
2022-06-22 02:37:49 -04:00
Haotian
40ba275759
feat(worker): add 'initial_upstreams' field to worker config to prepare to replace 'controllers' field. Update worker config description on website.
2022-06-13 15:45:03 -07:00
Johan Brandhorst-Satzkorn
a2477420da
chore: Clarify event file sink doc ( #2162 )
...
Updated examples to show the common use case of
specifying a directory path and file name for
a file sink. This should hopefully prevent users
from making the mistake of putting a full path
for the file_name field and seeing an error like:
[ERROR] unable to send event: operation="event.(Eventer).retrySend"
warning=
| 1 error occurred:
| * mkdir : no such file or directory
|
2022-06-10 13:30:05 -04:00
bc86b4e9e9
Docs Changes for v0.8.0 ( #2024 )
...
* added new metrics doc
* Minor format fixes
* Use table to list metrics
* Update website/content/docs/operations/index.mdx
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
* fixed sentence
* added worker proxy http
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Todd <github@quaddi.com >
* Update based on the changes in draft
* remove WIP note
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Todd <github@quaddi.com >
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Todd <github@quaddi.com >
* Update website/content/docs/operations/index.mdx
Co-authored-by: Todd <github@quaddi.com >
* Removed invalid metrics
* Update header level
* added code styling for "ops" listener and port 9203 description
* added health endpoint document
* resolved cherry-pick confict for 5edac3a7418f80e7d528f2fa7a461b1125c11806
* Incorporate review feedback
* removed bad reference to metrics
* added Other section for boundary_build_info
* fixed typo
* Update website/content/docs/operations/health.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* Update website/content/docs/operations/health.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* Update website/content/docs/operations/health.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* Update website/content/docs/operations/health.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* Update website/content/docs/operations/health.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* Changed release notes structure
Removed the empty "Releases" folder and now it goes straight to "Release Notes"
* Update website/content/docs/operations/health.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* Incorporate review feedback
* Update website/content/docs/operations/index.mdx
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
* added tutorial link
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
* Update website/content/docs/operations/metrics.mdx
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
* 0.8 Release Notes
Added release notes page for 0.8
* corrected sensitive info redaction note
* cleaned up visibility overview
Co-authored-by: taoism4504 <loann@hashicorp.com >
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com >
Co-authored-by: Loann Le <84412881+taoism4504@users.noreply.github.com >
Co-authored-by: Todd <github@quaddi.com >
Co-authored-by: Timothy Messier <tim.messier@gmail.com >
Co-authored-by: XingLu Wang <xinglu.wang@hashicorp.com >
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
2022-05-03 16:24:04 -04:00
Joey Freeland
15a6ffeb6b
chore: clarification on default TCP ports ( #1878 )
2022-03-30 09:36:30 -07:00
Hugo
244237cd2f
feat(controller): Add health endpoint ( #1882 )
...
* feat(controller): New health service and server
This change also implements a new listener purpose, `ops`.
`ops` (short for operations) is a new listener purpose that is
responsible for serving Boundary's operations endpoints, like health
and possibly metrics.
At Startup: `ops` listeners get configured as late as possible to catch
any errors with the startup process;
At Shutdown: If the health endpoint has been set-up, we introduce a
configurable delay in the process. This is to enable the health endpoint
to report unhealthy for that amount of time. `ops` listeners are also
the last listeners to be shutdown.
2022-03-28 17:16:39 +01:00
Hugo Vieira
5f36057f65
feat(config): Env/file support for Worker description
2021-12-10 18:21:52 +00:00
Irena Rindos
7bf787ec40
feat(config): Add env and file support for database max connections
2021-12-09 13:02:42 -05:00
Hugo Vieira
8462a65637
feat(config): Add env/file support to Worker.Controllers field
...
This feature allows the user to set the `controllers` field to a string
that points to either an environment variable or file.
We then dynamically pull out the value and parse it into the config.
2021-12-08 17:10:41 +00:00
Irena Rindos
5601f2bc5f
feat(config) Add env and file support to Plugins execution dir
2021-12-08 10:48:24 -05:00
Irena Rindos
1f43ec174f
Merge branch 'main' into irenarindos-env-file-controllerconfig
2021-12-08 04:58:46 -08:00
Irena Rindos
161916f6d3
feat(config): Add env and file support to Controller description
2021-12-07 15:08:21 -05:00
Hugo Vieira
1576af70cc
feat(config): Add env and file support to Worker Tags
...
This feature allows the user to set the `tags` field to a string
that points to either an environment variable or file.
We then dynamically pull out the value and parse it into the config.
This can also be done at the keys level, where you set your keys
directly in Boundary's config file, but point the values to env/file.
2021-12-07 19:21:04 +00:00
Hugo Vieira
f1063a62a0
feature(config): add sockaddr template support
2021-11-30 14:07:12 +00:00
Jeff Mitchell and Michael Gaffney
04a52a5864
Add plugins configuration section to docs ( #1727 )
...
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com >
2021-11-17 17:21:20 -05:00
Robin Beck
204ff254ca
fixed hcl config examples for sink ( #1590 )
...
* fixed hcl config examples for sink
* fixed observations_enabled parameter typo
2021-10-13 13:57:31 -06:00
Rolf Sommerhalder
b599bb5eb2
Adjust syntax in example ( #1476 )
2021-08-31 13:29:04 -04:00
Jeff Mitchell
b0dbd0182e
Add support for additional awskms parameters ( #1468 )
...
This updates to the latest go-kms-wrapping tag to support these
parameters and documents them.
2021-08-18 12:45:20 -04:00
Jim
b3d8b50307
Sink documentation ( #1449 )
2021-08-05 19:31:02 -04:00
xuwhao
ade67e6bb5
fixed typo: specifc -> specific, varibles -> variables, idomatic -> idiomatic. ( #1421 )
2021-07-27 19:36:42 -04:00
Mike Green
462306fea5
Remove tls_disable from cluster listener ( #1389 )
...
Per https://www.boundaryproject.io/docs/configuration/listener/tcp#tls - having this here is invalid.
All tls parameters are valid only for the api listener. cluster and proxy connections use their own ephemeral TLS stacks
2021-07-13 12:41:04 -04:00
Michael Gaffney
8890b97b6f
Update docs for minimum value of max_open_connections ( #1387 )
...
Closes #1374
2021-07-08 15:41:01 -07:00
Mike Green
d474cc6e29
Clarify default Postgres behavior ( #1382 )
2021-07-07 16:38:11 -04:00
Jeff Mitchell
f32e7f9144
Add ability for the controller/worker name to be read from env/file ( #1181 )
2021-05-04 09:37:56 -04:00
Dylan Scott
4ae5003763
PR #1001 : Postgres Connection Pooling Control ( #1015 )
2021-05-03 18:42:18 -04:00
Jeff Mitchell
c54aedcf1a
By default, add Boundary Desktop's origin to allowed CORS origins ( #1121 )
...
This also adds support for a flag to disable this behavior.
Fixes #1093
2021-04-14 16:26:21 -04:00
Jeff Mitchell
e8814e55f8
Copy missing text from TCP listener to Unix listener
2021-04-13 11:40:04 -04:00
Bryce Kalow
bd8cc5464e
feat(website): migrates nav data format and updates docs pages ( #1049 )
...
* migrates nav data format and updates docs pages
* removes sidebar_title from content files
* updates api docs to work with new format
2021-04-05 13:04:57 -04:00
Alex Harness
79283d93ac
docs: Clarify note on VAULT_TOKEN env variable ( #1026 )
...
A slight update for clarity regarding the wording of the Note regarding the recommendation of using the 'VAULT_TOKEN' environment variable as opposed to using the token parameter in the configuration file.
2021-03-24 14:17:55 -04:00
Randall Morey
e3c30defbe
docs: clarify CORS configuration options ( #1011 )
...
* docs: clarify CORS configuration options
* docs: use double quotes
2021-03-18 08:48:37 -07:00
Jeff Mitchell
af47d04002
Clarify that TLS parameters in listeners are valid only for api usage.
2021-03-17 12:22:51 -04:00
grantorchard
a95d2ff83c
Workers connect to controlles on 9201, not 9202 ( #991 )
2021-03-16 15:09:09 -07:00
Jeff Mitchell
9fbb552031
Update shared-secure-libs to support tls_max_version
2021-03-09 08:33:35 -05:00
Jeff Mitchell
4738ceee5d
Add TLS certificate and worker tag reloading on SIGHUP (ICU-1142) (ICU-1143) ( #959 )
2021-02-25 17:57:10 -05:00
Jeff Mitchell
341e7aff0d
CLI Generation ( #953 )
2021-02-23 19:06:39 -05:00
Jeff Mitchell
1906a7311b
Fix some documentation that was not correct
...
TLS listener docs were pulled from Vault but we don't actually have
SIGHUP enabled yet.
2021-02-22 15:44:40 -05:00