open-vault/website/source/guides/upgrading/upgrade-to-0.6.0.html.md

56 lines
2.2 KiB
Markdown
Raw Normal View History

2016-02-25 02:12:59 +00:00
---
layout: "guides"
page_title: "Upgrading to Vault 0.6.0 - Guides"
sidebar_current: "guides-upgrading-to-0.6.0"
2016-02-25 02:12:59 +00:00
description: |-
This page contains the list of breaking changes for Vault 0.6. Please read it
carefully.
2016-02-25 02:12:59 +00:00
---
# Overview
2017-03-15 16:34:11 +00:00
This page contains the list of breaking changes for Vault 0.6 compared to the
previous release. Please read it carefully.
## PKI Backend Does Not Issue Leases for CA Certificates
When a token expires, it revokes all leases associated with it. This means that
long-lived CA certs need correspondingly long-lived tokens, something that is
easy to forget, resulting in an unintended revocation of the CA certificate
when the token expires. To prevent this, root and intermediate CA certs no
longer have associated leases. To revoke these certificates, use the
`pki/revoke` endpoint.
CA certificates that have already been issued and acquired leases will report
to the lease manager that revocation was successful, but will not actually be
revoked and placed onto the CRL.
2016-04-01 14:11:32 +00:00
## The `auth/token/revoke-prefix` Endpoint Has Been Removed
As part of addressing a minor security issue, this endpoint has been removed in
favor of using `sys/revoke-prefix` for prefix-based revocation of both tokens
and secrets leases.
## Go API Uses `json.Number` For Decoding
When using the Go API, it now calls `UseNumber()` on the decoder object. As a
result, rather than always decode as a `float64`, numbers are returned as a
`json.Number`, where they can be converted, with proper error checking, to
`int64`, `float64`, or simply used as a `string` value. This fixes some display
errors where numbers were being decoded as `float64` and printed in scientific
notation.
## List Operations Return `404` On No Keys Found
Previously, list operations on an endpoint with no keys found would return an
empty response object. Now, a `404` will be returned instead.
## Consul TTL Checks Automatically Registered
If using the Consul HA storage backend, Vault will now automatically register
itself as the `vault` service and perform its own health checks/lifecycle
status management. This behavior can be adjusted or turned off in Vault's
configuration; see the
2017-03-17 18:27:20 +00:00
[documentation](/docs/configuration/index.html#check_timeout)
for details.