Commit Graph

5297 Commits

Author SHA1 Message Date
Max Coulombe
1cae21fb2f Fix small doc error (#24627)
* fix small doc error for vercel destination

Co-authored-by: Calvin Leung Huang <1883212+calvn@users.noreply.github.com>

---------

Co-authored-by: Calvin Leung Huang <1883212+calvn@users.noreply.github.com>
2023-12-22 09:14:22 -05:00
Austin Gebauer
84bc8b1743 docs: adds more targeted guidance for GCP workload identity (#24620)
* docs: adds more targeted guidance for GCP workload identity

* hopefully fix markdown
2023-12-21 10:25:08 -08:00
Austin Gebauer
082d2a6412 docs: fix code snippet copy for SAML auth method (#24619) 2023-12-21 08:48:07 -08:00
Justin Clayton
e7838a3594 Add some clarity to retry_join docs (#24605)
This edit was made based on customer feedback
2023-12-20 16:24:38 -08:00
Sarah Chavis
c93c0b39b4 [DOCS] Add how-to guide for containerize plugins (#24537)
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-12-20 14:45:23 -08:00
Sarah Chavis
1d8d80e8de Remove invalid link (#24593) 2023-12-19 19:55:35 +00:00
benz0
954da5006c Update audit.mdx (#24561)
* Update audit.mdx

Per the discussion here: https://hashicorp.enterprise.slack.com/archives/CPEPB6WRL/p1656678311708759

This parameter does not apply to DR replication.
This document should specify that the `local` parameter only applies to performance replication because even with this enabled the audit device configuration is still replicated to a DR cluster. This is also the expected and desired behavior.

* Fixed typos

---------

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-12-19 18:10:53 +00:00
Christopher Swenson
4980cb0fe1 Delete metadata-read event (#24568)
We never generated such an event. This was just a mistake when
I wrote the initial docs.
2023-12-18 10:23:01 -08:00
claire bontempo
2c19bbe145 Consistently refer to Key Value secrets engine as KV (#24529)
* VAULT-21427 change ui references from K/V to KV

* references in docs/

* website json data

* go command errors

* replace Key/Value with Key Value

* add changelog

* update test

* update secret list header badge

* two more test updates
2023-12-14 11:28:58 -08:00
Theron Voran
7801d2dea2 docs/vault-secrets-operator: aws vaultauth (#23982)
Adding an overview doc for using AWS auth with Vault Secrets Operator
under Secret Sources/Vault/Auth Methods/.

Had to move the AWS and GCP auth pages down one directory to get
around a "mismatched parent directories" error.

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-12-14 10:51:10 -08:00
owenzorrin
7df1b64a3d Update ldap.mdx (#24338)
add missing use_token_groups parameter

* use_token_groups - (Optional) Use the Active Directory tokenGroups constructed attribute of the user to find the group memberships
https://registry.terraform.io/providers/hashicorp/vault/latest/docs/resources/ldap_auth_backend#use_token_groups
2023-12-13 15:06:20 -08:00
Chip Stepowski
67ad37cc50 Automated snapshots info and perf replication.mdx (#23985)
Include automated snapshots info regarding perf replication.mdx
---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-12-13 13:53:00 -08:00
benz0
ac1e9194da Update aws.mdx (#23527)
Added clarification for 32 character limit on STS tokens.
Forcing suggestion commit so we can merge and publish the changes.

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-12-13 13:37:07 -08:00
ram-parameswaran
6a2ff07ba2 Document Vault Default Password Policy (#23939) 2023-12-13 13:31:12 -08:00
Sean Ellefson
98d0125960 Adding note about node-id being generated when unset (#24101)
* Adding note about `node-id` being generated when unset

* Update website/content/docs/configuration/storage/raft.mdx

* Correct linter error

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-12-13 21:15:57 +00:00
Sean Ellefson
c7a7b0a2d2 Added vault operator raft snapshot inspect usage (#24083)
* Added `vault operator raft snapshot inspect` usage

* Update website/content/docs/commands/operator/raft.mdx

Forcing suggestion commit so we can merge and publish the changes.

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-12-13 13:14:42 -08:00
Sokren
a58c3a9850 Update azurekv.mdx change line 37 stores to destinations (#24374) 2023-12-13 12:42:09 -08:00
Sungyoon Jeong
7336cf70ad docs: fix typo in aws.mdx (#24435) 2023-12-13 12:37:13 -08:00
Steven Clark
b8050c518e Quote example domains within ACME entity docs (#24508)
- The existing bare *.test.com triggered italics and stripped the *
   from the output
2023-12-13 12:45:28 -05:00
Steven Clark
e24301e32d Update ACME entity assignment examples (#24501)
- Attempt to make the various examples for how we generate entity tokens when leveraging ACME clearer.
2023-12-13 12:21:50 -05:00
Tom Proctor
dc5c3e8d97 New database plugin API to reload by plugin name (#24472) 2023-12-13 10:23:34 +00:00
Violet Hynes
8ab891c962 Fix templating mention in Proxy docs (#24483) 2023-12-11 16:31:40 -05:00
miagilepner
2db1941fd8 Docs updates about redirection and metrics (#24445)
* docs updates

* remove comma
2023-12-11 15:49:38 +01:00
Lucy Davinhart || Strawb System
1dfce2a271 docs: clarified the MS SQL EKM provider's authentication behavior, and the implications for AppRole configuration (#24437) 2023-12-11 08:54:09 +00:00
brendanelmes
10f7011ca3 docs: fixes (#24094) (#24115)
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-12-08 14:19:57 -08:00
Mike Palmiotto
309294a25c enterprise: Default Lease Count Quota (#24382)
This commit introduces the plumbing for Default Lease Count Quotas on
new installs of Vault Enterprise.
2023-12-08 15:09:52 -05:00
Austin Gebauer
ba386a3389 docs: adds domain to OIDC Google Workspace integration (#24433) 2023-12-08 08:23:01 -08:00
Ben Ash
ff4489b5af Update docs for VSO v0.4.2 (#24425) 2023-12-07 20:55:53 -05:00
Austin Gebauer
766d5ed5f0 docs: adds saml to client count entity table (#24414) 2023-12-07 08:33:26 -08:00
Meggie
2aaeb55a4d Clarify Vault versions, some upgrade guidance (#24396)
* Creating a Vault version explainer

The explainer is a partial that can be used on multiple pages. It gives an overview of our policies and version format and offers some recommendations about staying current.

* Apostrophe typo

Not saying I got all the typos, but got one anyway.

* Add a note about the very rare 4th digit

* Conform to subtitle best practices

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>

---------

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-12-06 15:36:48 -05:00
Steven Clark
a41852379b Document and augment tests that PKI accepts 8192 bit RSA keys (#24364)
- Noticed that our documentation was out of date, we allow 8192
   bit RSA keys to be used as an argument to the various PKI
   issuer/key creation APIs.
 - Augument some unit tests to verify this continues to work
2023-12-05 15:26:03 -05:00
Ben Ash
9e063f31d7 Update VSO docs for v0.4.1 (#24356) 2023-12-04 20:29:31 -05:00
Milena Zlaticanin
aa9b02307d Update Azure Secrets docs (#24279) 2023-12-04 15:41:25 -07:00
Peter Wilson
06b9325bb9 fix -log-file so that it uses the correct name and only adds timestamps on rotation (#24297)
* fix -log-file so that it uses the correct name and only adds timestamps on rotation

* added some tests for naming/rotation

* changelog

* revert to previous way of getting created time

* remove unused stat

* comment shuffle

* Update changelog/24297.txt

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>

* Update website/content/docs/agent-and-proxy/agent/index.mdx

Update 'agent' docs page

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/docs/agent-and-proxy/proxy/index.mdx

Update 'proxy' docs page

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/docs/commands/server.mdx

Update 'server' docs page

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* fix typos

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-12-01 11:30:34 +00:00
Peter Wilson
3ae669df34 Bump the node version (#24304)
* make node happy

* Updated package-lock.json for website
2023-11-30 19:30:31 +00:00
Violet Hynes
2dd3ab9da0 Correct required policy in static secret caching docs (#24282) 2023-11-28 16:52:21 -05:00
Tom Proctor
030bba4e68 Support rootless plugin containers (#24236)
* Pulls in github.com/go-secure-stdlib/plugincontainer@v0.3.0 which exposes a new `Config.Rootless` option to opt in to extra container configuration options that allow establishing communication with a non-root plugin within a rootless container runtime.
* Adds a new "rootless" option for plugin runtimes, so Vault needs to be explicitly told whether the container runtime on the machine is rootless or not. It defaults to false as rootless installs are not the default.
* Updates `run_config.go` to use the new option when the plugin runtime is rootless.
* Adds new `-rootless` flag to `vault plugin runtime register`, and `rootless` API option to the register API.
* Adds rootless Docker installation to CI to support tests for the new functionality.
* Minor test refactor to minimise the number of test Vault cores that need to be made for the external plugin container tests.
* Documentation for the new rootless configuration and the new (reduced) set of restrictions for plugin containers.
* As well as adding rootless support, we've decided to drop explicit support for podman for now, but there's no barrier other than support burden to adding it back again in future so it will depend on demand.
2023-11-28 14:07:07 +00:00
Robert
3726d8fb1d Add configuration section to sync API docs (#24179)
* Add configuration section

* Add restricted root namespace alert
2023-11-27 16:10:37 -06:00
Raymond Ho
e69b0b2bcf add custom permissions for azurekv (#23298) 2023-11-27 17:46:20 +00:00
Steven Clark
b7dff9777d Allow backends to extract credentials from payloads and trigger an authentication workflow (#23924)
* wip

* Work on the tuneable allowance and some bugs

* Call handleCancellableRequest instead, which gets the audit order more correct and includes the preauth response

* Get rid of no longer needed operation

* Phew, this wasn't necessary

* Add auth error handling by the backend, and fix a bug with handleInvalidCredentials

* Cleanup req/resp naming

* Use the new form, and data

* Discovered that tokens werent really being checked because isLoginRequest returns true for the re-request into the backend, when it shouldnt

* Add a few more checks in the delegated request handler for bad inputs

 - Protect the delegated handler from bad inputs from the backend such
   as an empty accessor, a path that isn't registered as a login request
 - Add similar protections for bad auth results as we do in the normal
   login request paths. Technically not 100% needed but if somehow the
   handleCancelableRequest doesn't use the handleLoginRequest code path
   we could get into trouble in the future
 - Add delegated-auth-accessors flag to the secrets tune command and
   api-docs

* Unit tests and some small fixes

* Remove transit preauth test, rely on unit tests

* Cleanup and add a little more commentary in tests

* Fix typos, add another failure use-case which we reference a disabled auth mount

* PR Feedback

 - Use router to lookup mount instead of defining a new lookup method
 - Enforce auth table types and namespace when mount is found
 - Define a type alias for the handleInvalidCreds
 - Fix typos/grammar
 - Clean up globals in test

* Additional PR feedback

 - Add test for delegated auth handler
 - Force batch token usage
 - Add a test to validate failures if a non-batch token is used
 - Check for Data member being nil in test cases

* Update failure error message around requiring batch tokens

* Trap MFA requests

* Reword some error messages

* Add test and fixes for delegated response wrapping

* Move MFA test to dedicated mount

 - If the delegated auth tests were running in parallel, the MFA test
   case might influence the other tests, so move the MFA to a dedicated
   mount

* PR feedback: use textproto.CanonicalMIMEHeaderKey

 - Change the X-Vault-Wrap-Ttl constant to X-Vault-Wrap-TTL
   and use textproto.CanonicalMIMEHeaderKey to format it
   within the delete call.
 - This protects the code around changes of the constant typing

* PR feedback

 - Append Error to RequestDelegatedAuth
 - Force error interface impl through explicit nil var assignment on
   RequestDelegatedAuthError
 - Clean up test factory and leverage NewTestSoloCluster
 - Leverage newer maps.Clone as this is 1.16 only

---------

Co-authored-by: Scott G. Miller <smiller@hashicorp.com>
2023-11-21 14:36:49 -05:00
Scott Miller
66b3e439d8 wordsmithing (#24205) 2023-11-21 09:53:41 -06:00
Steven Clark
53040690a2 PKI: Do not set NextUpdate OCSP field when ocsp_expiry is 0 (#24192)
* Do not set NextUpdate OCSP field when ocsp_expiry is 0

* Add cl
2023-11-20 10:32:05 -05:00
Theron Voran
5415d3c8a1 docs/vault-secrets-operator: GKE workload identity auth (#23684)
Adding overview docs for using GKE workload identity with Vault
Secrets Operator under Secret Sources/Vault/Auth Methods/. Updates the
Vault Auth method section in the Vault/Auth Methods overview page with
links to the VSO API sections for the other supported auth methods
(until they have their own pages).
---------
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
2023-11-17 11:06:10 -08:00
Theron Voran
f951fe5429 docs/vault-helm: updates for v0.27.0 release (#24178) 2023-11-17 10:13:48 -08:00
Ben Ash
fb29c1437a Update VSO docs for v0.4.0 (#24171) 2023-11-16 17:00:22 -05:00
Max Coulombe
af46b954f6 Document secrets sync LIST request modifications (#23975)
* * document list request adjustments

---------

Co-authored-by: Robert <17119716+robmonte@users.noreply.github.com>
2023-11-10 09:04:26 -05:00
davidadeleon
880f4a35d7 Remove duplicate partial reference from release-notes (#24081)
* remove partial references from release-notes that link to upgrade guides, and change link in partial to anchor

* Clarify leak is memory consumption

There is no leak of information.

* update references in table

* update table to include range for affected versions

---------

Co-authored-by: Meggie Ladlow <meggie@hashicorp.com>
2023-11-09 13:48:27 -05:00
davidadeleon
05eba71561 uupdate latest known issues to reflect fixes arriving in latest release (#24077) 2023-11-09 08:33:11 -08:00
davidadeleon
d3bed43f40 Docs: Add expiration metrics fatal error known issue (#24050)
* add expiration metrics fatal error known issue

* adjust expected fix releases

* provide more clarity around issue
2023-11-08 23:40:50 +00:00
Robert
54bf0807c1 secrets/aws: add support for STS Session Tokens with TOTP (#23690)
* Add test coverage

* Add session_token field, deprecate security_token

* Undo auth docs

* Update api docs

* Add MFA code support

---------

Co-authored-by: Graham Christensen <graham@grahamc.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Austin Gebauer <34121980+austingebauer@users.noreply.github.com>
2023-11-08 17:06:28 -06:00