CmdID / aws / aws transfer
aws transfer update-host-key
Updates the host key that's specified by the ServerId and HostKeyId parameters. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--descriptionAn updated description for the host key.--host-key-idThe identifier of the host key that you are updating.--kms-keyThe Amazon Resource Name (ARN) of the KMS key used to encrypt the Secrets Manager secret that stores the host key.--server-idThe identifier of the server that contains the host key that you are updating.--storage-typeSpecifies whether the host key is stored by Transfer Family (SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER).