Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand



Downloads of v 1.4.0:


Last Update:

09 Apr 2020

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp


vault hashicorp


This is not the latest version of Vault available.

  • 1
  • 2
  • 3

1.4.0 | Updated: 09 Apr 2020



Downloads of v 1.4.0:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Vault 1.4.0

This is not the latest version of Vault available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Vault, run the following command from the command line or from PowerShell:


To upgrade Vault, run the following command from the command line or from PowerShell:


To uninstall Vault, run the following command from the command line or from PowerShell:


Deployment Method:


This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade vault -y --source="'INTERNAL REPO URL'" --version="'1.4.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade vault -y --source="'INTERNAL REPO URL'" --version="'1.4.0'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install vault
    name: vault
    version: '1.4.0'
    state: present

See docs at

chocolatey_package 'vault' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.4.0'

See docs at

cChocoPackageInstaller vault
    Name     = "vault"
    Version  = "1.4.0"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'vault':
  ensure   => '1.4.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.


Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 09 Apr 2020.


Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log.

A modern system requires access to a multitude of secrets: database credentials, API keys for external services, credentials for service-oriented architecture communication, etc. Understanding who is accessing what secrets is already very difficult and platform-specific. Adding on key rolling, secure storage, and detailed audit logs is almost impossible without a custom solution. This is where Vault steps in.

The key features of Vault are:

* Secure Secret Storage: Arbitrary key/value secrets can be stored in Vault. Vault encrypts these secrets prior to writing them to persistent storage, so gaining access to the raw storage isn't enough to access your secrets. Vault can write to disk, Consul, and more.
* Dynamic Secrets: Vault can generate secrets on-demand for some systems, such as AWS or SQL databases. For example, when an application needs to access an S3 bucket, it asks Vault for credentials, and Vault will generate an AWS keypair with valid permissions on demand. After creating these dynamic secrets, Vault will also automatically revoke them after the lease is up.
* Data Encryption: Vault can encrypt and decrypt data without storing it. This allows security teams to define encryption parameters and developers to store encrypted data in a location such as SQL without having to design their own encryption methods.
* Leasing and Renewal: All secrets in Vault have a lease associated with it. At the end of the lease, Vault will automatically revoke that secret. Clients are able to renew leases via built-in renew APIs.
* Revocation: Vault has built-in support for secret revocation. Vault can revoke not only single secrets, but a tree of secrets, for example all secrets read by a specific user, or all secrets of a particular type. Revocation assists in key rolling as well as locking down systems in the case of an intrusion.

For more information, see the introduction section of the Vault website.

$packageArgs = @{
  PackageName         = "vault"
  Url                 = "$($version)/vault_$($version)"
  UnzipLocation       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
  Url64               = "$($version)/vault_$($version)"
  Checksum            = '99a3a30db2508ff75fc52b1976f4144baeaf668ccbba0d73c38ff6c984921773'
  ChecksumType        = 'sha256'
  Checksum64          = 'fc4ebb5c0473359effda328556763e5bc5d5da526e4b035d7f892d05b045c0a2'
  version             = '1.4.0'  

Install-ChocolateyZipPackage @packageArgs

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Vault 1.14.3 1969 Thursday, September 14, 2023 Approved
Vault 1.14.2 1954 Wednesday, August 30, 2023 Approved
Vault 1.14.1 4124 Wednesday, July 26, 2023 Approved
Vault 1.14.0 4660 Wednesday, June 21, 2023 Approved
Vault 1.13.3 1564 Friday, June 9, 2023 Approved
Vault 1.13.2 7462 Thursday, April 27, 2023 Approved
Vault 1.13.1 4218 Thursday, March 30, 2023 Approved
Vault 1.13.0 1512 Tuesday, March 7, 2023 Approved
Vault 1.12.3 2109 Thursday, February 23, 2023 Approved
Vault 1.12.2 5871 Saturday, December 17, 2022 Approved
Vault 1.11.1 18715 Wednesday, July 27, 2022 Approved
Vault 1.11.0 2526 Tuesday, June 21, 2022 Approved
Vault 1.10.4 467 Friday, June 17, 2022 Approved
Vault 1.10.3 3144 Friday, May 13, 2022 Approved
Vault 1.10.2 45 Friday, May 13, 2022 Approved
Vault 1.10.1 1511 Monday, April 25, 2022 Approved
Vault 1.10.0 2288 Friday, March 25, 2022 Approved
Vault 1.9.4 1347 Wednesday, March 9, 2022 Approved
Vault 1.9.3 2293 Monday, January 31, 2022 Approved
Vault 1.9.2 1932 Wednesday, December 22, 2021 Approved
Vault 1.9.1 1080 Tuesday, December 14, 2021 Approved
Vault 1.9.0 1575 Tuesday, November 23, 2021 Approved
Vault 1.8.5 74 Tuesday, November 23, 2021 Approved
Vault 1.8.4 3065 Friday, October 8, 2021 Approved
Vault 1.8.3 668 Friday, October 1, 2021 Approved
Vault 1.8.2 612 Thursday, September 30, 2021 Approved
Vault 1.8.1 142 Thursday, September 30, 2021 Approved
Vault 1.8.0 3303 Thursday, July 29, 2021 Approved
Vault 1.7.3 2483 Thursday, June 17, 2021 Approved
Vault 1.7.2 1937 Friday, May 21, 2021 Approved
Vault 1.7.1 1530 Monday, April 26, 2021 Approved
Vault 1.7.0 1559 Tuesday, April 6, 2021 Approved
Vault 1.6.3 440 Thursday, March 25, 2021 Approved
Vault 1.6.2 3991 Monday, February 1, 2021 Approved
Vault 1.6.1 706 Thursday, January 21, 2021 Approved
Vault 1.5.5 5308 Friday, October 23, 2020 Approved
Vault 1.5.4 21842 Thursday, October 22, 2020 Approved
Vault 1.5.3 576 Thursday, October 22, 2020 Approved
Vault 1.5.2 2301 Wednesday, August 26, 2020 Approved
Vault 1.5.0 1646 Wednesday, July 22, 2020 Approved
Vault 1.4.3 875 Friday, July 3, 2020 Approved
Vault 1.4.1 1729 Monday, May 4, 2020 Approved
Vault 1.4.0 1371 Thursday, April 9, 2020 Approved
Vault 1.3.4 208 Wednesday, April 8, 2020 Approved
Vault 1.3.3 901 Monday, March 9, 2020 Approved
Vault 1.3.2 1469 Friday, January 24, 2020 Approved
Vault 1.3.1 1617 Friday, December 20, 2019 Approved
Vault 1.3.0 484 Wednesday, December 11, 2019 Approved
Vault 1.2.4 1014 Tuesday, November 12, 2019 Approved
Vault 1.2.3 3401 Monday, September 16, 2019 Approved
Vault 1.2.2 2344 Friday, August 16, 2019 Approved
Vault 1.2.1 155 Thursday, August 8, 2019 Approved
Vault 1.2.0 935 Wednesday, July 31, 2019 Approved
Vault 1.1.1 5052 Tuesday, April 16, 2019 Approved
Vault 1.1.0 1007 Tuesday, March 19, 2019 Approved
Vault 1.0.3 681 Friday, March 1, 2019 Approved
Vault 0.10.0 3096 Monday, April 16, 2018 Approved
Vault 0.10.0-rc1 289 Saturday, April 7, 2018 Approved
Vault 0.9.6 462 Saturday, April 7, 2018 Approved
Vault 0.9.5 261 Saturday, April 7, 2018 Approved
Vault 0.9.4 334 Saturday, April 7, 2018 Approved
Vault 0.9.3 281 Saturday, April 7, 2018 Approved
Vault 0.9.2 278 Saturday, April 7, 2018 Approved
Vault 0.9.1 987 Saturday, January 13, 2018 Approved
Vault 0.9.0 343 Saturday, January 13, 2018 Approved
Vault 0.8.3 931 Wednesday, September 20, 2017 Approved
Vault 0.8.2 353 Wednesday, September 20, 2017 Approved
Vault 0.8.1 430 Thursday, August 24, 2017 Approved
Vault 0.8.0 417 Thursday, August 24, 2017 Approved
Vault 0.7.3 554 Thursday, June 8, 2017 Approved
Vault 0.7.2 403 Wednesday, June 7, 2017 Approved
Vault 0.7.1 370 Wednesday, June 7, 2017 Approved
Vault 0.7.0 391 Wednesday, June 7, 2017 Approved
Vault 0.6.5 897 Wednesday, February 8, 2017 Approved
Vault 0.6.4 511 Thursday, December 22, 2016 Approved
Vault 0.6.3 391 Wednesday, December 14, 2016 Approved
Vault 0.6.2 468 Tuesday, October 25, 2016 Approved
Vault 0.6.1 460 Tuesday, August 30, 2016 Approved

1.4.0 (April 7th, 2020)


* cli: The raft configuration command has been renamed to list-peers to avoid confusion.


* Kerberos Authentication: Vault now supports Kerberos authentication using a SPNEGO token. Login can be performed using the Vault CLI, API, or agent.
* Kubernetes Service Discovery: A new Kubernetes service discovery feature where, if configured, Vault will tag Vault pods with their current health status.
* MongoDB Atlas Secrets: Vault can now generate dynamic credentials for both MongoDB Atlas databases as well as the Atlas programmatic interface.
* OpenLDAP Secrets Engine: We now support password management of existing OpenLDAP user entries.
* Redshift Database Secrets Engine: The database secrets engine now supports static and dynamic secrets for the Amazon Web Services (AWS) Redshift service.
* Service Registration Config: A newly introduced service_registration configuration stanza, that allows for service registration to be configured separately from the storage backend.
* Transform Secrets Engine (Enterprise): A new secrets engine that handles secure data transformation and tokenization against provided input value.
* Integrated Storage: Promoted out of beta and into general availability for both open-source and enterprise workloads.


* agent: add option to force the use of the auth-auth token, and ignore the Vault token in the request GH-8101.
* api: Restore and fix DNS SRV Lookup GH-8520
* audit: HMAC http_raw_body in audit log; this ensures that large authenticated Prometheus metrics responses get replaced with short HMAC values GH-8130
* audit: Generate-root, generate-recovery-token, and generate-dr-operation-token requests and responses are now audited. GH-8301
* auth/aws: Reduce the number of simultaneous STS client credentials needed GH-8161
* auth/azure: subscription ID, resource group, vm and vmss names are now stored in alias metadata GH-30
* auth/jwt: Additional OIDC callback parameters available for CLI logins GH-80 GH-86
* auth/jwt: Bound claims may be optionally configured using globs GH-89
* auth/jwt: Timeout during OIDC CLI login if process doesn't complete within 2 minutes GH-97
* auth/jwt: Add support for the form_post response mode GH-98
* auth/jwt: add optional client_nonce to authorization flow GH-104
* auth/okta: Upgrade okta sdk lib, which should improve handling of groups GH-8143
* aws: Add support for v2 of the instance metadata service (see issue 7924 for all linked PRs)
* core: Separate out service discovery interface from storage interface to allow new types of service discovery not coupled to storage GH-7887
* core: Add support for telemetry option metrics_prefix GH-8340
* core: Entropy Augmentation can now be used with AWS KMS and Vault Transit seals
* core: Allow tls_min_version to be set to TLS 1.3 GH-8305
* cli: Incorrect TLS configuration will now correctly fail GH-8025
* identity: Allow specifying a custom client_id for identity tokens GH-8165
* metrics/prometheus: improve performance with high volume of metrics updates GH-8507
* replication (enterprise): Fix race condition causing clusters with high throughput writes to sometimes fail to enter streaming-wal mode
* replication (enterprise): Secondary clusters can now perform an extra gRPC call to all nodes in a primary cluster in an attempt to resolve the active node's address
* replication (enterprise): The replication status API now outputs last_performance_wal, last_dr_wal, and connection_state values
* replication (enterprise): DR secondary clusters can now be recovered by the replication/dr/secondary/recover API
* replication (enterprise): We now allow for an alternate means to create a Disaster Recovery token, by using a batch token that is created with an ACL that allows for access to one or more of the DR endpoints.
* secrets/database/mongodb: Switched internal MongoDB driver to mongo-driver GH-8140
* secrets/database/mongodb: Add support for x509 client authorization to MongoDB GH-8329
* secrets/database/oracle: Add support for static credential rotation GH-26
* secrets/consul: Add support to specify TLS options per Consul backend GH-4800
* secrets/gcp: Allow specifying the TTL for a service key GH-54
* secrets/gcp: Add support for rotating root keys GH-53
* secrets/gcp: Handle version 3 policies for Resource Manager IAM requests GH-77
* secrets/nomad: Add support to specify TLS options per Nomad backend GH-8083
* secrets/ssh: Allowed users can now be templated with identity information GH-7548
* secrets/transit: Adding RSA3072 key support GH-8151
* storage/consul: Vault returns now a more descriptive error message when only a client cert or a client key has been provided GH-4930
* storage/raft: Nodes in the raft cluster can all be given possible leader addresses for them to continuously try and join one of them, thus automating
the process of join to a greater extent GH-7856
* storage/raft: Fix a potential deadlock that could occur on leadership transition GH-8547
* storage/raft: Refresh TLS keyring on snapshot restore GH-8546
* storage/etcd: Bumped etcd client API SDK GH-7931 GH-4961 GH-4349 GH-7582
* ui: Make Transit Key actions more prominent GH-8304
* ui: Add Core Usage Metrics GH-8347
* ui: Add refresh Namespace list on the Namespace dropdown, and redesign of Namespace dropdown menu GH-8442
* ui: Update transit actions to codeblocks and automatically encode plaintext unless indicated GH-8462
* ui: Display the results of transit key actions in a modal window GH-8462
* ui: Transit key version styling updates and ability to copy key from dropdown GH-8480


* agent: Fix issue where TLS options are ignored for agent template feature GH-7889
* auth/jwt: Use lower case role names for default_role to match the role case convention GH-100
* auth/ldap: Fix a bug where the UPNDOMAIN parameter was wrongly used to lookup the group membership of the given user GH-6325
* cli: Support autocompletion for nested mounts GH-8303
* cli: Fix CLI namespace autocompletion GH-8315
* identity: Fix incorrect caching of identity token JWKS responses GH-8412
* metrics/stackdriver: Fix issue that prevents the stackdriver metrics library to create unnecessary stackdriver descriptors GH-8073
* replication: Fix issue causing cubbyholes in namespaces on performance secondaries to not work.
* seal (enterprise): Fix seal migration when transactional seal wrap backend is in use.
* secrets/database/influxdb: Fix potential panic if connection to the InfluxDB database cannot be established GH-8282
* secrets/database/mysql: Ensures default static credential rotation statements are used GH-8240
* secrets/database/mysql: Fix inconsistent query parameter names: name or username for different queries. Now it allows for either for backwards compatibility GH-8240
* secrets/database/postgres: Fix inconsistent query parameter names: name or username for different queries. Now it allows for either for backwards compatibility GH-8240
* secrets/pki: Support FQDNs in DNS Name GH-8288
* storage/raft: Allow seal migration to be performed on Vault clusters using raft storage GH-8103
* telemetry: Prometheus requests on standby nodes will now return an error instead of forwarding the request to the active node GH-8280
* ui: Fix broken popup menu on the transit secrets list page GH-8348
* ui: Update headless Chrome flag to fix yarn run test:oss GH-8035
* ui: Update CLI to accept empty strings as param value to reset previously-set values
* ui: Fix bug where error states don't clear when moving between action tabs on Transit GH-8354

## Previous Releases
For more information on previous releases, check out the changelog on GitHub.

This package has no dependencies.

Discussion for the Vault Package

Ground Rules:

  • This discussion is only about Vault and the Vault package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Vault, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus