open-vault/builtin/logical/ssh
Alexander Scheel 5d17f9b142
Allow cleanup ssh dynamic keys host keys (#18939)
* Add ability to clean up host keys for dynamic keys

This adds a new endpoint, tidy/dynamic-keys that removes any stale host
keys still present on the mount. This does not clean up any pending
dynamic key leases and will not remove these keys from systems with
authorized hosts entries created by Vault.

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

* Add documentation

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

* Add changelog entry

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

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-02-01 15:09:16 +00:00
..
cmd/ssh Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
backend.go Allow cleanup ssh dynamic keys host keys (#18939) 2023-02-01 15:09:16 +00:00
backend_test.go Allow cleanup ssh dynamic keys host keys (#18939) 2023-02-01 15:09:16 +00:00
path_cleanup_dynamic_host_keys.go Allow cleanup ssh dynamic keys host keys (#18939) 2023-02-01 15:09:16 +00:00
path_config_ca.go Clarify key bits for ssh (#18854) 2023-01-26 10:14:05 -05:00
path_config_ca_test.go not_before_duration added to SSH (#15250) 2022-05-12 08:50:40 -04:00
path_config_zeroaddress.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
path_creds_create.go Remove dynamic keys from SSH Secrets Engine (#18874) 2023-01-31 16:02:22 -05:00
path_fetch.go Remove dynamic keys from SSH Secrets Engine (#18874) 2023-01-31 16:02:22 -05:00
path_issue.go ssh: Do not convert errors into logical.ErrorResponse in issue path (#15929) 2022-06-10 11:21:29 -04:00
path_issue_sign.go Evaluate ssh validprincipals user template before splitting (#16622) 2022-10-13 17:34:36 -05:00
path_lookup.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_roles.go Remove dynamic keys from SSH Secrets Engine (#18874) 2023-01-31 16:02:22 -05:00
path_sign.go ssh: Do not convert errors into logical.ErrorResponse in issue path (#15929) 2022-06-10 11:21:29 -04:00
path_verify.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
secret_otp.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
util.go Remove dynamic keys from SSH Secrets Engine (#18874) 2023-01-31 16:02:22 -05:00