a3dfde5cec
* conversion stage 1 * correct image paths * add sidebar title to frontmatter * docs/concepts and docs/internals * configuration docs and multi-level nav corrections * commands docs, index file corrections, small item nav correction * secrets converted * auth * add enterprise and agent docs * add extra dividers * secret section, wip * correct sidebar nav title in front matter for apu section, start working on api items * auth and backend, a couple directory structure fixes * remove old docs * intro side nav converted * reset sidebar styles, add hashi-global-styles * basic styling for nav sidebar * folder collapse functionality * patch up border length on last list item * wip restructure for content component * taking middleman hacking to the extreme, but its working * small css fix * add new mega nav * fix a small mistake from the rebase * fix a content resolution issue with middleman * title a couple missing docs pages * update deps, remove temporary markup * community page * footer to layout, community page css adjustments * wip downloads page * deps updated, downloads page ready * fix community page * homepage progress * add components, adjust spacing * docs and api landing pages * a bunch of fixes, add docs and api landing pages * update deps, add deploy scripts * add readme note * update deploy command * overview page, index title * Update doc fields Note this still requires the link fields to be populated -- this is solely related to copy on the description fields * Update api_basic_categories.yml Updated API category descriptions. Like the document descriptions you'll still need to update the link headers to the proper target pages. * Add bottom hero, adjust CSS, responsive friendly * Add mega nav title * homepage adjustments, asset boosts * small fixes * docs page styling fixes * meganav title * some category link corrections * Update API categories page updated to reflect the second level headings for api categories * Update docs_detailed_categories.yml Updated to represent the existing docs structure * Update docs_detailed_categories.yml * docs page data fix, extra operator page remove * api data fix * fix makefile * update deps, add product subnav to docs and api landing pages * Rearrange non-hands-on guides to _docs_ Since there is no place for these on learn.hashicorp, we'll put them under _docs_. * WIP Redirects for guides to docs * content and component updates * font weight hotfix, redirects * fix guides and intro sidenavs * fix some redirects * small style tweaks * Redirects to learn and internally to docs * Remove redirect to `/vault` * Remove `.html` from destination on redirects * fix incorrect index redirect * final touchups * address feedback from michell for makefile and product downloads
124 lines
5.4 KiB
Markdown
124 lines
5.4 KiB
Markdown
---
|
|
layout: "docs"
|
|
page_title: "Upgrading to Vault 0.9.0 - Guides"
|
|
sidebar_title: "Upgrade to 0.9.0"
|
|
sidebar_current: "docs-upgrading-to-0.9.0"
|
|
description: |-
|
|
This page contains the list of deprecations and important or breaking changes
|
|
for Vault 0.9.0. Please read it carefully.
|
|
---
|
|
|
|
# Overview
|
|
|
|
This page contains the list of deprecations and important or breaking changes
|
|
for Vault 0.9.0 compared to the most recent release. Please read it carefully.
|
|
|
|
### PKI Root Generation (Since 0.8.1)
|
|
|
|
Calling [`pki/root/generate`][generate-root] when a CA cert/key already exists will now return a
|
|
`204` instead of overwriting an existing root. If you want to recreate the
|
|
root, first run a delete operation on `pki/root` (requires `sudo` capability),
|
|
then generate it again.
|
|
|
|
### Token Period in AWS IAM Auth (Since 0.8.2)
|
|
|
|
In prior versions of Vault, if authenticating via AWS IAM and requesting a
|
|
periodic token, the period was not properly respected. This could lead to
|
|
tokens expiring unexpectedly, or a token lifetime being longer than expected.
|
|
Upon token renewal with Vault 0.8.2 the period will be properly enforced.
|
|
|
|
### SSH CLI Parameters (Since 0.8.2)
|
|
|
|
`vault ssh` users should supply `-mode` and `-role` to reduce the number of API
|
|
calls. A future version of Vault will mark these optional values are required.
|
|
Failure to supply `-mode` or `-role` will result in a warning.
|
|
|
|
### Vault Plugin Init (Since 0.8.2)
|
|
|
|
Vault plugins will first briefly run a restricted version of the plugin to
|
|
fetch metadata, and then lazy-load the plugin on first request to prevent
|
|
crash/deadlock of Vault during the unseal process. Plugins will need to be
|
|
built with the latest changes in order for them to run properly.
|
|
|
|
### Policy Input Format Standardization (Since 0.8.3)
|
|
|
|
For all built-in authentication backends, policies can now be specified as a
|
|
comma-delimited string or an array if using JSON as API input; on read,
|
|
policies will be returned as an array; and the `default` policy will not be
|
|
forcefully added to policies saved in configurations. Please note that the
|
|
`default` policy will continue to be added to generated tokens, however, rather
|
|
than backends adding `default` to the given set of input policies (in some
|
|
cases, and not in others), the stored set will reflect the user-specified set.
|
|
|
|
### PKI `sign-self-issued` modifies `Issuer` in generated certificates (Since 0.8.3)
|
|
|
|
In 0.8.2 the endpoint would not modify the Issuer in the generated certificate,
|
|
leaving the output self-issued. Although theoretically valid, in practice
|
|
crypto stacks were unhappy validating paths containing such certs. As a result,
|
|
`sign-self-issued` now encodes the signing CA's Subject DN into the Issuer DN
|
|
of the generated certificate.
|
|
|
|
### `sys/raw` requires enabling (Since 0.8.3)
|
|
|
|
While the `sys/raw` endpoint can be extremely useful in break-glass or support
|
|
scenarios, it is also extremely dangerous. As of now, a configuration file
|
|
option `raw_storage_endpoint` must be set in order to enable this API endpoint.
|
|
Once set, the available functionality has been enhanced slightly; it now
|
|
supports listing and decrypting most of Vault's core data structures, except
|
|
for the encryption keyring itself.
|
|
|
|
### `generic` is now `kv` (Since 0.8.3)
|
|
|
|
To better reflect its actual use, the `generic` backend is now `kv`. Using
|
|
`generic` will still work for backwards compatibility.
|
|
|
|
### HSM Users Need to Specify New Config Options (In 0.9)
|
|
|
|
When using Vault with an HSM, a new parameter is required: `hmac_key_label`.
|
|
This performs a similar function to `key_label` but for the HMAC key Vault will
|
|
use. Vault will generate a suitable key if this value is specified and
|
|
`generate_key` is set true. See [the seal configuration page][pkcs11-seal] for
|
|
more information.
|
|
|
|
### API HTTP client behavior (In 0.9)
|
|
|
|
When calling `NewClient` the API no longer modifies the provided
|
|
client/transport. In particular this means it will no longer enable redirection
|
|
limiting and HTTP/2 support on custom clients. It is suggested that if you want
|
|
to make changes to an HTTP client that you use one created by `DefaultConfig`
|
|
as a starting point.
|
|
|
|
### AWS EC2 client nonce behavior (In 0.9)
|
|
|
|
The client nonce generated by the backend that gets returned along with the
|
|
authentication response will be audited in plaintext. If this is undesired, the
|
|
clients can choose to supply a custom nonce to the login endpoint. The custom
|
|
nonce set by the client will from now on, not be returned back with the
|
|
authentication response, and hence not audit logged.
|
|
|
|
### AWS Auth role options (In 0.9)
|
|
|
|
The API will now error when trying to create or update a role with the
|
|
mutually-exclusive options `disallow_reauthentication` and
|
|
`allow_instance_migration`.
|
|
|
|
### SSH CA role read changes (In 0.9)
|
|
|
|
When reading back a role from the `ssh` backend, the TTL/max TTL values will
|
|
now be an integer number of seconds rather than a string. This better matches
|
|
the API elsewhere in Vault.
|
|
|
|
### SSH role list changes (In 0.9)
|
|
|
|
When listing roles from the `ssh` backend via the API, the response data will
|
|
additionally return a `key_info` map that will contain a map of each key with a
|
|
corresponding object containing the `key_type`.
|
|
|
|
### More granularity in audit logs (In 0.9)
|
|
|
|
Audit request and response entries are still in RFC3339 format but now have a
|
|
granularity of nanoseconds.
|
|
|
|
[generate-root]: https://www.vaultproject.io/api/secret/pki/index.html#generate-root
|
|
[pkcs11-seal]: https://www.vaultproject.io/docs/configuration/seal/pkcs11.html
|