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:

159,151

Downloads of v 1.7.0:

1,557

Last Update:

06 Apr 2021

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

vault hashicorp

Vault

This is not the latest version of Vault available.

  • 1
  • 2
  • 3

1.7.0 | Updated: 06 Apr 2021

Downloads:

159,151

Downloads of v 1.7.0:

1,557

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Vault 1.7.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

Details

Scan Testing Successful:

No detections found in any package files

Details
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:

NOTE

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

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


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 https://community.chocolatey.org/api/v2/. 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.7.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.7.0'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install vault
  win_chocolatey:
    name: vault
    version: '1.7.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


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

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller vault
{
    Name     = "vault"
    Version  = "1.7.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


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

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

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 06 Apr 2021.

Description

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.


tools\chocolateyInstall.ps1
$packageArgs = @{
  PackageName         = "vault"
  Url                 = "https://releases.hashicorp.com/vault/$($version)/vault_$($version)_windows_386.zip"
  UnzipLocation       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
  Url64               = "https://releases.hashicorp.com/vault/$($version)/vault_$($version)_windows_amd64.zip"
  Checksum            = '00f5ebf7660ff93013cfb7c1d904e0fb7feb909cdf22b9fafd78d058b6898c52'
  ChecksumType        = 'sha256'
  Checksum64          = 'b192e31e2c0ddc001ca39b25fb4b3c99e916f41e7dc2713ab1b542ce7304bf37'
  version             = '1.7.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.2 1951 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 1562 Friday, June 9, 2023 Approved
Vault 1.13.2 6988 Thursday, April 27, 2023 Approved
Vault 1.13.1 4218 Thursday, March 30, 2023 Approved
Vault 1.13.0 1511 Tuesday, March 7, 2023 Approved
Vault 1.12.3 2108 Thursday, February 23, 2023 Approved
Vault 1.12.2 5869 Saturday, December 17, 2022 Approved
Vault 1.11.1 18532 Wednesday, July 27, 2022 Approved
Vault 1.11.0 2525 Tuesday, June 21, 2022 Approved
Vault 1.10.4 456 Friday, June 17, 2022 Approved
Vault 1.10.3 3132 Friday, May 13, 2022 Approved
Vault 1.10.2 45 Friday, May 13, 2022 Approved
Vault 1.10.1 1508 Monday, April 25, 2022 Approved
Vault 1.10.0 2287 Friday, March 25, 2022 Approved
Vault 1.9.4 1346 Wednesday, March 9, 2022 Approved
Vault 1.9.3 2291 Monday, January 31, 2022 Approved
Vault 1.9.2 1932 Wednesday, December 22, 2021 Approved
Vault 1.9.1 1079 Tuesday, December 14, 2021 Approved
Vault 1.9.0 1573 Tuesday, November 23, 2021 Approved
Vault 1.8.5 72 Tuesday, November 23, 2021 Approved
Vault 1.8.4 3064 Friday, October 8, 2021 Approved
Vault 1.8.3 667 Friday, October 1, 2021 Approved
Vault 1.8.2 609 Thursday, September 30, 2021 Approved
Vault 1.8.1 141 Thursday, September 30, 2021 Approved
Vault 1.8.0 3301 Thursday, July 29, 2021 Approved
Vault 1.7.3 2481 Thursday, June 17, 2021 Approved
Vault 1.7.2 1936 Friday, May 21, 2021 Approved
Vault 1.7.1 1527 Monday, April 26, 2021 Approved
Vault 1.7.0 1557 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 5304 Friday, October 23, 2020 Approved
Vault 1.5.4 21838 Thursday, October 22, 2020 Approved
Vault 1.5.3 575 Thursday, October 22, 2020 Approved
Vault 1.5.2 2298 Wednesday, August 26, 2020 Approved
Vault 1.5.0 1645 Wednesday, July 22, 2020 Approved
Vault 1.4.3 875 Friday, July 3, 2020 Approved
Vault 1.4.1 1726 Monday, May 4, 2020 Approved
Vault 1.4.0 1370 Thursday, April 9, 2020 Approved
Vault 1.3.4 207 Wednesday, April 8, 2020 Approved
Vault 1.3.3 900 Monday, March 9, 2020 Approved
Vault 1.3.2 1469 Friday, January 24, 2020 Approved
Vault 1.3.1 1615 Friday, December 20, 2019 Approved
Vault 1.3.0 484 Wednesday, December 11, 2019 Approved
Vault 1.2.4 1013 Tuesday, November 12, 2019 Approved
Vault 1.2.3 3399 Monday, September 16, 2019 Approved
Vault 1.2.2 2343 Friday, August 16, 2019 Approved
Vault 1.2.1 154 Thursday, August 8, 2019 Approved
Vault 1.2.0 934 Wednesday, July 31, 2019 Approved
Vault 1.1.1 5052 Tuesday, April 16, 2019 Approved
Vault 1.1.0 1004 Tuesday, March 19, 2019 Approved
Vault 1.0.3 681 Friday, March 1, 2019 Approved
Vault 0.10.0 3093 Monday, April 16, 2018 Approved
Vault 0.10.0-rc1 289 Saturday, April 7, 2018 Approved
Vault 0.9.6 461 Saturday, April 7, 2018 Approved
Vault 0.9.5 261 Saturday, April 7, 2018 Approved
Vault 0.9.4 333 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 930 Wednesday, September 20, 2017 Approved
Vault 0.8.2 352 Wednesday, September 20, 2017 Approved
Vault 0.8.1 429 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 401 Wednesday, June 7, 2017 Approved
Vault 0.7.1 369 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 510 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 459 Tuesday, August 30, 2016 Approved

1.7.0

### 24 March 2021

CHANGES:

* go: Update Go version to 1.15.10

FEATURES:

* Aerospike Storage Backend: Add support for using Aerospike as a storage backend
* Autopilot for Integrated Storage: A set of features has been added to allow for automatic operator-friendly management of Vault servers. This is only applicable when integrated storage is in use.
* Dead Server Cleanup: Dead servers will periodically be cleaned up and removed from the Raft peer set, to prevent them from interfering with the quorum size and leader elections.
* Server Health Checking: An API has been added to track the state of servers, including their health.
* New Server Stabilization: When a new server is added to the cluster, there will be a waiting period where it must be healthy and stable for a certain amount of time before being promoted to a full, voting member.
* Tokenization Secrets Engine (Enterprise): The Tokenization Secrets Engine is now generally available. We have added support for MySQL, key rotation, and snapshot/restore.
* agent: Support for persisting the agent cache to disk
* auth/jwt: Adds max_age role parameter and auth_time claim validation.
* core (enterprise): X-Vault-Index and related headers can be used by clients to manage eventual consistency.
* kmip (enterprise): Use entropy augmentation to generate kmip certificates
* sdk: Private key generation in the certutil package now allows custom io.Readers to be used.
* secrets/aws: add IAM tagging support for iam_user roles
* secrets/database/cassandra: Add ability to customize dynamic usernames
* secrets/database/couchbase: Add ability to customize dynamic usernames
* secrets/database/mongodb: Add ability to customize dynamic usernames
* secrets/database/mssql: Add ability to customize dynamic usernames
* secrets/database/mysql: Add ability to customize dynamic usernames
* secrets/database/postgresql: Add ability to customize dynamic usernames
* secrets/db/snowflake: Added support for Snowflake to the Database Secret Engine
* secrets/keymgmt (enterprise): Adds beta support for distributing and managing keys in AWS KMS.
* secrets/keymgmt (enterprise): Adds general availability for distributing and managing keys in Azure Key Vault.
* secrets/openldap: Added dynamic roles to OpenLDAP similar to the combined database engine
* secrets/terraform: New secret engine for managing Terraform Cloud API tokens
* ui: Adds check for feature flag on application, and updates namespace toolbar on login if present
* ui: Adds the wizard to the Database Secret Engine
* ui: Database secrets engine, supporting MongoDB only

IMPROVEMENTS:

* agent: Add template-retry stanza to agent config.
* agent: Agent can now run as a Windows service.
* agent: Better concurrent request handling on identical requests proxied through Agent.
* agent: Route templating server through cache when persistent cache is enabled.
* agent: change auto-auth to preload an existing token on start
* auth/ldap: Improve consistency in error messages
* auth/okta: Adds support for Okta Verify TOTP MFA.
* changelog: Add dependencies listed in dependencies/2-25-21
* command/debug: Now collects logs (at level trace) as a periodic output.
* core (enterprise): "vault status" command works when a namespace is set.
* core (enterprise): Update Trial Enterprise license from 30 minutes to 6 hours
* core/metrics: Added "vault operator usage" command.
* core/metrics: New telemetry metrics reporting lease expirations by time interval and namespace
* core: Added active since timestamp to the status output of active nodes.
* core: Check audit device with a test message before adding it.
* core: Track barrier encryption count and automatically rotate after a large number of operations or on a schedule
* core: add metrics for active entity count
* core: add partial month client count api
* core: dev mode listener allows unauthenticated sys/metrics requests
* core: reduce memory used by leases
* secrets/gcp: Truncate ServiceAccount display names longer than 100 characters.
* storage/raft (enterprise): Listing of peers is now allowed on DR secondary
cluster nodes, as an update operation that takes in DR operation token for
authenticating the request.
* transform (enterprise): Improve FPE transformation performance
* transform (enterprise): Use transactions with batch tokenization operations for improved performance
* ui: Clarify language on usage metrics page empty state
* ui: Customize MongoDB input fields on Database Secrets Engine
* ui: Upgrade Ember-cli from 3.8 to 3.22.
* ui: Upgrade Storybook from 5.3.19 to 6.1.17.
* ui: Upgrade date-fns from 1.3.0 to 2.16.1.
* ui: Upgrade dependencies to resolve potential JS vulnerabilities
* ui: better errors on Database secrets engine role create

BUG FIXES:

* agent: Only set the namespace if the VAULT_NAMESPACE env var isn't present
* agent: Set TokenParent correctly in the Index to be cached.
* agent: Set namespace for template server in agent.
* api/sys/config/ui: Fixes issue where multiple UI custom header values are ignored and only the first given value is used
* api: Fixes CORS API methods that were outdated and invalid
* auth/jwt: Fixes bound_claims validation for provider-specific group and user info fetching.
* auth/jwt: Fixes an issue where JWT verification keys weren't updated after a jwks_url change.
* auth/jwt: Fixes an issue where jwt_supported_algs were not being validated for JWT auth using
jwks_url and jwt_validation_pubkeys.
* auth/oci: Fixes alias name to use the role name, and not the literal string name
* consul-template: Update consul-template vendor version and associated dependencies to master,
* core (enterprise): Limit entropy augmentation during token generation to root tokens.
* core (enterprise): Vault EGP policies attached to path * were not correctly scoped to the namespace.
* core/identity: Fix deadlock in entity merge endpoint.
* core: Avoid deadlocks by ensuring that if grabLockOrStop returns stopped=true, the lock will not be held.
* core: Avoid disclosing IP addresses in the errors of unauthenticated requests
* core: Fix client.Clone() to include the address
* core: Fix duplicate quotas on performance standby nodes.
* core: Fix rate limit resource quota migration from 1.5.x to 1.6.x by ensuring purgeInterval and
staleAge are set appropriately.
* core: Make all APIs that report init status consistent, and make them report
initialized=true when a Raft join is in progress.
* core: Make the response to an unauthenticated request to sys/internal endpoints consistent regardless of mount existence.
* core: Turn off case sensitivity for allowed entity alias check during token create operation.
* http: change max_request_size to be unlimited when the config value is less than 0
* license: Fix license caching issue that prevents new licenses to get picked up by the license manager
* metrics: Protect emitMetrics from panicking during post-seal
* quotas/rate-limit: Fix quotas enforcing old rate limit quota paths
* replication (enterprise): Fix bug with not starting merkle sync while requests are in progress
* secrets/database/influxdb: Fix issue where not all errors from InfluxDB were being handled
* secrets/database/mysql: Fixes issue where the DisplayName within generated usernames was the incorrect length
* secrets/database: Sanitize private_key field when reading database plugin config
* secrets/gcp: Fix issue with account and iam_policy roleset WALs not being removed after attempts when GCP project no longer exists
* secrets/transit: allow for null string to be used for optional parameters in encrypt and decrypt
* serviceregistration: Fix race during shutdown of Consul service registration.
* storage/raft (enterprise): Automated snapshots with Azure required specifying
azure_blob_environment, which should have had as a default AZUREPUBLICCLOUD.
* storage/raft (enterprise): Reading a non-existent auto snapshot config now returns 404.
* storage/raft (enterprise): The parameter aws_s3_server_kms_key was misnamed and
didn't work. Renamed to aws_s3_kms_key, and make it work so that when provided
the given key will be used to encrypt the snapshot using AWS KMS.
* transform (enterprise): Fix bug tokenization handling metadata on exportable stores
* transform (enterprise): Fix bug where tokenization store changes are persisted but don't take effect
* transform (enterprise): Fix transform configuration not handling stores parameter on the legacy path
* transform (enterprise): Make expiration timestamps human readable
* transform (enterprise): Return false for invalid tokens on the validate endpoint rather than returning an HTTP error
* ui: Add role from database connection automatically populates the database for new role
* ui: Fix bug in Transform secret engine when a new role is added and then removed from a transformation
* ui: Fix bug that double encodes secret route when there are spaces in the path and makes you unable to view the version history.
* ui: Fix expected response from feature-flags endpoint
* ui: Fix footer URL linking to the correct version changelog.

## 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