2016-07-18 18:10:55 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: Upgrading to Vault 0.6.1 - Guides
|
2016-07-18 18:10:55 +00:00
|
|
|
description: |-
|
2017-03-08 22:33:58 +00:00
|
|
|
This page contains the list of breaking changes for Vault 0.6.1. Please read
|
|
|
|
it carefully.
|
2016-07-18 18:10:55 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Overview
|
|
|
|
|
|
|
|
This page contains the list of breaking changes for Vault 0.6.1. Please read it
|
|
|
|
carefully.
|
|
|
|
|
2016-08-15 13:42:42 +00:00
|
|
|
## Standby Nodes Must Be 0.6.1 As Well
|
|
|
|
|
|
|
|
Once an active node is running 0.6.1, only standby nodes running 0.6.1+ will be
|
|
|
|
able to form an HA cluster. If following our [general upgrade
|
2020-03-31 19:21:16 +00:00
|
|
|
instructions](/docs/upgrading) this will
|
2016-08-15 13:42:42 +00:00
|
|
|
not be an issue.
|
|
|
|
|
2016-08-18 16:10:23 +00:00
|
|
|
## Health Endpoint Status Code Changes
|
|
|
|
|
|
|
|
Prior to 0.6.1, the health endpoint would return a `500` (Internal Server
|
|
|
|
Error) for both a sealed and uninitialized state. In both states this was
|
|
|
|
confusing, since it was hard to tell, based on the status code, an actual
|
|
|
|
internal error from Vault from a Vault that was simply uninitialized or sealed,
|
|
|
|
not to mention differentiating between those two states.
|
|
|
|
|
|
|
|
In 0.6.1, a sealed Vault will return a `503` (Service Unavailable) status code.
|
|
|
|
As before, this can be adjusted with the `sealedcode` query parameter. An
|
|
|
|
uninitialized Vault will return a `501` (Not Implemented) status code. This can
|
|
|
|
be adjusted with the `uninitcode` query parameter.
|
|
|
|
|
|
|
|
This removes ambiguity/confusion and falls more in line with the intention of
|
|
|
|
each status code (including `500`).
|
|
|
|
|
2016-08-08 20:44:13 +00:00
|
|
|
## Root Token Creation Restrictions
|
|
|
|
|
|
|
|
Root tokens (tokens with the `root` policy) can no longer be created except by
|
2016-08-22 13:33:36 +00:00
|
|
|
another root token or the
|
2020-01-22 20:05:41 +00:00
|
|
|
[`generate-root`](/api/system/generate-root)
|
2016-08-22 13:33:36 +00:00
|
|
|
endpoint or CLI command.
|
2016-08-08 20:44:13 +00:00
|
|
|
|
2016-07-18 18:10:55 +00:00
|
|
|
## PKI Backend Certificates Will Contain Default Key Usages
|
|
|
|
|
|
|
|
Issued certificates from the `pki` backend against roles created or modified
|
|
|
|
after upgrading will contain a set of default key usages. This increases
|
|
|
|
compatibility with some software that requires strict adherence to RFCs, such
|
|
|
|
as OpenVPN.
|
|
|
|
|
|
|
|
This behavior is fully adjustable; see the [PKI backend
|
2020-01-22 20:05:41 +00:00
|
|
|
documentation](/docs/secrets/pki) for
|
2016-07-18 18:10:55 +00:00
|
|
|
details.
|
|
|
|
|
|
|
|
## DynamoDB Does Not Support HA By Default
|
|
|
|
|
|
|
|
If using DynamoDB and want to use HA support, you will need to explicitly
|
|
|
|
enable it in Vault's configuration; see the
|
2020-03-31 19:21:16 +00:00
|
|
|
[documentation](/docs/configuration#ha_storage)
|
2016-07-18 18:10:55 +00:00
|
|
|
for details.
|
|
|
|
|
|
|
|
If you are already using DynamoDB in an HA fashion and wish to keep doing so,
|
2020-01-18 00:18:09 +00:00
|
|
|
it is _very important_ that you set this option **before** upgrading your Vault
|
2016-07-18 18:10:55 +00:00
|
|
|
instances. Without doing so, each Vault instance will believe that it is
|
2016-08-22 13:33:36 +00:00
|
|
|
standalone and there could be consistency issues.
|
2016-07-25 13:07:52 +00:00
|
|
|
|
2017-09-13 01:48:52 +00:00
|
|
|
## LDAP Auth Method Forgets Bind Password and Insecure TLS Settings
|
2016-11-16 22:08:16 +00:00
|
|
|
|
|
|
|
Due to a bug, these two settings are forgotten if they have been configured in
|
|
|
|
the LDAP backend prior to 0.6.1. If you are using these settings with LDAP,
|
|
|
|
please be sure to re-submit your LDAP configuration to Vault after the upgrade,
|
|
|
|
so ensure that you have a valid token to do so before upgrading if you are
|
|
|
|
relying on LDAP authentication for permissions to modify the backend itself.
|
|
|
|
|
2017-09-13 01:48:52 +00:00
|
|
|
## LDAP Auth Method Does Not Search `memberOf`
|
2016-07-25 13:07:52 +00:00
|
|
|
|
|
|
|
The LDAP backend went from a model where all permutations of storing and
|
|
|
|
filtering groups were tried in all cases to one where specific filters are
|
|
|
|
defined by the administrator. This vastly increases overall directory
|
|
|
|
compatibility, especially with Active Directory when using nested groups, but
|
|
|
|
unfortunately has the side effect that `memberOf` is no longer searched for by
|
2017-03-06 21:10:09 +00:00
|
|
|
default, which is a breaking change for many existing setups.
|
2016-07-25 13:07:52 +00:00
|
|
|
|
|
|
|
`Scenario 2` in the [updated
|
2020-01-22 20:05:41 +00:00
|
|
|
documentation](/docs/auth/ldap) shows an
|
2016-08-19 14:31:31 +00:00
|
|
|
example of configuring the backend to query `memberOf`. It is recommended that
|
|
|
|
a test Vault server be set up and that successful authentication can be
|
|
|
|
performed using the new configuration before upgrading a primary or production
|
|
|
|
Vault instance.
|
2016-07-25 13:07:52 +00:00
|
|
|
|
|
|
|
In addition, if LDAP is relied upon for authentication, operators should ensure
|
|
|
|
that they have valid tokens with policies allowing modification of LDAP
|
|
|
|
parameters before upgrading, so that once an upgrade is performed, the new
|
|
|
|
configuration can be specified successfully.
|
2016-07-26 14:04:08 +00:00
|
|
|
|
|
|
|
## App-ID is Deprecated
|
|
|
|
|
2021-07-20 13:21:24 +00:00
|
|
|
With the addition of the new [AppRole
|
2020-01-22 20:05:41 +00:00
|
|
|
backend](/docs/auth/approle), App-ID is
|
2016-08-22 13:33:36 +00:00
|
|
|
deprecated. There are no current plans to remove it, but we encourage using
|
|
|
|
AppRole whenever possible, as it offers enhanced functionality and can
|
|
|
|
accommodate many more types of authentication paradigms. App-ID will receive
|
|
|
|
security-related fixes only.
|