2022-02-18 15:44:01 +00:00
---
layout: docs
page_title: Upgrading to Vault 1.10.x - Guides
description: |-
This page contains the list of deprecations and important or breaking changes
for Vault 1.10.x. Please read it carefully.
---
# Overview
This page contains the list of deprecations and important or breaking changes
for Vault 1.10.x compared to 1.9. Please read it carefully.
2023-07-18 21:07:55 +00:00
## SSH secrets engine
2022-02-18 15:44:01 +00:00
The new default value of `algorithm_signer` for SSH CA roles has been changed
to `rsa-sha2-256` from `ssh-rsa`. Existing roles will be migrated to
explicitly specify the `algorithm_signer=ssh-rsa` for RSA keys if they used
the implicit (empty) default, but newly created roles will use the new default
value (preferring a literal `default` which presently uses `rsa-sha2-256`).
2022-02-22 21:48:04 +00:00
2022-03-24 19:28:21 +00:00
## Etcd v2 API no longer supported
2022-02-22 21:48:04 +00:00
Support for the Etcd v2 API is removed in Vault 1.10. The Etcd v2 API
was deprecated with the release of [Etcd v3.5](https://etcd.io/blog/2021/announcing-etcd-3.5/),
and will be decommissioned in a forthcoming Etcd release.
Users of the `etcd` storage backend with the etcdv2 API that are
2023-01-26 00:12:15 +00:00
upgrading to Vault 1.10 should [migrate](/vault/docs/commands/operator/migrate)
2022-02-22 21:48:04 +00:00
Vault storage to an Etcd v3 cluster prior to upgrading to Vault 1.10.
All storage migrations should have
2023-01-26 00:12:15 +00:00
[backups](/vault/docs/concepts/storage#backing-up-vault-s-persisted-data)
2022-02-22 21:48:04 +00:00
taken prior to migration.
2022-03-16 17:20:12 +00:00
2023-07-18 21:07:55 +00:00
## OTP generation process
2022-03-16 17:20:12 +00:00
2022-03-24 19:28:21 +00:00
Customers passing in OTPs during the process of generating root tokens must modify
2022-03-17 19:08:27 +00:00
the OTP generation to include an additional 2 characters before upgrading so that the
OTP can be xor-ed with the encoded root token. This change was implemented as a result
of the change in the prefix from hvs. to s. for service tokens.
2022-03-16 17:20:12 +00:00
2022-06-13 15:48:53 +00:00
## New error response for requests to perf standbys lagging behind active node
2022-06-02 20:16:28 +00:00
2023-01-26 00:12:15 +00:00
The introduction of [Server Side Consistent Tokens](/vault/docs/faq/ssct) means that
2022-06-02 20:16:28 +00:00
when issuing a request to a perf standby right after having obtained a token (e.g.
via login), if the token and its lease haven't yet been replicated to the perf
standby, an HTTP 412 error will be returned. Before 1.10.0 this typically would've
resulted in a 400, 403, or 50x response.
2023-07-18 21:07:55 +00:00
## Token format change
2022-03-16 17:20:12 +00:00
Token prefixes were updated to be more easily identifiable.
2022-03-17 19:08:27 +00:00
- Service tokens previously started with s. now start with hvs.
- Batch tokens previously started with b. now start with hvb.
- Recovery tokens previously started with r. now start with hvr.
2022-03-16 17:20:12 +00:00
2022-03-17 19:08:27 +00:00
Additionally, non-root service tokens are now longer than before. Previously, service tokens
were 26 characters; they now have a minimum of 95 characters. However, existing tokens will
still work.
2023-01-26 00:12:15 +00:00
Refer to the [Server Side Consistent Token FAQ](/vault/docs/faq/ssct) for details.
2022-03-23 17:22:57 +00:00
2023-07-18 21:07:55 +00:00
## OIDC provider built-in resources
2022-03-23 17:22:57 +00:00
2023-01-26 00:12:15 +00:00
In Vault 1.9, the [OIDC identity provider](/vault/docs/secrets/identity/oidc-provider) feature
2022-03-23 17:22:57 +00:00
was released as a tech preview. In Vault 1.10, built-in resources were introduced to the
OIDC provider system to reduce configuration steps and enhance usability.
The following built-in resources are included in each Vault namespace starting with Vault
1.10:
2022-03-24 17:09:03 +00:00
- A `default` OIDC provider that's usable by all client applications
- A `default` key for signing and verification of ID tokens
- An `allow_all` assignment which authorizes all Vault entities to authenticate via a
client application
2022-03-23 17:22:57 +00:00
2023-01-26 00:12:15 +00:00
If you created an [OIDC provider](/vault/api-docs/secret/identity/oidc-provider#create-or-update-a-provider)
with the name `default`, [key](/vault/api-docs/secret/identity/tokens#create-a-named-key) with the
name `default`, or [assignment](/vault/api-docs/secret/identity/oidc-provider#create-or-update-an-assignment)
2022-03-24 17:09:03 +00:00
with the name `allow_all` using the Vault 1.9 tech preview, the installation of these built-in
resources will be skipped. We _strongly recommend_ that you delete any existing resources
that have naming collisions before upgrading to Vault 1.10. Failing to delete resources with
naming collisions could result unexpected default behavior. Additionally, we recommend reading
2023-01-26 00:12:15 +00:00
the corresponding details in the OIDC provider [concepts](/vault/docs/concepts/oidc-provider) document
2022-03-23 17:22:57 +00:00
to understand how the built-in resources are used in the system.
2022-03-24 04:48:23 +00:00
2023-07-18 21:07:55 +00:00
## Known issues
2022-03-24 04:48:23 +00:00
2022-08-03 13:42:51 +00:00
@include 'raft-retry-join-failure.mdx'
2022-04-27 20:26:45 +00:00
@include 'raft-panic-old-tls-key.mdx'
2023-03-15 14:42:02 +00:00
@include 'tokenization-rotation-persistence.mdx'
2023-07-18 21:07:55 +00:00
### Errors returned by perf standbys lagging behind active node with consul storage
2022-06-13 15:48:53 +00:00
2023-01-26 00:12:15 +00:00
The introduction of [Server Side Consistent Tokens](/vault/docs/faq/ssct) means that
2022-06-13 15:48:53 +00:00
when issuing a request to a perf standby right after having obtained a token (e.g.
via login), if the token and its lease haven't yet been replicated to the perf
standby, an HTTP 412 error will be returned. Before 1.10.0 this wouldn't have
resulted in the client seeing errors with Consul storage.
2022-03-24 04:48:23 +00:00
### Single Vault follower restart causes election even with established quorum
2023-01-26 00:12:15 +00:00
We now support Server Side Consistent Tokens (See [Replication](/vault/docs/configuration/replication) and [Vault Eventual Consistency](/vault/docs/enterprise/consistency)), which introduces a new token format that can only be used on nodes of 1.10 or higher version. This new format is enabled by default upon upgrading to the new version. Old format tokens can be read by Vault 1.10, but the new format Vault 1.10 tokens cannot be read by older Vault versions.
2022-03-24 04:48:23 +00:00
2023-01-26 00:12:15 +00:00
For more details, see the [Server Side Consistent Tokens FAQ](/vault/docs/faq/ssct).
2022-03-24 04:48:23 +00:00
2023-08-15 18:44:45 +00:00
Since service tokens are always created on the leader, as long as the leader is not upgraded before performance standbys, service tokens will be of the old format and still be usable during the upgrade process. However, the usual upgrade process we recommend can't be relied upon to always upgrade the leader last. Due to this known [issue](https://github.com/hashicorp/vault/issues/14153), a Vault cluster using Integrated Storage may result in a leader not being upgraded last, and this can trigger a re-election. This re-election can cause the upgraded node to become the leader, resulting in the newly created tokens on the leader to be unusable on nodes that have not yet been upgraded. Note that this issue does not impact Vault Community Edition users.
2022-03-24 04:48:23 +00:00
2022-04-25 16:55:58 +00:00
We will have a fix for this issue in Vault 1.10.3. Until this issue is fixed, you may be at risk of having performance standbys unable to service requests until all nodes are upgraded. We recommended that you plan for a maintenance window to upgrade.
2022-03-24 04:48:23 +00:00
### Limited policy shows unhelpful message in UI after mounting a secret engine
When a user has a policy that allows creating a secret engine but not reading it, after successful creation, the user sees a message n is undefined instead of a permissions error. We will have a fix for this issue in an upcoming minor release.
2023-07-18 21:07:55 +00:00
### Adding/Modifying Duo MFA method for enterprise MFA triggers a panic error
2022-03-24 04:48:23 +00:00
When adding or modifying a Duo MFA method for step-up Enterprise MFA using the `sys/mfa/method/duo` endpoint, a panic gets triggered due to a missing schema field. We will have a fix for this in Vault 1.10.1. Until this issue is fixed, avoid making any changes to your Duo configuration if you are upgrading Vault to v1.10.0.
2022-03-24 19:28:21 +00:00
### Sign in to UI using OIDC auth method results in an error
Signing in to the Vault UI using an OIDC auth mount listed in the "tabs" of the form will result
in the following error: "Authentication failed: role with oidc role_type is not allowed".
2023-01-26 00:12:15 +00:00
The auth mounts listed in the "tabs" of the form are those that have [listing_visibility](/vault/api-docs/system/auth#listing_visibility-1)
2022-03-24 19:28:21 +00:00
set to `unauth`.
There is a workaround for this error that will allow you to sign in to Vault using the OIDC
auth method. Select the "Other" tab instead of selecting the specific OIDC auth mount tab.
From there, select "OIDC" from the "Method" select box and proceed to sign in to Vault.
2022-05-04 13:56:37 +00:00
### Login MFA not enforced after restart
A serious bug was identified in the Login MFA feature introduced in 1.10.0:
[#15108](https://github.com/hashicorp/vault/issues/15108).
Upon restart, Vault is not populating its in-memory MFA data structures based
on what is found in storage. Although Vault is persisting to storage MFA methods
and login enforcement configs populated via /identity/mfa, they will effectively
disappear after the process is restarted.
We plan to issue a new 1.10.3 release to address this soon. We recommend delaying
any rollouts of Login MFA until that release.