lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.53.0 vs lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.54.0
- old
+ new
@@ -606,13 +606,30 @@
# `VPC_ENDPOINT`.
#
# </note>
#
# @option params [String] :host_key
- # The RSA private key as generated by the `ssh-keygen -N "" -m PEM -f
- # my-new-server-key` command.
+ # The RSA or ECDSA private key to use for your server.
#
+ # Use the following command to generate an RSA 2048 bit key with no
+ # passphrase:
+ #
+ # `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
+ #
+ # Use a minimum value of 2048 for the `-b` option: you can create a
+ # stronger key using 3072 or 4096.
+ #
+ # Use the following command to generate an ECDSA 256 bit key with no
+ # passphrase:
+ #
+ # `ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key`.
+ #
+ # Valid values for the `-b` option for ECDSA are 256, 384, and 521.
+ #
+ # For both of these commands, you can replace *my-new-server-key* with a
+ # string of your choice.
+ #
# If you aren't planning to migrate existing users from an existing
# SFTP-enabled server to a new server, don't update the host key.
# Accidentally changing a server's host key can be disruptive.
#
# For more information, see [Change the host key for your SFTP-enabled
@@ -2560,19 +2577,36 @@
# `VPC_ENDPOINT`.
#
# </note>
#
# @option params [String] :host_key
- # The RSA private key as generated by `ssh-keygen -N "" -m PEM -f
- # my-new-server-key`.
+ # The RSA or ECDSA private key to use for your server.
#
+ # Use the following command to generate an RSA 2048 bit key with no
+ # passphrase:
+ #
+ # `ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key`.
+ #
+ # Use a minimum value of 2048 for the `-b` option: you can create a
+ # stronger key using 3072 or 4096.
+ #
+ # Use the following command to generate an ECDSA 256 bit key with no
+ # passphrase:
+ #
+ # `ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key`.
+ #
+ # Valid values for the `-b` option for ECDSA are 256, 384, and 521.
+ #
+ # For both of these commands, you can replace *my-new-server-key* with a
+ # string of your choice.
+ #
# If you aren't planning to migrate existing users from an existing
- # server to a new server, don't update the host key. Accidentally
- # changing a server's host key can be disruptive.
+ # SFTP-enabled server to a new server, don't update the host key.
+ # Accidentally changing a server's host key can be disruptive.
#
# For more information, see [Change the host key for your SFTP-enabled
- # server][1] in the *Amazon Web ServicesTransfer Family User Guide*.
+ # server][1] in the *Amazon Web Services Transfer Family User Guide*.
#
#
#
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key
#
@@ -2864,10 +2898,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.53.0'
+ context[:gem_version] = '1.54.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#