Commit Graph
332 Commits
Author SHA1 Message Date
Todd Knight 7692b6a541 Bumping version.js to 0.6.1 2021-09-15 15:25:19 -07:00
Pete Pacent 08c6095aac Adding release notes for 0.6 and 0.5 (#1523) 2021-09-14 13:16:29 -07:00
Susmitha Girumala 811d0b63fd Bump doc download versions to latest (#1517) 2021-09-09 12:38:55 -04:00
Jeff Mitchell e9a8ede0d6 Move wrapper package back to SDK (#1511)
TF uses this, so SDK is a decent place for it. It doesn't create
dependencies between it and API.
2021-09-08 12:15:42 -04:00
Jeff Mitchell 081de3cf79 Migrate sdk/recovery to api/ and sdk/wrapper to internal (#1507)
* `recovery` is only used by the API (and the main module, for decryption)
* `wrapper` is only used by the CLI right now

Moving these brings them closer to the code that uses them, and makes
the SDK package a bit more clear in terms of functionality.
2021-09-07 22:13:19 -04:00
Kevin Wang 3fc2cf4df5 chore(website): add next-remote-watch (#1499)
- this enables auto-reloading on specified file changes
2021-09-07 15:29:19 -04:00
Rolf Sommerhalder b599bb5eb2 Adjust syntax in example (#1476) 2021-08-31 13:29:04 -04:00
Pamela Bortnick 8e42b04b04 Update social share image (#1487)
* Update image for social share

* Remove Icon file
2021-08-26 11:12:31 -07:00
Mike Wickett 40b1e873f3 chore: update alert banner (#1452) 2021-08-23 13:36:53 -04:00
Zachary Shilton 6e435a8141 Upgrade global styles (#1418)
* website: bump packages for global style upgrades

* website: backfill missing type styles

* website: upgrade security page to use markdown-page

* website: upgrade g-container to g-grid-container

* website: upgrade community page

* website: hide alert-banner on mobile

* website: fix mismatched border colour on downloads page

* website: fix incorrect className

* website: bump to fix issue with typography on OpenAPI pages
2021-08-20 12:19:48 -04:00
Todd Knight 1cacd8ee35 Update website VERSION export to 0.5.1 2021-08-19 10:31:01 -07: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
Taylor Dolezal 248e1f36b5 Update next steps in connect to target documentation (#1439) 2021-08-09 08:12:31 -07:00
Susmitha Girumala ba85a3bc3f docs: Update desktop client download version (#1450) 2021-08-05 21:10:43 -04:00
Jim b3d8b50307 Sink documentation (#1449) 2021-08-05 19:31:02 -04:00
Mike Wickett 534efef039 rebase cleanup (#1435) 2021-08-05 13:31:01 -07:00
Todd Knight 6b578c0e30 Update to versions 0.5.0 2021-08-02 13:36:07 -07:00
Todd Knight 39cc245966 Make gen after make tools. Includes make fmt of existing non generated files. (#1438) 2021-08-02 10:46:09 -07:00
Bryce Kalow 8599b55f7a web: migrate to web platform- packages (#1405)
* migrate usages of nextjs-scripts to platform packages

* upgrade hashi packages

* use new downloads page component

* adds missing dep

* remove redundant head component

* remove styles

* remove unused prop
2021-08-02 12:34:03 -04:00
Randall Morey 02ff2db66e docs: add credential doc redirects and fix session redirect (#1425)
* docs:  add credential doc redirects and fix session redirect

* fix: source -> library
2021-07-29 19:28:02 -04:00
Nico Vibert 05869a6f74 Update manage-targets.mdx (#1376)
Fixed typo (equivalient -> equivalent)
2021-07-28 11:50:27 -07:00
xuwhao ade67e6bb5 fixed typo: specifc -> specific, varibles -> variables, idomatic -> idiomatic. (#1421) 2021-07-27 19:36:42 -04:00
Mike Wickett acede17909 changes desktop CTA language (#1412) 2021-07-27 14:43:39 -07: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
Noel Quiles a0c0d17c1d Bump hashi-stack-menu (#1392) 2021-07-12 15:49:26 -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
Michael Gaffney a9c2674395 Document dependency on pgcrypto (#1385)
Closes #823
2021-07-08 16:57:05 -04:00
Carlos Alcaide Corvo ec7577c5fe Bump types/react dependency version (#1307) 2021-07-08 10:16:21 -07:00
Mike Green d474cc6e29 Clarify default Postgres behavior (#1382) 2021-07-07 16:38:11 -04:00
Carlos Alcaide Corvo 8e8a802f21 Bump desktop client version (#1373) 2021-06-30 20:15:58 -04:00
Pete Pacent fc4fcbda7c [Do not Merge] Adding release notes for 0.3 and 0.4 (#1370)
* Adding release notes for 0.3 and 0.4
2021-06-30 16:24:57 -07:00
Jim f483828286 update to 0.4.0 version 2021-06-29 07:19:00 -04:00
Kendall Strautman 44a3a47b48 website: upgrade react-head (#1352)
* chore: upgrade react-head and deps

* chore: upgrade to v3
2021-06-28 09:00:37 -07:00
Michael Gaffney 28f48df026 Add documentation for credentials to website (#1356) 2021-06-25 15:31:10 -04:00
Zachary Shilton c058c08907 website: bump use-cases to latest (#1345)
* website: bump use-cases to latest

* chore: bump use-cases to stable release
2021-06-23 17:10:24 -04:00
df35699c4e Integrate with Vault to retrieve and manage per session credentials (#1308)
* Fix down migrations

* Udpates due to merge

* Sentinel values only have to be greater than 0

* Create credential related sdk structs and methods.

* Post merge interface updating.

* Removing scratch code that was not cleaned up.

* updates

* Convert client certificate and client certificate keys into pem blocks and validate.

* Add newline at end of file.

* Faster check for "s" at the end of a resource name when generating from templates.

* make fmt

* updates

* Add dynamic credentials to a session

* Refactor: move contents of file

* updates

* Updates

* Add InvalidDynamicCredential error

* Assign credentials

* Allow updating client certificates seperate from the client certificate key.

* Replace application purpose string with enum value

* PR feedback / fix go test .

* Delete dead code

* Use common view

* Refactor: extract interface and rename method

* Refactor: move code to eliminate privPurpLibrary

* Add comment to requestMap

* Refactor: do not export methods on an unexported struct

* Update internal/db/schema/migrations/postgres/10/03_vault_credential.up.sql

Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>

* Add comments to credential Purpose constants

* Reorder switch statements to handle errors first

* PR feedback

* update

* fix merge

* Organizing the scheduler code and extract the individual store creation test helper function.

* Run 'make fmt'

* Create certificate when creating store.  Allow vault address to be passed in as option

* Refactor: rename database views and associated structs

This change renames two database views and associated go structs to use
a consistent naming pattern. Views ending in 'private' contain encrypted
credentials needed for connecting to Vault. Views ending in 'public'
mirror the 'private' views but do not include any encrypted values.

This change does not include any changes to functionality or behavior.

* Adding SAD target operations for credential libraries to the SDK.

* Add status field and enumeration table for credential status

* Refactor: rename Status to TokenStatus

* Add status to vault credentials

* Creating the template for the CLI and helper functions.

* Add private database view for vault credentials

* Add scope_id to view and cleanup TODO comment

* Reformat embedded sql queries

* Add vault client helpers

* updates

* white space

* Add LookupLease test

* CLI commands for Store work.  Renamed fields in proto w/ vault prefix.

* Test issue credentials with client TLS

* Add additional checks to vault ping

* Add an error for vault token capabilities and create a VaultToken error kind

* Add support for working with Vault policies

* Use Vault 1.7.2 for testing

* Add testing helper for creating a vault client with a non-root token

* Fix Vault renew lease test

The Vault renew lease endpoint accepts an optional duration parameter
for requesting the number of seconds to extend the lease by. However,
Vault is not required to honor this request.

* Add a var for the required capabilities of a boundary Vault token

* Enhance the test helper for adding a policy to Vault

* Allow the test role in postgresql to revoke credentials

* Remove out of date comments

* Enhance Vault test helpers for the database secrets engine

* Reformat comments

* Add a method for getting the capabilities of the current Vault token

* Add revoke lease to internal Vault client

* Reformat: combine err return line with check for nil line

* Remove redundant checks in test code

Remove checks in test code that are redundant with checks in the test
harness.

* Refactor CreateToken test helper to return the secret and the token

* Fix build failures caused by signature change in vault.CreateToken

* Fix Vault version and Vault API link in comments

* ran `make gen` after merging from mgaffney-vault.

* Remove Vault prefix from attribute fields in API, create a base CLI option for adding field prefixes. format now uses that prefix for error reporting.

* Template now allows attaching attribute field prefixes.

* Credential store uses PrefixAttributeFieldErrorsWithSubactionPrefix.

* Fixing naming of vault flags and helper flags.

* Updating more references to generated api methods.

* Make the capabilities String method more readable

* Add comment outlining PrintApiError usage of Options.

* Refactor test to move declarations closer to first use

* Fix comment

* Implement revoke method on vault repository

* Tests now verify certs, CA, and tokens, addresses can be updated in a store.

* Added test for creating store with pk/cert in same field.

* Allo updating certificates seperate from private key.  Only contact backing vault service when updating token.

* Fixing bad tests and removing unused code.

* Adding tests for various ways of updating tokens.

* Add private credential

* Add token revocation job and cred renewal/revocation job

* Regen after merge.

* Fixing field mask related merge error.

* Create Library CLI. Removes vault prefix from path. Adds a WithoutCleanup testOption for vault.

* Set all credentials to revoked when a token is revoked

* Fixing missed renaming update.

* fix copy/paste error.

* Fixing code generation errors after merge.

* make gen after merge.

* Update internal/cmd/commands/credentialstorescmd/vault_funcs.go

Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>

* Update internal/cmd/commands/credentialstorescmd/vault_funcs.go

Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>

* Update internal/cmd/commands/credentialstorescmd/vault_funcs.go

Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>

* Refactor: move migrations from 10 to 12

* Removing logic from transaction.

* wrapping client errors in the calling op for CredentialStore's client() method.

* Redact token

* redact client key

* updates

* Add trigger to revoke credentials when session is canceled or terminated

* Fixing some help text for some flags.

* Add ability to load values from files (file://) or environment variables (env://).

* Updating comments

* fix bad merge

* feedback

* Adding issued credentials to sessions.

* Error on capabilities

* updates

* Expose NewVaulTestServer

* Add godoc

* Adding generated SessionCredential struct for API.

* Progress on building handler test for Authorize Session.

* feedback

* Update policies

* Add 'revoke' as a status for Vault Tokens

* Add delete_time to vault credential store

* Create dynamic credentials at session creation time.

* Tests pass with credentials attached to AuthorizedSession result.

* Only call issue if there are credentials to issue.

* Fixing output only issues. Adding type to credential library.

* Fix test to clear un/pw generated.  confirm generated un/pw changes from 1 authorize session call to another.

* Update lookupTokenError

* Add delete_time to private credential store

* Refactor: move private store to separate file

* Fixing tests for AuthorizeSession and verifying error cases.

* Only create the credential repo if there are credentials to issue.

* Rename Library field to CredentialLibrary.

* Fixing missing change of Library to CredentialLibrary.

* Removing Default SDK functions for fields which are required and update CLI to match.

* Replace resource specific id variables with "id" and the input parmater for paths to be just a single string and the resource name as it should show up in the path.

* Soft delete vault credential stores

* Prevent new SQL functions from silently overwriting existing functions

* Rename "Hmac" to "HMAC" in the human readable cli response table.

* Fix tests

* Add vault database cleanup jobs

* Add ability to set the token period in the vault test harness

* updates

* Add not_null_columns func test

* remove unused struct

* Up no output timeout

* Validate current vault token on addr update

* Fix client cert change test

* add cert test

* Update revocation job where

* Fix comment

* Use Vault's default port in CLI help strings

* Remove down migrations

* Increase migration file numbers by 1

* Run make migrations

* Move migrations from 12 to 10

* Increase Circle CI timeout for acceptance tests

* Fix spelling mistake in error messages

* ASD cmds for Target and returning credentials to AuthSession request (#1338)

* Add Add/Set/Remove commands for libraries on Targets.  Return credentials on AuthorizeSession request.

Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>

Co-authored-by: Louis Ruch <louisruch@gmail.com>
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com>
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
2021-06-22 22:26:26 -04:00
Zachary Shilton 8642274a79 website: upgrade code-block (#1335)
* website: upgrade code-block

* website: bump nextjs-scripts
2021-06-22 17:38:43 -04:00
Robin Beck e69ca4f0cb fixed roles and accounts link references (#1323) 2021-06-18 09:16:48 -06:00
Jeff Malnick f9dd8e9490 update website pointer to desktop client to version 1.1.0 (#1322) 2021-06-14 13:16:55 -04:00
Carlos Alcaide Corvo aea1da77b6 Bump @types/node to latest release of v15 (#1296)
* Bump @types/node to latest release of v14

* Bump major version to v15
2021-06-11 09:41:17 -07:00
Jim Lambert e2a262c5f4 update website boundary version 2021-06-09 16:19:02 -04:00
Brandon Romanoandwill kent-daggett b36a017886 Support multiple Desktop OS (#1302)
* Support multiple Desktop OS

* Switch back var to const

Co-authored-by: will kent-daggett <3254957+wkentdag@users.noreply.github.com>

Co-authored-by: will kent-daggett <3254957+wkentdag@users.noreply.github.com>
2021-06-09 12:51:02 -07:00
Mike Wickett d5d2493a66 website: update alert banner (#1299) 2021-06-09 11:10:02 -04:00
Jeff Mitchell f50ed866ef Add resource/filtering docs for OIDC managed groups (#1297) 2021-06-09 08:55:02 -04:00
Carlos Alcaide Corvo e3ea54c98d Bump website @apidevtools/json-schema-ref-parser dependency version (#1295) 2021-06-08 13:18:25 -07:00
Jim Lambert aa41676dc9 make gen changes prior to staging release 2021-06-08 13:12:26 -04:00
Susmitha Girumala 0b819d248e Update desktop guide for Windows (#1292)
* Add Windows screenshots to desktop guide
2021-06-08 09:51:15 -07:00
Jeff Mitchell e958a77280 Merge remote-tracking branch 'origin/main' into ICU-1573 2021-06-08 12:34:49 -04:00
Jeff Mitchell 054c0aa538 Update password generated account IDs (#1290) 2021-06-08 12:31:58 -04:00
dependabot[bot] 566fd3312e Bump lodash from 4.17.20 to 4.17.21 in /website (#1206)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 05:47:18 -07:00