* add key types for cmac for transit key creation
* add test for key creation
* fix test logic and add cases
* fix logic for hmac
* add go doc
* fix key size and add check for HMAC key
Add image and tighten language around LTS maintenance vs standard maintenance
Replace "support" with "maintenance" in the image alt text
Apply feedback
* Use a less strict URL validation for PKI issuing and crl distribution urls
* comma handling
* limit to ldap
* remove comma hack
* changelog
* Add unit test validating ldap CRL urls
---------
Co-authored-by: Steve Clark <steven.clark@hashicorp.com>
We have many hand-written String() methods (and similar) for enums.
These require more maintenance and are more error-prone than using
automatically generated methods. In addition, the auto-generated
versions can be more efficient.
Here, we switch to using https://github.com/loggerhead/enumer, itself
a fork of https://github.com/diegostamigni/enumer, no longer maintained,
and a fork of the mostly standard tool
https://pkg.go.dev/golang.org/x/tools/cmd/stringer.
We use this fork of enumer for Go 1.20+ compatibility and because
we require the `-transform` flag to be able to generate
constants that match our current code base.
Some enums were not targeted for this change:
* use model returned by route model hook for ts declaration
* remove hasActivity helper
* refactor mirage so namespace totals are summed from monthly data
* add charts to acme tab
* add controller, update counts test
* add test for acme page
* selector cleanup
* update empty state handling for cc charts
* cleanup conditional logic
* add acme acceptance tests for filtering
* wrap up util updates
* finish acceptance tests
* update usage stats
* wrap up number updates from latest stubbed response
* When a locked out user tries to log in, log an error message indicating this
* Formatting code to enable PR precheck to pass
* Fix typo
Fix typo for comment about code change
* Edited wording and removed comment
---------
Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
Co-authored-by: divyaac <divyaac@berkeley.edu>
Adds an agent injector example showing annotations for cross namespace
secret sharing.
---------
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
The new vault.namespace config option seems to always be overridden by
the auto-auth namespace, so add an extra check to allow them to be set
separately.
---------
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
* Glimmerize replication controllers
* Add enable-replication-form component with tests
* use EnableReplicationForm in index and mode routes
* clean up enable action from replication-actions mixin
* fix test failure for structuredClone
* stabilize tests, remove enable action from replication-actions and replication-summary
* Update ui/lib/replication/addon/controllers/replication-mode.js
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* address PR comments
* stabilize oidc test?
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>