5766 Commits

Author SHA1 Message Date
Scott Miller
415d260995
Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752)
* Support trimming trailing slashes via a mount tuneable to support CMPv2

* changelog/

* Perform trimming in handleLoginRequest too

* Eagerly fetch the mount entry so we only test this once

* Add a mount match function that gets path and entry

* Update vault/request_handling.go

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

* more docs

* Some patches (from ENT) didnt apply

* patch fail

* Update vault/router.go

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

* PR feedback

* dupe

* another dupe

* Add support for enabling trim_request_trailing_slashes on mount creation

* Fix read mount api returning configuration for trim_request_trailing_slashes

* Fix test assertion

* Switch enable and tune arguments to BoolPtrVal to allow end-users to specify false flag

* Add trim-request-trailing-slashes to the auth enable API and CLI

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2024-10-24 10:47:17 -05:00
Yoko Hyakuna
a3eef86f47
Format fixes & tweaks (#28731) 2024-10-21 08:35:37 -07:00
Kit Haines
c0b2a6d370
Add enrollment protocol sublinks. (#28737) 2024-10-21 09:18:17 -04:00
Yoko Hyakuna
a2390d3234
[Docs] Add usage metrics page (#28723)
* Add UI screenshots

* Add 'usage metrics' page

* Align the step instruction and its screenshot

* Additional notes

* Add link to API docs
2024-10-18 08:18:45 -07:00
Adrian Todorov
a78d535945
update wording of Nomad Client Counting FAQ to reflect the new Integration (#28685)
* update wording of Nomad Client Counting FAQ to reflect Workload Identity and other updates

* Update computing-clients.mdx

* Update website/content/partials/faq/client-count/computing-clients.mdx

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

* Update website/content/partials/faq/client-count/computing-clients.mdx

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

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-10-16 12:35:38 -07:00
Sarah Chavis
d3ef02b778
VAULT-29153: Update docs with IPv6 compliance info (#28707)
* update matrix doc and add IPv6 info

---------

Co-authored-by: Ryan Cragun <me@ryan.ec>
2024-10-15 16:34:16 -07:00
Sarah Chavis
9f2c4353ae
[DOCS] Add missing metric: vault.barrier.estimated_encryptions (#28708)
* Create placeholders for missing metric

* update metric info and rewrite rotation doc

* Deal with erroneous content error
2024-10-15 16:29:25 -07:00
Scott Miller
c41f5bdcb4
Document the encryption algorithms used in ADP auditing purposes (#28691) 2024-10-15 11:56:16 -05:00
John-Michael Faircloth
945d0f7989
docs: fix links and format for mongodbatlas secrets (#28688) 2024-10-14 11:17:04 -07:00
Theron Voran
a94c8b8aa6
docs/vso: hvs rotating and dynamic secrets (#28656) 2024-10-11 17:50:47 -07:00
Sarah Chavis
927d1758e6
CLI content refresh - audit commands (#28642)
First CLI command doc updates:
* Rewrite CLI usage page
* Rewrite token helper page
* Move and rewrite CLI emulator doc
* Rewrite `vault audit` command family docs
2024-10-11 16:29:15 -07:00
davidadeleon
ef967a0d8c
update AOP docs (#28686)
Co-authored-by: davidadeleon <ddeleon@hashicorp.com>
2024-10-11 09:29:07 -04:00
miagilepner
5cbebacfce
VAULT-28520: Docs describing active node/leadership election timing (#28608)
* add leadership election delay explanations

* Update website/content/docs/internals/high-availability.mdx

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

* Update website/content/docs/internals/high-availability.mdx

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

* Update website/content/docs/internals/high-availability.mdx

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

* Update website/content/docs/internals/integrated-storage.mdx

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

* Update website/content/docs/internals/integrated-storage.mdx

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

* Update website/content/docs/internals/high-availability.mdx

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

* Update website/content/docs/internals/integrated-storage.mdx

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

* Update website/content/docs/internals/high-availability.mdx

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

* small fixes

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-10-11 14:36:55 +02:00
Sarah Chavis
33872cc10b
Fix broken link in 1.18.x release notes (#28665) 2024-10-09 18:20:18 -07:00
Scott Miller
004dfc49f8
Add a max_crl_size parameter to CRL config (#28654)
* wip

* Unit test the CRL limit, wire up config

* Bigger error

* API docs

* wording

* max_crl_entries, + ignore 0 or < -1 values to the config endpoint

* changelog

* rename field in docs

* Update website/content/api-docs/secret/pki/index.mdx

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

* Update website/content/api-docs/secret/pki/index.mdx

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2024-10-09 21:38:55 +00:00
Scott Miller
38df9cf488
Tweak the ocsp_ca_certificate param docs to be more clear about what kind of cert it wants (#28659) 2024-10-09 16:16:26 -04:00
Robert
60d7051700
Add docs and api-docs info for gcp replication locations sync, github environments, github organizations beta, and add sys/activation-flags page (#28463)
* Add field to API docs, add small section to overview

* Update examples, wording

* Update github API docs

* Apply suggestions from code review

Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>

* Update wording

* Be a little more specific on repository owner

* Put BETA tag on each org field, put visibility explanation in paragraph

* Add org secrets limitation

* Add sys/activation-flags page

* Update Vercel granularity note

* Apply suggestions from code review

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

* Update website/content/docs/sync/vercelproject.mdx

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

* Apply suggestions from code review

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

* Small rewording, remove optional tags with defaults

---------

Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-10-09 10:27:33 -05:00
Scott Miller
3c0656e4c4
Update marcellanz/transit_pkcs1v15 RSA encryption support (#25486)
* [transit-pkcs1v15] transit support for the pkcs1v15 padding scheme – without UI tests (yet).

* [transit-pkcs1v15] renamed padding_scheme parameter in transit documentation.

* [transit-pkcs1v15] add changelog file.

* [transit-pkcs1v15] remove the algorithm path as padding_scheme is chosen by parameter.

* Update ui/app/templates/components/transit-key-action/datakey.hbs

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* Update ui/app/templates/components/transit-key-action/datakey.hbs

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* Update ui/app/templates/components/transit-key-action/datakey.hbs

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* Update website/content/api-docs/secret/transit.mdx

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

* Update website/content/api-docs/secret/transit.mdx

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

* Update website/content/api-docs/secret/transit.mdx

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

* Add warnings to PKCS1v1.5 usage

* Update transit

* Update transit, including separating encrypt/decrypt paddings for rewrap

* Clean up factory use in the presence of padding

* address review feedback

* remove defaults

* lint

* more lint

* Some fixes for UI issues

 - Fix padding scheme dropdown console error by adding values
   to the transit-key-actions.hbs
 - Populate both padding scheme drop down menus within rewrap,
   not just the one padding_scheme
 - Do not submit a padding_scheme value through POST for non-rsa keys

* Fix Transit rewrap API to use decrypt_padding_scheme, encrypt_padding_scheme

 - Map the appropriate API fields for the RSA padding scheme to the
   batch items within the rewrap API
 - Add the ability to create RSA keys within the encrypt API endpoint
 - Add test case for rewrap api that leverages the padding_scheme fields

* Fix code linting issues

* simply padding scheme enum

* Apply suggestions from code review

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* Fix padding_scheme processing on data key api

 - The data key api was using the incorrect parameter name for
   the padding scheme
 - Enforce that padding_scheme is only used on RSA keys, we
   are punting on supporting it for managed keys at the moment.

* Add tests for parsePaddingSchemeArg

* Add missing copywrite headers

* Some small UI fixes

* Add missing param to datakey in api-docs

* Do not send padding_scheme for non-RSA key types within UI

* add UI tests for transit key actions form

---------

Co-authored-by: Marcel Lanz <marcellanz@n-1.ch>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Steve Clark <steven.clark@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2024-10-09 09:30:14 -05:00
Sarah Chavis
25ce991234
Add release notes for 1.18 (#28646)
* Add release notes for 1.18

* Make corrections per feedback

* Update website/content/docs/release-notes/1.18.0.mdx

Co-authored-by: Jonathan Frappier <92055993+jonathanfrappier@users.noreply.github.com>

---------

Co-authored-by: Jonathan Frappier <92055993+jonathanfrappier@users.noreply.github.com>
2024-10-08 21:30:39 -07:00
ram-parameswaran
518027ba83
Update Azure SDK logger variable in docs (#28622)
* Update azure.mdx

Update Azure secrets engine docs to use AZURE_SDK_GO_LOGGING for Azure debug

* Update azure.mdx

Update Azure Auth engine docs to use AZURE_SDK_GO_LOGGING for Azure debug
2024-10-08 16:55:55 -07:00
Ben Ash
0f296522c3
Update VSO docs for v0.9.0 (#28639) 2024-10-08 18:36:40 -04:00
Yoko Hyakuna
af8c9571b1
[Docs] Add a missing parameter (#28630)
* Add a missing parameter

* Update website/content/docs/configuration/replication.mdx

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>

* Fix the cross referencing link

---------

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2024-10-08 13:49:09 -07:00
Steven Clark
9808006be9
Update Vault PKCS11 Provider docs (#28615)
- Add a missing architecture that we have published for a while
- Add a Changelog to the end of the page
2024-10-07 16:18:45 -04:00
vinay-gopalan
08e8776dfb
Add documentation for new rootless password rotation workflow for DB Static Roles (#28374)
Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-10-07 15:51:30 +00:00
Chris Capurso
69411d7925
VAULT-30108: Include User-Agent header in audit requests by default (#28596)
* include user-agent header in audit by default

* add user-agent audit tests

* update audit default headers docs

* add changelog entry

* remove temp changes from TestAuditedHeadersConfig_ApplyConfig

* more TestAuditedHeadersConfig_ApplyConfig fixes

* add some test comments

* verify type assertions in TestAudit_Headers

* more type assertion checks
2024-10-07 10:02:17 -04:00
Mike Palmiotto
6a145af82a
CE: Remove RequestLimiter config plumbing (#28592)
This PR provides some plumbing for the enterprise counterpart PR:
hashicorp/vault-enterprise#6791
2024-10-04 13:48:16 -04:00
Steven Clark
baf794b621
Remove duplicated allow_empty_principals parameter in role api docs (#28580) 2024-10-03 09:54:22 -04:00
Jason Joo
a5caf4e1cb
fix: cert auth method watches cert file change and NewCreds() notification (#28126)
Signed-off-by: Jason Joo <hblzxsj@gmail.com>
2024-10-02 13:41:55 -04:00
Chris Capurso
759751a27b
add aws and k8s auth examples to export (#28481)
* add aws and k8s auth examples to export

* add clarification to alias name source

* fix links
2024-10-01 09:44:00 -04:00
Steven Clark
70d5c5e582
Update ssh docs to add missing conditional for valid_principals (#28530) 2024-09-27 17:13:20 -04:00
Steven Clark
2db2a9fb5d
PKI: Track last time auto tidy was run across restarts (#28488)
* Track the last PKI auto-tidy time ran for use across nodes

 - If the interval time for auto-tidy is longer then say a regularly
   scheduled restart of Vault, auto-tidy is never run. This is due to
   the time of the last run of tidy is only kept in memory and
   initialized on startup to the current time
 - Store the last run of any tidy, to maintain previous behavior, to
   a cluster local file, which is read in/initialized upon a mount
   initialization.

* Add auto-tidy configuration fields for backing off at startup

* Add new auto-tidy fields to UI

* Update api docs for auto-tidy

* Add cl

* Update field description text

* Apply Claire's suggestions from code review

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* Implementing PR feedback from the UI team

* remove explicit defaults and types so we retrieve from backend, decouple enabling auto tidy from duration, move params to auto settings section

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2024-09-26 09:47:11 -04:00
Raja Nadar
7cf6cbd330
Update libraries.mdx section for VaultSharp (#28426)
* Update libraries.mdx section for VaultSharp

Added more info on VaultSharp for latest .NET version support and comprehensiveness of auth and secret backends supported

* Update website/content/api-docs/libraries.mdx

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

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-09-24 09:20:08 -07:00
Scott Miller
12f03b073a
Make reception of an empty valid principals configurable based on a role flag. (#28466)
* Make reception of an empty valid principals configurable based on a role flag.

Adds allow_empty_principals, which if true allows valid_principals on credential generation calls
to be empty.

* changelog

* Allow empty principals on unrelated unit test

* whitespace
2024-09-23 17:20:11 -05:00
framsouza
efd2fb2ae4
[docs] Updating Kubernetes upgrade instruction (#25286)
* [docs] Updating kubernetes upgrade instruction

* Fixing code block

* Update website/content/docs/platform/k8s/helm/run.mdx

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

* Update website/content/docs/platform/k8s/helm/run.mdx

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

* Update website/content/docs/platform/k8s/helm/run.mdx

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

* Update website/content/docs/platform/k8s/helm/run.mdx

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

* Update website/content/docs/platform/k8s/helm/run.mdx

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

---------

Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-09-23 14:09:05 +00:00
Andrew Talbot
2fc8e35ec3
docs(lambda-extension): update distributed tracing headers warning; (#28319)
* docs(lambda-extension): update cache header warning;

* docs(lambda-extension): tweak language;

* docs(lambda-extension): accept pr comment

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

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-09-20 14:39:16 -07:00
rajesht-source
0c986fc660
updated vault helm chart doc with usecase of nlb (#27690)
* updated vault helm chart doc with usecase of nlb

Signed-off-by: Kumar, Rajesh (XINBM1A) <Rajesh.Kumar2@fmr.com>

* Update index.mdx - changes as per the pr comment

Signed-off-by: Kumar, Rajesh (XINBM1A) <Rajesh.Kumar2@fmr.com>

---------

Signed-off-by: Kumar, Rajesh (XINBM1A) <Rajesh.Kumar2@fmr.com>
2024-09-20 16:53:38 -04:00
Owen Zhang
e848f1683d
Update namespaces.mdx (#28314)
Add "@include 'alerts/enterprise-only.mdx'" since namespace is an enterprise feature

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-09-19 18:28:58 -07:00
Mark Lewis
a89f8d5228
Update index.mdx (#28350)
Typo

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-09-19 18:28:50 -07:00
gerardma77
17664bcfbe
Adding AD lifetime period of an old password note to Vault LDAP secrets Engine API Documentation (#28429)
* adding_OldPasswordAllowedPeriod_waring

* Updated note for AD password

* Update website/content/api-docs/secret/ldap.mdx

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

---------

Co-authored-by: Equus quagga <jan.prinsloo@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-09-19 12:08:32 -07:00
gerardma77
2e6944d93e
Adding AD lifetime period of an old password note to Vault LDAP secrets Engine Documentation. (#28428)
* adding_OldPasswordAllowedPeriod_waring

* Updated note for AD passwords

* Update website/content/docs/secrets/ldap.mdx

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

---------

Co-authored-by: Equus quagga <jan.prinsloo@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-09-19 11:44:00 -07:00
Sarah Chavis
343cc88e03
Update index.mdx (#28436)
Fix list typo
2024-09-18 16:27:45 -07:00
Jonathan Frappier
66fa7606ac
Add set up vault service doc (#28272)
* Add set up vault service doc
* Suggestions/edits (#28394)
---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-09-18 11:12:06 -07:00
Violet Hynes
3df04b8aae
Update LTS language to not contradict (#28424) 2024-09-18 13:37:48 -04:00
Violet Hynes
e17fc06824
Add note about vault kv get to Proxy docs (#28400) 2024-09-17 15:22:34 -04:00
Violet Hynes
450506ba9c
Fix link to mongodb atlas page (#28403)
* Fix link to mongodb atlas page

* Fix missing space
2024-09-17 15:22:06 -04:00
miagilepner
d00715d129
VAULT-28478: Updates to autopilot docs (#28331)
* restructure

* update command

* fixes

* fix command flags

* revert makefile change

* remove tick log
2024-09-17 10:53:18 +02:00
Violet Hynes
c140470639
Fix Vercel error caused by spaces before code snippet (#28408) 2024-09-16 15:54:38 -04:00
Andrew Talbot
336e0c7f0d
docs(lambda-extension): add line to document new revoke token header feature; (#28318) 2024-09-16 13:09:09 -04:00
Robert
d466d7949b
Add activation flags cluster note (#28399) 2024-09-16 10:40:03 -05:00
Luis (LT) Carbonell
352bbeb06c
VAULT-12732: Add Heap Profiling Option to Vault Server Command Line (#27033)
* Add pprof output option to CLI

* Add to docs

* Add changelog

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

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

* some changes

* Update changelog/27033.txt

Co-authored-by: Josh Black <raskchanky@gmail.com>

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Josh Black <raskchanky@gmail.com>
2024-09-16 11:00:08 -04:00