CmdID / aws / aws transfer
aws transfer import-host-key
Adds a host key to the server that's specified by the ServerId parameter. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--descriptionThe text description that identifies this host key.--host-key-bodyThe private key portion of an SSH key pair.--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 importing.--storage-typeSpecifies whether the host key is stored by Transfer Family (SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER).--tagsKey-value pairs that can be used to group and search for host keys.