open-vault/builtin/logical/pki
Alexander Scheel 630c6bf915
Add warning when generate_lease=no_store=true when writing PKI role (#14292)
* Add warning when generate_lease=no_store=true

When no_store=true, the value of generate_lease is ignored completely
(and set to false). This means that when generate_lease=true is
specified by the caller of the API, it is silently swallowed. While
changing the behavior could break callers, setting a warning on the
response (changing from a 204->200 in the process) seems to make the
most sense.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add changelog entry

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-02-28 13:55:12 -05:00
..
cmd/pki
backend.go
backend_test.go
ca_test.go
ca_util.go
cert_util.go
cert_util_test.go
crl_test.go
crl_util.go
fields.go
managed_key_util.go
path_config_ca.go
path_config_crl.go
path_config_urls.go
path_fetch.go
path_intermediate.go
path_issue_sign.go
path_revoke.go
path_roles.go
path_roles_test.go
path_root.go
path_tidy.go
secret_certs.go
util.go