Commit Graph

20846 Commits

Author SHA1 Message Date
Michael Diggin
5b4b606c0d [Storage/DynamoDB] Let vault modify dynamodb tables (#29371)
* [Storage/DynamoDB] Let vault modify dynamodb tables

* add changelog

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2025-01-21 14:27:54 -05:00
Merouane Atig
4ff9bdba90 Fix typo: compatability => compatibility (#29372)
* Fix typo in awskms.mdx

* Fix typo in Makefile

* Fix typo in gcpkms/index.mdx

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2025-01-21 12:49:36 -05:00
Violet Hynes
47a6855e98 Remove rootless docker build step (#29373) 2025-01-21 12:17:14 -05:00
swati
e69f2ace06 Fix Static Role Name Consistency in PostgreSQL Configuration (#29138)
* Updated the PostgreSQL database creation command to ensure the static role name is consistent.

The role name specified in allowed_roles="my-role" under the section "Rootless Configuration and Password Rotation for Static Roles" should align with the static role name in step #3. Previously, the command incorrectly used "my-static-role"; it should be "my-role" to match the earlier step.

The same role name should also be used when reading the static credentials in step #4

* Added the file changelog/29138.txt

* Delete changelog/29138.txt

---------

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2025-01-16 16:05:20 -05:00
Mark Lewis
ad79edff17 Update counting.mdx (#29352)
Typo in client count references.
2025-01-16 15:35:42 -05:00
Mark Lewis
84b95a86c7 Update index.mdx (#29351)
Typo
2025-01-16 15:35:32 -05:00
Moritz Rathberger
4536c987d9 fixed typo in kv v1 upgrade docs (#29361) 2025-01-16 14:41:58 -05:00
Mike Palmiotto
f503f739de identity: Resolve conflicts with rename (#29356)
This PR introduces a new type of conflict resolution for duplicate
Entities and Groups. Renaming provides a way of preventing Vault from
entering case-sensitive mode, which is the current behavior for any kind
of duplicate.

Renames append the conflicting identity artifact's UUID to its name and
updates a metadata field to indicate the pre-existing artifact's UUID.

The feature is gated by the force-identity-deduplication activation flag.

In order to maintain consistent behavior between the reporting resolver
and the rename operation, we need to adjust the behavior of generated
reports. Previously, they intentionally preserved existing Group merge
determinism, wherein the last MemDB update would win and all others
would be renamed. This approach is more complicated for the rename
resolver, since we would need to update any duplicated entity in the
cache while inserting the new duplicate (resulting in two MemDB
operations). Though we can ensure atomic updates of the two identity
artifacts with transactions (which we could get for groups with a minor
adjustment, and we will get along with batching of Entity upserts on 
load), it's far simpler to just rename all but the first insert as proposed
in the current PR.

Since the feature is gated by an activation flag with appropriate 
warnings of potential changes via the reporting resolver, we opt
for simplicity over maintaining pre-existing behavior. We can revisit
this assumption later if we think alignment with existing behavior
outweighs any potential complexity in the rename operation.

Entity alias resolution is left alone as a destructive merge operation
to prevent a potentially high-impact change in existing behavior.
2025-01-15 14:24:49 -05:00
John-Michael Faircloth
a0ecbe993c docs: DB skip auto import rotation (#29098)
* docs: DB skip auto import rotation

* add usage section

* add password field; mark self_managed_password as deprecated
2025-01-10 16:17:36 -06:00
Angel Garbarino
a73a6983c4 Prep work for creating one WIF configuration component (#29345)
* initial things without helper changes

* adjust test for clean up of secret-engine-helper

* remove added line thats better in next pr

* remove extra check

* 🧹

* replace return with continue within loops
2025-01-10 14:06:42 -08:00
Rebecca Willett
8cee664204 Add 'how to run' instructions to each Enos scenario (#29299)
* Add 'how to run' instructions for each scenario
2025-01-10 21:17:09 +00:00
Thy Ton
bcd89f875d move system view interface, grpc server, and client to stubs_oss files (#29291) 2025-01-10 10:11:45 -08:00
Angel Garbarino
8404d07264 String to camelCase helper (#29338)
* string-to-camel helper

* fix:

* Update string-to-camel-test.js

* update comment

* rename and clarify comment

* welp, forgot to update test
2025-01-10 17:52:03 +00:00
miagilepner
dc0cd5af90 Exit raft removed checker if raft isn't initialized (#29329)
* check if not initialized

* add comment and fix flake
2025-01-10 14:16:43 -03:00
Kuba Wieczorek
50509c6bab [VAULT-21282] Add a changelog entry for the updated Raft Autopilot reconciliation logic (#29328) 2025-01-10 16:07:46 +00:00
Bianca
896532ef89 Add state change logic to reload from storage -- activation flags (#29341) 2025-01-10 11:56:40 +00:00
Theron Voran
dac2ffca81 docs/vault-k8s: updates for v1.6.0 release (#29152)
* docs/vault-k8s: updates for v1.6.0 release

* Apply suggestions from code review

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

* updating whitespace and an extra "injector"

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2025-01-09 20:54:21 -08:00
Mike Palmiotto
ff2d7ecd34 Add build flag for CE-specific activation flag tests (#29335) 2025-01-09 17:03:15 -05:00
John-Michael Faircloth
49d8fb2b64 replace keyring dependency to address zombie dbus-daemons processes (#29334)
* replace keyring dependency to address zombie dbus-daemons processes

* changelog
2025-01-09 22:00:41 +00:00
Rachel Culpepper
75ddf6e4ed Add docs for ML-DSA and hybrid keys (#29246)
* add api docs for pqc key types

* add pqc key types to docs

* remove slh-dsa and add hybrid
2025-01-09 14:57:29 -06:00
Ryan Cragun
1105755321 protobuf: rebuild sdk backend protos with 1.36.2 (#29332)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2025-01-09 12:07:15 -08:00
Josh Black
f625f506ed CE changes for vault-31750 (#29303)
* ce changes for vault-31750

* add changelog

* make proto

* refactor naming

* clarify error message

* update changelog

* one more time

* make proto AGAIN
2025-01-09 11:58:29 -08:00
John-Michael Faircloth
36d7e0c6bd sdk/db: do not hold the lock on Close (#29097)
* sdk/db: do not hold the lock on Close

* fix missing locks on return; ensure we don't overrite instance

* add type and close timeout env vars

* changelog
2025-01-09 17:33:23 +00:00
Kit Haines
55ca52f3fd Add information about an enterprise feature related to validating iss… (#29300)
* Add information about an enterprise feature related to validating issued certificates to the PKI API docs.

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

Update RFC name and link, as suggested by Steve.

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

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

Update RFC name and link, as suggested by Steve.

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

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

Update RFC name and link, as suggested by Steve.

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

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

Update RFC name and link, as suggested by Steve.

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

* Update enterprise tag to be on the same line for vercel reasons.

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2025-01-09 11:30:29 -05:00
Thy Ton
4f14f7bfec plugin register with artifact stubs VAULT-32686 (#29113)
* add plugin catalog's entValidate() and setInternal() oss stubs 
* create plugin register command constructor oss stub
* create EntPluginRunner oss stub
* add validateSHA256() oss stub to validate plugin catalog update input
2025-01-09 08:20:09 -08:00
Bianca
80fe86a352 Add identity cleanup activation flag (#29301)
* Port activation flags with dynamic registration

* Activation flag tests

* Add identity cleanup activation flag

* Fix flag name
2025-01-09 12:51:38 -03:00
Paul Banks
ed894b3425 Identity: add duplicate reporting to logs (#29325)
* Identity: add duplicate reporting to logs

* Add changelog

* Fix breaking Ent change

* Revert changes to existing ent test helper arguments as they will break on merge

* Update changelog/29325.txt

Co-authored-by: Bianca <48203644+biazmoreira@users.noreply.github.com>

---------

Co-authored-by: Bianca <48203644+biazmoreira@users.noreply.github.com>
2025-01-09 15:49:28 +00:00
Bianca
ab4e8da697 Port activation flags with dynamic registration (#29237) 2025-01-09 10:27:58 -03:00
Ryan Cragun
357b2949e3 protobuf: rebuild protos with protobuf 1.36.2 (#29318)
* protobuf: rebuild protos with protobuf 1.36.2
* format: please buf formatter

Signed-off-by: Ryan Cragun <me@ryan.ec>
2025-01-08 21:35:04 +00:00
Thy Ton
607991e551 exclude *_ent_test.go from copywrite-exceptions.sh (#29319) 2025-01-08 21:21:19 +00:00
Thy Ton
ad35129486 update copywrite exceptions to exclude *_ent.go (#29315) 2025-01-08 20:39:28 +00:00
Alexandr Hacicheant
2f95a73d1d Updated description of the field (#29146)
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2025-01-08 20:32:41 +00:00
helenfufu
b74e2e798c Vault 27421 update cap/ldap dep (#29302)
* go get github.com/hashicorp/cap/ldap@main && go mod tidy

* add 1.19 upgrade note

* changelog

* cd sdk && go get github.com/hashicorp/cap/ldap@main && go mod tidy

* add more detail in changelog

* update changelog

* go mod tidy after resolving merge conflicts
2025-01-08 13:27:45 -06:00
Luis (LT) Carbonell
cb32dd03c0 Update docs for auth-cf (#29311) 2025-01-07 20:18:11 -05:00
vinay-gopalan
27bd3e9535 Add SDK helpers and Core stubs for plugins to communicate with Enterprise Rotation Manager (#29273)
Co-authored-by: Robert <17119716+robmonte@users.noreply.github.com>
Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
2025-01-07 22:22:45 +00:00
Michael Blaum
f18801693b Vault 27392 log ldap warning - remove from warning from response (#29134)
* log ldap warnings instead of returning them to end user

* add cl

* code review

* Update changelog/29134.txt

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

* Update changelog/29134.txt

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

* fix test

---------

Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
2025-01-07 16:51:15 -05:00
Evan Moncuso
035b7e6d8e VAULT-32677 - Fix missing client count card in managed clusters (#29241)
* add check for admin namespace on managed clusters

* add tests for client count card in managed clusters

* add changelog
2025-01-07 12:53:06 -08:00
claire bontempo
6e3ae793f5 UI: LDAP Hierarchical Library names (#29293)
* refactor crumbs

* add subdirectory library route and hierarchical nav

* update library breadcrumbs;

* fix role popup menus

* add getter to library model for full path

* cleanup model getters

* add changelog

* add bug fix note

* add transition after deleting

* fix function definition

* update adapter test

* add test coverage

* fix crumb typo
2025-01-07 12:54:36 -06:00
Kuba Wieczorek
67663c85a3 [VAULT-21282] Bump raft-autopilot dependency to v0.3.0 (#29306)
This pulls in a logic change in the autopilot library that helps us to avoid increasing the quorum when reconciling in presence of an unhealthy voter, when the overall number of voters is odd.
2025-01-07 17:35:46 +00:00
John-Michael Faircloth
c39aa51916 test: fix ce/ent diff (#29307) 2025-01-07 09:19:32 -08:00
Steven Clark
e1538468c9 PKI: Add management APIs for ACME accounts (#29173)
* Allow a Vault operator to list, read and update PKI ACME accounts

 - This allows an operator to list the ACME account key ids, read
   the ACME account getting all the various information along with
   the account's associated orders and update the ACME account's
   status to either valid or revoked

* Add tests for new ACME management APIs

* Update PKI api-docs

* Add cl

* Add missing error handling and a few more test assertions

* PR feedback

* Fix Note tags within the website

* Apply suggestions from docscode review

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

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

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

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

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2025-01-07 09:34:17 -05:00
miagilepner
4f32443722 fixes for flakes in raft removed tests (#29270)
* fixes for flakes in raft removed tests

* one more fix
2025-01-07 13:56:07 +01:00
claire bontempo
6d566cb6d0 UI: Remove kv data download button (#29290)
* remove download button

* add changelog
2025-01-06 15:41:08 -06:00
Violet Hynes
539a7b73d1 Remove potentially misleading part of automated reporting docs (#29297) 2025-01-06 16:26:02 -05:00
divyaac
ac42bf718b Revert "Add tokens to local path (#28722)" (#29294)
This reverts commit 435ecc63ba.
2025-01-06 10:36:23 -08:00
hc-github-team-secure-vault-core
d2e902629d Update vault-plugin-auth-cf to v0.19.1 (#29295)
* Update vault-plugin-auth-cf to v0.19.1

* Add changelog

---------

Co-authored-by: hc-github-team-secure-vault-ecosystem <hc-github-team-secure-vault-ecosystem@users.noreply.github.com>
2025-01-06 18:30:19 +00:00
John-Michael Faircloth
6110ee084f db: allow updates to self_managed_password (#29283) 2025-01-06 12:05:41 -06:00
Scott Miller
031c5d6d20 More CE changes for hybrid wireup (#29282)
* More CE changes for hybrid wireup

* remove unused func

* undo reintroduction of loss of omitempty

* Add ent hooks and handle unsupported keys correctly

* tidy import

* Fix ent encode test logic
2025-01-06 16:45:07 +00:00
Steven Clark
d3a91f74c7 Update an expired certificate within the cert-auth test fixtures (#29289)
* Update an expired certificate within the cert-auth test fixtures

* Update additional vault-diagnose tests with an expired cert using pkihelper
2025-01-06 11:11:30 -05:00
Brian Shumate
5fc382d339 Docs: add migrate Consul storage document (#29222)
- Migrate tutorial content as part of [SPE-901](https://hashicorp.atlassian.net/browse/SPE-901)
2025-01-06 09:45:25 -05:00