20459 Commits

Author SHA1 Message Date
claire bontempo
4617af328b
UI: Refactor tool actions form (#27406)
* rename wrap test

* refactor tool hash component

* whoops fix component syntax

* random refactor

* rewrap component

* unwrap component

* lookup refactor

* wrap refactor

* update selectors

* delete tool action form component

* co-locate templates

* Revert "co-locate templates"

This reverts commit c52bb9875284a4ee78c773c794f4fe572ae7a7f4.

* fix component jsdoc syntax

* rename tracked property

* rename rewrap token input selector

* remove parseint now that input is typed as a number

* nvm convert to number

* co-locate templates

* move to tools/ folder

* add flash message to test
2024-06-11 01:47:36 +00:00
divyaac
ca9c4df71e
Deprecates current_billing_period (#27426)
* Applied oss patches

* Added changelog

* Edited upgrade guide
2024-06-10 14:33:38 -07:00
Chelsea Shaw
7e70e3fd52
UI: glimmerize generate credentials component (#27405) 2024-06-10 12:49:05 -05:00
Chelsea Shaw
b0864e3f54
UI: Allow creation of AWS session_token type role (#27424)
* Add fields for session_token type role

* add changelog
2024-06-10 12:48:43 -05:00
Victor Rodriguez
eb8496e874
Commence refactoring to decouple revocation code from main PKI backend (#27417)
* Rename crlConfig to CrlConfig.

Rename defaultCrlConfig to DefaultCrlConfig.

* Move CrlConfig and DefaultCrlConfig to new package pki/revocation.

* Rename revocationInfo to RevocationInfo.

* Move RevocationInfo to pki/revocation.

* Add StorageContext interface to PKI's revocation package.

* Add CrlBuilderType interface to pki_backend package.

The purpose of the interface is to make it possible to gradually move (refactor)
CrlBuilder to the revocation package.

* Move CrlConfig and DefaultCrlConfig to package pki_backend.

* Make StorageContext.CrlBuilder() return a CrlBuilderType.

Add methods SetLastDeltaRebuildCheckTime() and ShouldInvalidate() to
CrlBuilderType.

* Move fetchIssuerMapForRevocationChecking to PKI's revocation package.

* Run make fmt.
2024-06-10 16:41:47 +00:00
Scott Miller
de84d373c1
Document environment variable usage in Seal HA (#27421)
* Document how environment variables work with seal names

* wording
2024-06-10 11:37:59 -05:00
Peter Wilson
26eae55a7d
updated dependencies for auth/gcp (#27415) 2024-06-10 16:08:15 +00:00
Peter Wilson
04f9f5f3b4
added note to go doc for method (#27418) 2024-06-10 16:07:28 +00:00
Rebecca Willett
1f0639a79c
Remove Leap 15.4 from testing matrices and AMI data sources; remove vestiges of Ubuntu 18.04 testing (#27416) 2024-06-10 11:44:32 -04:00
Mary Frances
0ca6fe9af2
Update mongodbatlas.mdx (#27395)
Capitalize Atlas and add space in note.
2024-06-10 10:44:03 -04:00
aubrich
d64856c6c9
fixes auto_join for mDNS provider (#25080)
* fixes auto_join for mDNS provider

* adds a function to format addresses returned by go-discover

* adds copyright header in raft_rest.go

* Adds changelog file for PR #25080, godoc for TestFormatDiscoveredAddr

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-10 09:22:03 -04:00
Ryan Cragun
f7c16796ed
lint: fix misspell linter install (#27408)
It appears that starting with v0.5.2 the misspell linter embeds the
version directory into the release archive.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-07 19:14:20 -04:00
Thomas Hargrove
27563039db
Speed up dynamodb List() by only getting keys (#21159)
* Speed up ddb list by only getting keys

* Add same optimization to has_children

* Add changeling

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-07 15:11:00 -04:00
Victor Rodriguez
8fd63b0a60
Remove direct usage of logical/pki's storageContext.Backend field (#27401)
* Add method storageContext.Logger().

* Add method storageContext.System().

* Add method storageContext.CrlBuilder().

* Add method storageContext.GetUnifiedTransferStatus().

* Add method storageContext.GetPkiManagedView().

* Add method storageContext.GetCertificateCounter().

* Add method storageContext.UseLegacyBundleCaStorage().

* Add method storageContext.GetRevokeStorageLock().

* Add acmeState to acmeContext.

Make acmeState accessible from acmeContext, so that storageContext doesn't have
to be used for this purpose.

* Decouple getAndValidateAcmeRole() from storageContext.Backend.

* Don't access Backend.ciepsState through storageContext.

* Add method storageContext.GetRole().

* Change signature of getCiepsAcmeSettings for CE compatibility.
2024-06-07 14:18:17 -04:00
Marc Boudreau
d382103f62
Update go version to 1.22.4 (#27400)
* update go version to 1.22.4

* add changelog file
2024-06-07 12:13:09 -04:00
Chelsea Shaw
58c678ec6a
sort compared list of attributes for test stability (#27391) 2024-06-07 09:04:46 -05:00
Steven Clark
3fef0fad8e
Add support for read/write unauthed endpoints in PKI authing test (#27396)
- Within SCEP we need to expose an unauthed API endpoint that has
   a handler for both GET and POST requests. This use-case wasn't
   supported in the TestProperAuthing test which this adds.
2024-06-07 09:58:15 -04:00
Ryan Cragun
0513545dd8
[VAULT-27917] fix(enos): handle SLES guestregister.service unreliability (#27380)
* [VAULT-27917] fix(enos): handle SLES guestregister.service unreliability

The SLES provided `guestregister.service` systemd unit is unreliable
enough that it will fail ~ 1/9 times when provisioning SLES instances.
When this happens the machine will never successfully exec SUSEConnect
to enroll and we'll get no access to the SLES repositories and
subsequently break our scenarios.

I resolved this by restructuring our `install_packages` module to to
separate repository synchronization, repository addition, and package
installation into different scripts and resources and by adding special
case handling for SLES and the `guestregister.service`.

I also make a distinction between `dnf` and `yum` because while they are
sort of the same thing on RHEL, it is not the case with Amazon2. I also
shimmed out the rest of the support for Apt in case we ever need to add
repos there.

* Revert "Temporarily remove SLES from samples (#27378)"

This reverts commit 490cdd90661a57cf849c7d64aec545e87fb393c8.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-06 17:37:50 -06:00
divyaac
59320bb60b
Deprecated default_report_months (#27350)
* Deprecated default_report_months through docs and upgrade guides

* Added upgraade doc

* Update website/content/docs/upgrading/upgrade-to-1.18.x.mdx

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* Update website/content/api-docs/system/internal-counters.mdx

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

* Update website/content/docs/upgrading/upgrade-to-1.18.x.mdx

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* Update vault/logical_system_activity.go

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* updated code sample

* Added changelog

* Update website/content/docs/upgrading/upgrade-to-1.18.x.mdx

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* Update changelog/27350.txt

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* Update website/content/docs/upgrading/index.mdx

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>

* Update upgrade-to-1.18.x.mdx

* Update upgrade-to-1.18.x.mdx

* Added docs nav

* Edited docs nav

* Edited docs

---------

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-06-06 21:58:54 +00:00
Chelsea Shaw
1a9c01ba94
UI: PKI OpenAPI attributes update (#27386) 2024-06-06 14:58:23 -05:00
Pascal Reeb
9f5371d3bc
feat(entity-alias): return metadata when listing entity-aliases (#26073)
* feat(entity-alias): return metadata when listing entity-aliases

* Add changelog

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-06 15:42:50 -04:00
Josh Black
1c44349bd3
Augment raft test functions to allow specifying SetupOpts (#27387) 2024-06-06 12:42:31 -07:00
Chelsea Shaw
61a3885eb6
UI: Fix client counts bug when no new clients (#27352) 2024-06-06 13:15:12 -05:00
divyaac
61b27d0cb4
Added docs (#27266) 2024-06-06 10:14:49 -07:00
divyaac
f3eedc4aa2
Set default reporting start time to billing start date (#27379)
* Apply oss patch

* Added changelog
2024-06-06 10:13:04 -07:00
Steven Clark
566aaa661a
Update versions.hcl in prep for 1.17 release (#27381)
- With the upcoming 1.17 release, mark previous CE branches
   as no longer active, and drop the 1.14 branch from the list
   of active branches
2024-06-06 15:22:21 +00:00
Noelle Daley
15532cf701
UI: Migrate <ConfigureAwsSecret /> to HDS & TS (#27367)
* feat: migrate configure-aws-secret to HDS::Tabs

* chore: co-locate configure-aws-secret template

* chore: convert configure-aws-secret to TS

* tests: fix aws acceptance tests
2024-06-06 13:57:29 +00:00
Rebecca Willett
490cdd9066
Temporarily remove SLES from samples (#27378) 2024-06-05 15:53:03 -07:00
Chelsea Shaw
67fc1fab4c
UI: Fix aws credential generation sending ttl value when off (#27366)
* do not send ttl if unset for aws credentials

* test coverage

* remove comment

* add changelog

* Update aws test, cancel button is secondary
2024-06-05 19:56:54 +00:00
Kit Haines
74f1c4a618
Vault 27884 api doc updates for cert metadata (#27374)
* OSS changes to rename metadata cert_metadata

* OSS changes to functions.

* cert_metadata rename; add list endpoint.
2024-06-05 15:11:12 -04:00
Kit Haines
b86f4afbbd
OSS changes to rename metadata cert_metadata (#27365)
* OSS changes to rename metadata cert_metadata

* OSS changes to functions.
2024-06-05 18:17:04 +00:00
Rebecca Willett
79cd3238d5
Add exclude block (#27369) 2024-06-05 18:12:00 +00:00
Paul Banks
a04c53eca2
Fix AP upgrade version issue (#27277)
* Fix AP upgrade version issue

* add heartbeat logging at trace level

* add log to show when heartbeats resume

* Test the plumbing

* Revert "Test the plumbing"

This reverts commit e25fcd83516cd8b5b0ca6b543be64049c6a45f51.

* Add CHANGELOG

* Add plumbing test

* Update misleading comment

---------

Co-authored-by: Josh Black <raskchanky@gmail.com>
2024-06-05 18:12:00 +01:00
Rebecca Willett
c28739512a
Add Amazon Linux, openSUSE Leap, and SUSE SLES support to Enos scenarios and modules (#25983)
Add Consul edition support to Enos scenarios and modules
Add Linux distros and Consul edition to Enos samples
Bump RHEL versions to 9.3 and 8.9
2024-06-05 12:58:35 -04:00
Jonathan Frappier
ef10c1a2a4
Add TCP TLS guide (#27318)
* Add TCP TLS guide

* Fix example listener stanza missing }

* Update website/content/docs/configuration/listener/tcp-tls.mdx

Co-authored-by: Jamie Finnigan <jfinnigan@hashicorp.com>

* Update website/content/docs/configuration/listener/tcp-tls.mdx

Co-authored-by: Jamie Finnigan <jfinnigan@hashicorp.com>

* Update website/content/docs/configuration/listener/tcp-tls.mdx

Co-authored-by: Jamie Finnigan <jfinnigan@hashicorp.com>

* Update website/content/docs/configuration/listener/tcp-tls.mdx

Co-authored-by: Jamie Finnigan <jfinnigan@hashicorp.com>

* Update website/content/docs/configuration/listener/tcp-tls.mdx

Co-authored-by: Jamie Finnigan <jfinnigan@hashicorp.com>

* Update website/content/docs/configuration/listener/tcp-tls.mdx

Co-authored-by: Jamie Finnigan <jfinnigan@hashicorp.com>

* Suggestions for TCP-TLS docs (#27335)

* recreating edits

* Fix nav entry

---------

Co-authored-by: Jamie Finnigan <jfinnigan@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-06-05 09:48:10 -04:00
John-Michael Faircloth
b9a2f83019
docs: note vle is not supported with aws snapstart (#27329)
* docs: note vle is not supported with aws snapstart

* Update website/content/docs/platform/aws/lambda-extension.mdx

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

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-06-04 21:31:49 -07:00
Noelle Daley
87f693c1f8
UI: convert mount backend code to TS (#27349)
* chore: convert form-field-groups to TS

* chore: convert mount-backend-form to TS

* chore: convert mount-backend-form to TS, option 2

* chore: co-locate mount-backend-form template
2024-06-04 21:40:55 +00:00
Chelsea Shaw
131d1e2d66
UI: Remove "encryption" from transit actions (#27346)
* Remove encryption from transit actions

* Update encryption key > cryptographic key. Fixes #25780

* Add changelog
2024-06-04 15:51:20 -05:00
Mike Brancato
af47fc927e
Update Azure MSI endpoint (#10624)
* Update Azure MSI endpoint

* Add changelog

---------

Co-authored-by: Jim Kalafut <jkalafut@hashicorp.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
Co-authored-by: Tom Chwojko-Frank <117938382+tomcf-hcp@users.noreply.github.com>
2024-06-04 10:19:18 -07:00
Raja Nadar
0d9e944e04
remove response payload for update approle role id (#18505)
The ```update approle role id``` api does not return any response. It is a http 204 operation.

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-04 13:15:23 -04:00
Marc Boudreau
47b7e9d303
capture container logs prior to removing container if the test is failed (#27332) 2024-06-04 11:30:42 -04:00
Mike Palmiotto
e99e8870ec
Add a CI check for do-not-merge label (#27325) 2024-06-04 09:37:10 -04:00
claire bontempo
1f64e6e9ca
UI: Allow repeat data wrapping for wrap tool (#27289)
* update selectors

* add tests

* add tests

* add explanations to true only args

* allow token wrap to wrap again

* update test wording

* add wrap specific modules to tools acceptance test

* add changelog

* remove selectedAction

* trim args and update tests
2024-06-03 17:20:09 -07:00
vinay-gopalan
5acc4331ea
Add WIF documentation for Azure Auth and Secrets engines (#27185) 2024-06-03 13:17:13 -07:00
vinay-gopalan
01ccf580d8
Add WIF documentation for GCP Auth and Secrets engines (#27170)
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2024-06-03 13:16:56 -07:00
Violet Hynes
1d87ed8aaf
Add docs and changelog for PR 9733 (#27313) 2024-06-03 14:09:57 -04:00
kilocaleb
f11f4643cf
gocql: DisableInitialHostLookup as backend configuration parameter (#9733)
* setting option for gocql: DisableInitialHostLookup thru backend config section

* adding newline between 'if' blocks to keep code strict

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-03 14:09:49 -04:00
Ryan Cragun
1c4aa5369e
proto: rebuild with the latest protoc-gen-go (#27331)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-03 12:02:02 -06:00
Angel Garbarino
20382fab26
UI bug fix: Kubernetes Role filter replace with explicit input filter (#27178)
* initial changes for new component template only handle actions in parent

* add changelog

* fix current kubernetes test

* component test

* remove concurrency task

* make div and not form due to testing things

* address pr feedback

* Update ui/tests/integration/components/filter-input-explicit-test.js

Co-authored-by: Noelle Daley <noelledaley@users.noreply.github.com>

* Update filter-input-explicit-test.js

* fix tests

* make it a form and fix test:

---------

Co-authored-by: Noelle Daley <noelledaley@users.noreply.github.com>
2024-06-03 09:39:41 -06:00
Charles Moulliard
71a4423f1d
Update libraries.mdx (#19547)
* Update libraries.mdx

Including the Java Quarkus Vault project

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

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

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-03 09:59:47 -04:00