vault/website/content/api-docs/secret
Alexander Scheel e82cc49071
Update transit public keys for Ed25519 support (#20727)
* Refine documentation for public_key

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

* Support additional key types in importing version

This originally left off the custom support for Ed25519 and RSA-PSS
formatted keys that we've added manually.

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

* Add support for Ed25519 keys

Here, we prevent importing public-key only keys with derived Ed25519
keys. Notably, we still allow import of derived Ed25519 keys via private
key method, though this is a touch weird: this private key must have
been packaged in an Ed25519 format (and parseable through Go as such),
even though it is (strictly) an HKDF key and isn't ever used for Ed25519.

Outside of this, importing non-derived Ed25519 keys works as expected.

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

* Add public-key only export method to Transit

This allows the existing endpoints to retain private-key only, including
empty strings for versions which lack private keys. On the public-key
endpoint, all versions will have key material returned.

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

* Update tests for exporting via public-key interface

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

* Add public-key export option to docs

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

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-05-24 11:26:35 -04:00
..
databases changing chouchbase host variable (#19812) 2023-04-24 13:56:56 +00:00
identity Change headings to h2 (#19402) 2023-03-07 15:48:51 -08:00
key-management docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
kv Update the HTTP verb for consistency (#20056) 2023-04-11 13:35:06 -07:00
ad.mdx sdk/ldaputil: add connection_timeout configurable (#20144) 2023-04-13 12:43:28 -04:00
alicloud.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
aws.mdx Update username template description for AWS (#19690) 2023-03-23 19:56:55 -07:00
azure.mdx secrets/azure: changes permission recommendation to be minimally permissive (#18937) 2023-02-01 11:07:57 -08:00
cassandra.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
consul.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
cubbyhole.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
gcp.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
gcpkms.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
index.mdx feat(website): migrates nav data format and updates docs pages (#11242) 2021-04-06 13:49:04 -04:00
kmip.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
kubernetes.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
ldap.mdx sdk/ldaputil: add connection_timeout configurable (#20144) 2023-04-13 12:43:28 -04:00
mongodbatlas.mdx add missing mongodb atlas fields to the docs (#20207) 2023-04-17 14:10:07 -07:00
nomad.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
pki.mdx remove paragraph (#20709) 2023-05-22 16:14:17 -04:00
rabbitmq.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
ssh.mdx Update Create Role heading to Create/Update Role (#20000) 2023-04-06 11:42:22 +01:00
terraform.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
totp.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
transform.mdx Document the 'convergent' tokenization transform option (#19249) 2023-02-17 13:15:40 -06:00
transit.mdx Update transit public keys for Ed25519 support (#20727) 2023-05-24 11:26:35 -04:00