Commit graph

23664 commits

Author SHA1 Message Date
hc-github-team-secure-vault-core
2ffd84b892 Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-24 16:40:24 +00:00
Vault Automation
6fd972499f
version: change main to 2.1.0 and update for new 2.0.x release branch
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-06-24 10:39:45 -06:00
hc-github-team-secure-vault-core
281618497b Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-24 00:19:57 +00:00
Vault Automation
d9853a8f33
actions: explicitly set permissions on callable worklows
actions: explicitly set permissions on callable worklows

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-06-23 18:19:23 -06:00
hc-github-team-secure-vault-core
bc8e56c304 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks failed
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
test-ci-bootstrap / bootstrap-ci (push) Has been cancelled
2026-06-23 17:32:57 +00:00
Vault Automation
00281521f0
actions: pin actions to the latest versions
* actions: pin to latest actions

- actions/checkout@9c091bb21b => v7.0.0
  Adds a guardrail to prevent accidentally checking out fork pull
  request code in privileged GitHub Actions contexts
  (pull_request_target and PR-triggered workflow_run), with an
  explicit opt-in escape hatch for advanced workflows.

- pnpm/action-setup@0ebf47130e => v6.0.9
  Update pnpm to v11.7.0

- Add .github/actions/build-ui to ui changed files group

- Add .github/actions/build-ui to ui/frontend CODEOWNERS

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-06-23 10:21:26 -06:00
Vault Automation
13b16c1519
no-op commit (#15728) 2026-06-23 09:11:43 -07:00
hc-github-team-secure-vault-core
bb5e8b9fcd Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-23 16:02:04 +00:00
Vault Automation
c00eab81a7
Backport Reorganize vault blackbox tests into isolated/scenario/system structure into ce/main (#15705)
* Reorganize vault blackbox tests into isolated/scenario/system structure (#14919)

* Reorganize vault blackbox tests into isolated/scenario/system structure

- Move 38 test files from flat structure to organized directories:
  * isolated/: namespace-scoped, concurrent-safe tests (auth, secrets, plugins, verify)
  * scenario/: state-changing tests (raft, ha)
  * system/: system-level config tests (billing, license)
- Add build tags (isolated, scenario, system) to all test files
- Update enos scenarios to use new test paths (./vault/external_tests/blackbox/isolated/verify)
- Add isolated build tag to undo_logs_test.go for consistency
- Remove empty directories and duplicate test files
- All tests compile successfully with respective build tags

Updated enos scenarios: autopilot, agent, dr-replication, plugin, pr-replication, proxy, seal-ha, smoke, upgrade

* Fix test failures: skip postgres without env vars, handle userpass login failure

* Add HSM-specific build tags for test compilation

* Add metadata path permissions for KV v2 delete/undelete operations

* Fix KV tests: use user session for all write operations

* Fix KV tests: remove userpass, use root session

* Incorporate new AWS and LDAP test functions from main branch

- Add TestAWS_SecretsCreate() and TestAWS_SecretsRead() to isolated/plugins/aws/secrets_aws_test.go
  * Tests basic AWS secrets engine configuration and role creation
  * Tests reading AWS role and root configuration
  * Complements existing TestAWS_GenerateNewUser() with simpler test cases

- Add TestLDAP_StaticRoleCreate(), TestLDAP_LibrarySetRead(), and TestLDAP_LibrarySetDelete() to isolated/plugins/ldap/secrets_ldap_test.go
  * Tests LDAP static role creation for password rotation
  * Tests LDAP library set operations for service account management
  * Tests library set deletion
  * Adds requireLDAPAvailable() helper for connectivity verification
  * Complements existing dynamic credential tests

- All new test functions include:
  * Build tag: //go:build isolated
  * t.Parallel() for concurrent execution
  * Proper environment variable checks with skip logic
  * Consistent error handling and assertions

- Cleanup:
  * Removed stray .git directories from test folders
  * Removed empty vault/external_tests/blackbox/plugins directory

These changes ensure the PR includes all test coverage from main while maintaining
the new isolated/scenario/system organization structure.

* Fix pr-replication scenario to use correct test path and name

- Update test_package from ./vault/external_tests/blackbox/verify to isolated/verify
- Update test_names from TestVaultUIAvailability to TestUIAssets
- Fixes test failures caused by incomplete migration in blackbox test reorganization

* Fix all Enos scenarios: isolated/verify path and correct test names

* Skip isolated tests on CE - require enterprise features

---------

Co-authored-by: hashigator <280075563+hashigator@users.noreply.github.com>
Co-authored-by: hashigator <lt.carbonell@ibm.com>
2026-06-23 11:29:48 -04:00
hc-github-team-secure-vault-core
c6dc1dd9fd Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-23 14:58:58 +00:00
Vault Automation
8cf1370eb8
[UI]: Ember Data Migration Identity (#15194) (#15683)
* [UI]: Ember Data Migration Identity List and Details (#15157)

* Update identity views edm

* Use model directly

* Code cleanup!

* Refresh list view if deleted

* Update identity detail page

* Identity show..

* Have different method types

* Update delete...

* [UI] Ember Data Migration: Identity forms, show, edit, create and list routes (#15291)

* Identity forms...

* Fetch entities and groups in route

* Update forms to have edit

* Fix breadcrumbs

* Update save to use api service method

* Merge entities form...

* Update aliases

* Entity and group show routes

* Fix create / save action

* Add alias form.

* Fix some tests!

* Fix tests and update capability check

* WIP fixing tests...

* Fixes some details page bugs

* Edit form delete actions..

* Passing all tests!!

* Refactor some utils

* Update to class based syntax

* Form label updates

* Remove unused onSuccess

* [UI] Identity EDM code cleanup (#15608)

* Fix cancelLink action

* Update tests to have the correct args

* Ensure add alias button shows when alias does not exist

* Fix lookup input

* Fix other tabs and pages..

* Address comments

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-06-23 07:12:28 -07:00
hc-github-team-secure-vault-core
e1b5ed2379 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-22 20:00:48 +00:00
Vault Automation
ad4d228f1f
Backport Sgm/without envelope wireup into ce/main (#15700)
* no-op commit

* Sgm/without envelope wireup (#15441)

* Changes needed to allow encryption/decryption with gcpckms in managed keys

* wip

* wip

* wip

* Normalize key purposes across implementations

* update kmse

* Update kms wrapper deps to those that support WithoutEnvelope

* crucially, supply the option in the wrapper managed key impl

* restore the kmse update

* no, thats done via the encryptWithManagedKey in Policy, not needed here

* changelog

* remove replace

* Update sdk's go-kms-wrapping

* mod tidy

* Switch to using the main wrapper even for testing.

* update test cluster usage

* Update go.mod

Co-authored-by: wiz-inc-0e7a25329d[bot] <177343755+wiz-inc-0e7a25329d[bot]@users.noreply.github.com>

* Update go.mod

Co-authored-by: wiz-inc-0e7a25329d[bot] <177343755+wiz-inc-0e7a25329d[bot]@users.noreply.github.com>

* more go.sum update

* PR feedback

* GCPC KMS needed some more config massaging to work w/ encryption

---------

Co-authored-by: wiz-inc-0e7a25329d[bot] <177343755+wiz-inc-0e7a25329d[bot]@users.noreply.github.com>

---------

Co-authored-by: Scott Miller <smiller@hashicorp.com>
Co-authored-by: wiz-inc-0e7a25329d[bot] <177343755+wiz-inc-0e7a25329d[bot]@users.noreply.github.com>
2026-06-22 18:40:49 +00:00
hc-github-team-secure-vault-core
eab1daf7a7 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-22 18:20:31 +00:00
Vault Automation
45dbaade93
Exclude .agents dirs from CE sync in pipeline config (#15600) (#15654)
Mark `.agents` and `ui/.agents` as enterprise-only in the pipeline
changed-files grouping config. These directories contain internal
developer tooling (agent skills and configurations) that must not
be synced to CE branches or included in CE backports.

Update both the live config and the test fixture to keep them in
sync.

Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
Co-authored-by: OpenCode (claude-sonnet-4.6) <opencode.noreply@hashicorp.com>
2026-06-22 16:55:41 +00:00
Vault Automation
ad9a5b1e0a
[VAULT-34888] enos: backport changes for Fyre scenarios for testing on linux/s390x
Add support for running enos on Fyre with support for linux/s390x,
linux/amd64, and linux/ppc64le. The enterprise version of this PR
has enterprise only scenarios. The changes reflected here are on
shared modules.

We now have three new fyre modules that are can swap in-place of
create_vpc, ec2_info, and target_ec2_instances:
create_vpc_fyre_shim, fyre_os_info and target_fyre_vms. This pass
doesn't make them adhered 1:1 as module interfaces but that can come
later when the base scenarios are merged.

The only major change we had to make to long existing modules was
supporting leader_api_addr for discovery. Historically we've always used
cloud based node discovery but that's obviously not available in Fyre.
Nowyou can set the retry_join variable to either local_api_addr or
aws.

We also modify our integration containers to use those available from
the HashiCorp docker mirror. We do this because we pull those images
unauthenticated and thus share the same external address as the larger
network, which makes the likelihood of throttling very high.

To maintain the goal of the Fyre scenarios not requiring AWS credentials, I
had to move the AWS secrets verification into it's own module. That allows
us now to simply not include it, but later if/when we include it we can have
scenarios with the Fyre backend compile them out by skipping.

This PR is massive and covers the following tickets:

    VAULT-40635
    VAULT-40636
    VAULT-44591
    VAULT-34888
    VAULT-34887
    VAULT-34886
    VAULT-34885
    VAULT-34884

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-06-22 10:21:47 -06:00
hc-github-team-secure-vault-core
543e17d427 Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-22 11:59:56 +00:00
Vault Automation
e12299f52b
Backport Use a buffered channel for activateDeduplicationDone into ce/main (#15613)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2026-06-22 07:13:59 -04:00
hc-github-team-secure-vault-core
ab34fbd759 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-22 00:25:28 +00:00
Vault Automation
02cc36d181
VAULT-46307 - fixed role creation bug (#15667) (#15701)
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-06-20 04:30:16 +00:00
hc-github-team-secure-vault-core
0d52ed7a6b Merge remote-tracking branch 'remotes/from/ce/main'
Some checks failed
build / setup (push) Has been cancelled
build / hcp-setup (push) Has been cancelled
CI / setup (push) Has been cancelled
Run linters / Setup (push) Has been cancelled
Run linters / Semgrep (push) Has been cancelled
Check Copywrite Headers / copywrite (push) Has been cancelled
Security Scan / scan (push) Has been cancelled
test-ci-bootstrap / bootstrap-ci (push) Has been cancelled
build / Check ce/* Pull Requests (push) Has been cancelled
build / ui (push) Has been cancelled
build / artifacts-ce (push) Has been cancelled
build / artifacts-ent (push) Has been cancelled
build / hcp-image (push) Has been cancelled
build / test (push) Has been cancelled
build / test-hcp-image (push) Has been cancelled
build / completed-successfully (push) Has been cancelled
CI / Run Autopilot upgrade tool (push) Has been cancelled
CI / Run Go tests (push) Has been cancelled
CI / Run Go tests tagged with testonly (push) Has been cancelled
CI / Run Go tests with data race detection (push) Has been cancelled
CI / Run Go tests with FIPS configuration (push) Has been cancelled
CI / Test UI (push) Has been cancelled
CI / tests-completed (push) Has been cancelled
Run linters / Deprecated functions (push) Has been cancelled
Run linters / Code checks (push) Has been cancelled
Run linters / Protobuf generate delta (push) Has been cancelled
Run linters / Format (push) Has been cancelled
2026-06-19 22:18:04 +00:00
Vault Automation
4caa48d453
[VAULT-46052] ci: add weekend schedule for IAM resource cleanup
Add separate Saturday morning sweeps (3 AM & 5 AM ET) for IAM resources
that lack age metadata or tag support. Conditionally exclude `IAMUserPolicy`,
`IAMRolePolicy`, and policy attachments from weekday sweeps to prevent
interference with active CI runs.

Additional changes:
- Add explicit `America/New_York` timezone to workflow schedules
- Update nightly tests to run at 9 AM ET (was 1 PM UTC)
- Grant `iam:TagInstanceProfile` permission to CI service user to tag instance
  profiles to build date based nuke filters.

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-06-19 17:58:00 -04:00
Vault Automation
9815fb87a0
Backport VAULT-46249: containers: remove packages that are not necessary into ce/main
Update our container images to not install any packages that are not
strictly necessary to run the entrypoint scripts and start Vault.

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-06-19 17:55:44 -04:00
hc-github-team-secure-vault-core
6a58f8e531 Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-19 18:31:03 +00:00
Vault Automation
7672168f5d
Add fields to entity list key_info (#15448) (#15514)
- Adds entity metadata to entity list `key_info`:
  - `creation_time`
  - `last_update_time`
  - `disabled`

- Adds alias metadata to entity list `key_info`:
  - `creation_time`
  - `last_update_time`

- Moves coverage to the external identity API test:
  - `TestIdentityStore_ListAlias`
  - covers the new `key_info` fields
  - covers entity ID list behavior

- Removes the old internal `TestIdentityStore_ListEntities` test.

- Focused test passed:
  `make enttest TEST=./vault/external_tests/identity TESTARGS='-run TestIdentityStore_ListAlias -count=1 -v'`

Co-authored-by: Jorge Aquino <jaquino.usmc@gmail.com>
2026-06-19 12:51:46 -05:00
hc-github-team-secure-vault-core
44fc662d45 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-19 17:34:17 +00:00
Vault Automation
aa3abfe271
auto: bumps vault-client-typescript version (#15676) (#15678) 2026-06-19 09:36:13 -07:00
Vault Automation
c60337075e
Add IBM Instana observability integration alongside DataDog (#15179) (#15488)
* Create instana-test.yml

* Update instana-test.yml

* test if authorization passes

* updated to test-hcp

* Update instana-test.yml

* Added Instana to ci for logging

* update github ci to use instana

* changes

* Update test-go.yml

* Update instana.go

* Update helper/testhelpers/observability/instana.go



---------

Co-authored-by: Jaired Jawed <jaired.jawed@hashicorp.com>
Co-authored-by: Jaired Jawed <jairedjawed@Jaireds-Work-MacBook-Pro.local>
Co-authored-by: Jaired Jawed <jairedjawed@Mac-144.lan>
Co-authored-by: hashigator <280075563+hashigator@users.noreply.github.com>
2026-06-19 16:28:07 +00:00
hc-github-team-secure-vault-core
ad728891e9 Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-19 16:06:51 +00:00
Vault Automation
f4c47ca844
auto: bumps vault-client-typescript version (#15672) (#15674) 2026-06-19 15:58:26 +00:00
Vault Automation
39a95742d8
Backport Add managed keys support to Transit rewrap endpoint into ce/main (#15496)
* Add managed keys support to Transit rewrap endpoint (#15321)
2026-06-19 10:38:08 -05:00
hc-github-team-secure-vault-core
1f0905eae7 Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-19 15:00:39 +00:00
Vault Automation
cdb03e5918
VAULT-46170 Fix data race with postgresqlhelper (#15631) (#15642)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2026-06-19 14:12:33 +00:00
hc-github-team-secure-vault-core
77a12ec7fb Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-18 20:47:14 +00:00
Vault Automation
6d38842efa
fix(mysql): ensure TLS config deregistration on reinit and close (#15461) (#15504)
* fix(mysql): ensure TLS config deregistration on reinit and close

* add changelog

* add comments

* update changelog

* adjust tls registration handling

* adjust test coverage for registered tls keys

* adjust per review. Include comments and update error handling

Co-authored-by: Catalina Martinez <107933424+catamtz@users.noreply.github.com>
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2026-06-18 13:18:36 -07:00
hc-github-team-secure-vault-core
0c3cccecbe Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-18 19:42:54 +00:00
Vault Automation
5cbecf5118
Avoid useless re-wrapping of transitory values in sealwrap backend. (#15571) (#15587)
* Avoid useless re-wrapping of transitory values in sealwrap backend.

When deciding whether to re-wrap a transitory seal wrapped value (one that is
written to storage without seal generation information), only do so if the
result is likely to be a non-transitory value. To determine this likelihood, use
the number of healthy seal wrappers that would be used to re-wrap the value.

* Add a changelog entry.

Co-authored-by: Victor Rodriguez Rizo <vrizo@hashicorp.com>
2026-06-18 19:30:08 +00:00
Vault Automation
334be70e8c
UI: V2 Forms Override Logic (#15102) (#15648)
* add v2 form override logic and test coverage

* Add/update test coverage

* add overrideFieldsInSection helper

* add copywright header, remove unused createFieldOverride helper

* address copilot review comments

* Address copilot comment: Fix grammar in assertion



* Address copilot comment: grammar fix



---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: Shannon Roberts <shannon.roberts@hashicorp.com>
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-18 11:26:31 -07:00
hc-github-team-secure-vault-core
031a596bd8 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-18 17:00:17 +00:00
Vault Automation
b2e7431372
Update vault-client-typescript client (#15547) (#15583)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-06-18 09:06:47 -07:00
hc-github-team-secure-vault-core
e17c3dbd80 Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-18 14:01:12 +00:00
Vault Automation
400b4facfc
Ameriolate lock contention for core paths in the seal wrap backend. (#15614) (#15624)
* Ameriolate lock contention for core paths in the seal wrap backend.

Add a special-purpose LockArray for the sealWrapBackend which segregates locks
for the AlwaysSealWrap path entries from other keys.

* Add a changelog entry.

Co-authored-by: Victor Rodriguez Rizo <vrizo@hashicorp.com>
2026-06-18 09:39:00 -04:00
hc-github-team-secure-vault-core
db2f899307 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-17 21:47:46 +00:00
Vault Automation
914b1446f3
Update CHANGELOG.md (#15615) (#15617)
Co-authored-by: Chris Foran <Christopher.Foran@ibm.com>
2026-06-17 17:43:29 -04:00
hc-github-team-secure-vault-core
c4d4264ff8 Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-17 20:41:36 +00:00
Vault Automation
f777411587
Preserve wrapped responses during control group unwrap (#15544) (#15584)
This fixes a customer-reported Control Group unwrap issue where an approved replayed request returned wrapping metadata, but the Control Group unwrap response serialization dropped that WrapInfo.

Co-authored-by: Jorge Aquino <jaquino.usmc@gmail.com>
2026-06-17 15:32:40 -05:00
hc-github-team-secure-vault-core
d9a50c1aff Merge remote-tracking branch 'remotes/from/ce/main' 2026-06-17 19:41:11 +00:00
Vault Automation
f9b2b9b654
Backport refactor SCIM listing endpoint to use CompoundIndex into ce/main (#15302)
* Add support for the filter query parameter on the GET /scim/v2/Users endpoint (#11309)
* VAULT-41847 refactor SCIM listing endpoint to use CompoundIndex (#14988)
---------
Co-authored-by: Bianca <48203644+biazmoreira@users.noreply.github.com>
Co-authored-by: Anjani Mallampati <anjani.mallampati@hashicorp.com>
2026-06-17 12:31:22 -07:00
hc-github-team-secure-vault-core
56d0757d59 Merge remote-tracking branch 'remotes/from/ce/main'
Some checks are pending
build / setup (push) Waiting to run
build / Check ce/* Pull Requests (push) Blocked by required conditions
build / ui (push) Blocked by required conditions
build / artifacts-ce (push) Blocked by required conditions
build / artifacts-ent (push) Blocked by required conditions
build / hcp-setup (push) Waiting to run
build / hcp-image (push) Blocked by required conditions
build / test (push) Blocked by required conditions
build / test-hcp-image (push) Blocked by required conditions
build / completed-successfully (push) Blocked by required conditions
CI / setup (push) Waiting to run
CI / Run Autopilot upgrade tool (push) Blocked by required conditions
CI / Run Go tests (push) Blocked by required conditions
CI / Run Go tests tagged with testonly (push) Blocked by required conditions
CI / Run Go tests with data race detection (push) Blocked by required conditions
CI / Run Go tests with FIPS configuration (push) Blocked by required conditions
CI / Test UI (push) Blocked by required conditions
CI / tests-completed (push) Blocked by required conditions
Run linters / Setup (push) Waiting to run
Run linters / Deprecated functions (push) Blocked by required conditions
Run linters / Code checks (push) Blocked by required conditions
Run linters / Protobuf generate delta (push) Blocked by required conditions
Run linters / Format (push) Blocked by required conditions
Run linters / Semgrep (push) Waiting to run
Check Copywrite Headers / copywrite (push) Waiting to run
Security Scan / scan (push) Waiting to run
2026-06-17 16:14:59 +00:00
Vault Automation
f88d6c701e
Update audit metadata to any type for agentic fields (#15397) (#15453)
* Update audit metadata to any type for agentic fields

* test fixes

* missed tests

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2026-06-17 15:48:13 +00:00