This project is mirrored from https://gitee.com/NQL886/vault.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 29 Apr, 2022 5 commits
-
-
Jason O'Donnell authored
-
Chris Capurso authored
Co-authored-by:
Peter Zujko <peter.zujko@klaviyo.com>
-
VAL authored
* Add enterprise sudo paths to api.SudoPaths map * add comment to denote ent-only sudo paths * go fmt Co-authored-by:
Chris Capurso <1036769+ccapurso@users.noreply.github.com>
-
Peter Wilson authored
-
Nick Cabatoff authored
-
- 28 Apr, 2022 1 commit
-
-
Sergey Lanzman authored
Added AWS_DYNAMODB_REGION env
-
- 27 Apr, 2022 5 commits
-
-
VAL authored
* WIP: output policy * Outputs example policy HCL for given request * Simplify conditional * Add PATCH capability * Use OpenAPI spec and regex patterns to determine if path is sudo * Add test for isSudoPath * Add changelog * Fix broken CLI tests * Add output-policy to client cloning code * Smaller fixes from PR comments * Clone client instead of saving and restoring custom values * Fix test * Address comments * Don't unset output-policy flag on KV requests otherwise the preflight request will fail and not populate LastOutputPolicyError * Print errors saved in buffer from preflight KV requests * Unescape characters in request URL * Rename methods and properties to improve readability * Put KV-specificness at front of KV-specific error * Simplify logic by doing more direct returns of strings and errors * Use precompiled regexes and move OpenAPI call to tests * Remove commented out code * Remove legacy MFA paths * Remove unnecessary use of client * Move sudo paths map to plugin helper * Remove unused error return * Add explanatory comment * Remove need to pass in address * Make {name} regex less greedy * Use method and path instead of info from retryablerequest * Add test for IsSudoPaths, use more idiomatic naming * Use precompiled regexes and move OpenAPI call to tests (#15170) * Use precompiled regexes and move OpenAPI call to tests * Remove commented out code * Remove legacy MFA paths * Remove unnecessary use of client * Move sudo paths map to plugin helper * Remove unused error return * Add explanatory comment * Remove need to pass in address * Make {name} regex less greedy * Use method and path instead of info from retryablerequest * Add test for IsSudoPaths, use more idiomatic naming * Make stderr writing more obvious, fix nil pointer deref
-
Loann Le authored
-
Christopher Swenson authored
-
Theron Voran authored
Updates the layer version for the new release, and renames the docs page from lambda-extension-cache -> lambda-extension, and includes a redirect.
-
Rémi Lapeyre authored
This should have been removed as part of f09e39ea but somehow got forgotten.
-
- 26 Apr, 2022 8 commits
-
-
Loann Le authored
* applied new guidelines to codeblock * updated text
-
Christopher Swenson authored
VAULT-5827 Don't prepare SQL queries before executing them We don't support proper prepared statements, i.e., preparing once and executing many times since we do our own templating. So preparing our queries does not really accomplish anything, and can have severe performance impacts (see https://github.com/hashicorp/vault-plugin-database-snowflake/issues/13 for example). This behavior seems to have been copy-pasted for many years but not for any particular reason that we have been able to find. First use was in https://github.com/hashicorp/vault/pull/15 So here we switch to new methods suffixed with `Direct` to indicate that they don't `Prepare` before running `Exec`, and switch everything here to use those. We maintain the older methods with the existing behavior (with `Prepare`) for backwards compatibility.
-
Jordan Reimer authored
* fixes issues in key-edit component * adds capabilities checks for keys and providers * adds distribute component to key and provider edit * adds wizard steps for kmse
-
Loann Le authored
* add note about seal requirement * fixed spelling error * updated notes * Update website/content/docs/configuration/seal/pkcs11.mdx Co-authored-by:
Yoko Hyakuna <yoko@hashicorp.com> * Update website/content/docs/concepts/seal.mdx Co-authored-by:
Yoko Hyakuna <yoko@hashicorp.com> Co-authored-by:
Yoko Hyakuna <yoko@hashicorp.com>
-
kitography authored
-
Josh Black authored
-
Jordan Reimer authored
* fixes issues in key-edit component * adds capabilities checks for keys and providers * adds distribute component to key and provider edit
-
Chris Capurso authored
* fix raft tls key rotation panic when rotation time in past * add changelog entry * push out next raft TLS rotation time in case close to elapsing * consolidate tls key rotation duration calculation * reduce raft getNextRotationTime padding to 10 seconds * move tls rotation ticker reset to where its duration is calculated
-
- 25 Apr, 2022 4 commits
-
-
AnPucel authored
-
Matt Schultz authored
-
Angel Garbarino authored
* handle current warning * handle history * match the two flows * clean up * Refactor to account for chart indicator (#15121) * refactor for charts * revert handler changes * clarify variable * add 1.10 to version history * woops add key * handle mock query end date * update current template * add date * fix tests * fix fake version response * address comments, cleanup * change word * add TODO * revert selector Co-authored-by:
claire bontempo <68122737+hellobontempo@users.noreply.github.com> Co-authored-by:
Claire Bontempo <cbontempo@hashicorp.com>
-
Nick Cabatoff authored
-
- 22 Apr, 2022 6 commits
-
-
AnPucel authored
Adding handling for TypeInt64 to OAS types
-
claire bontempo authored
-
claire labry authored
-
Nick Cabatoff authored
-
Reuben James authored
* Update golang.org/x/crypto/ssh * Add changelog comment
-
ldilalla-HC authored
-
- 21 Apr, 2022 7 commits
-
-
Chris Capurso authored
-
Chris Capurso authored
-
Jason O'Donnell authored
* docs/agent: merge template and template config * Fix example * Update per review
-
Nick Cabatoff authored
-
Yoko Hyakuna authored
* Add command help info * Explain CLI and API correlation * Update the heading level * Updated the command example with more description * Update website/content/docs/commands/index.mdx Co-authored-by:
Loann Le <84412881+taoism4504@users.noreply.github.com> * Update website/content/docs/commands/index.mdx Co-authored-by:
Loann Le <84412881+taoism4504@users.noreply.github.com> * Update website/content/docs/commands/index.mdx Co-authored-by:
Loann Le <84412881+taoism4504@users.noreply.github.com> * Incorporate review feedback Co-authored-by:
Loann Le <84412881+taoism4504@users.noreply.github.com>
-
Jordan Reimer authored
-
Peter Wilson authored
-
- 20 Apr, 2022 4 commits
-
-
Chelsea Shaw authored
* Add back metadata.json * remove space
-
Rémi Lapeyre authored
* Automatically bootstraps the Consul ACL system if no management token is given on the access config
-
Jordan Reimer authored
* KMSE: Key Model / Adapter / Serializer setup (#13638) * First pass model * KMS key adapter (create/update), serializer, model * Add last rotated and provider to key * KeyEdit secret-edit component, and more key model stuff * add formatDate param support to infotablerow * Add keymgmt key to routes and options-for-backend * Rename keymgmt-key to keymgmt/key * Add test, cleanup * Add mirage handler for kms * Address PR comments * KMS Providers (#13797) * adds pagination-controls component * adds kms provider model, adapter and serializer * adds kms provider-edit component * updates secrets routes to handle itemType query param for kms * updates kms key adapter to query by provider * adds tests for provider-edit component * refactors kms provider adapter to account for dynamic path * adds model-validations-helper util * removes keymgmt from supported-secret-backends * fixes issue generating url for fetching keys for a provider * updates modelType method on secret-edit route to accept options object as arg rather than transition * adds additional checks to ensure queryParams are defined in options object for modelType method * UI/keymgmt distribute key (#13840) * Add distribution details on key page, and empty states if no permissions * Allow search-select component to return object so parent can tell when new item was created * Add stringarray transform * Distribute component first pass * Refactor distribute component for use with internal object rather than ember-data model * Specific permission denied errors on key edit * Allow inline errors on search-select component * Style updates for form errors * Styling and error messages on distribute component * Allow block template on inline alert so we can add doc links * Add distribute action, flash messages, cleanup * Cleanup & Add tests * More cleanup * Address PR comments * Move disable operations logic to commponent class * KMSE Enable/Config (#14835) * adds keymgmt secrets engine as supported backend * adds comment to check on keymgmt as member of adp module * updates kms provider to use model-validations decorator * fixes lint errors and tests Co-authored-by:
Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
-
Conor Mongey authored
* Bootstrap Nomad ACL system if no token is given Similar to the [Bootstrap the Consul ACL system if no token is given][boostrap-consul] it would be very useful to bootstrap Nomads ACL system and manage it in Vault. [boostrap-consul]:https://github.com/hashicorp/vault/pull/10751 * Add changelog entry * Remove debug log line * Remove redundant else * Rename Nomad acl bootstrap param * Replace sleep with attempt to list nomad leader, setup will retry until successful * fmt
-