lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.55.0 vs lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.56.0
- old
+ new
@@ -606,13 +606,35 @@
# `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, ECDSA, or ED25519 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.
+ #
+ # Use the following command to generate an ED25519 key with no
+ # passphrase:
+ #
+ # `ssh-keygen -t ed25519 -N "" -f my-new-server-key`.
+ #
+ # For all 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
@@ -898,15 +920,12 @@
#
# @option params [String] :ssh_public_key_body
# The public portion of the Secure Shell (SSH) key used to authenticate
# the user to the server.
#
- # <note markdown="1"> Currently, Transfer Family does not accept elliptical curve keys (keys
- # beginning with `ecdsa`).
+ # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
#
- # </note>
- #
# @option params [Array<Types::Tag>] :tags
# Key-value pairs that can be used to group and search for users. Tags
# are metadata attached to users for any purpose.
#
# @option params [required, String] :user_name
@@ -1668,10 +1687,12 @@
# A system-assigned unique identifier for a server.
#
# @option params [required, String] :ssh_public_key_body
# The public key portion of an SSH key pair.
#
+ # Transfer Family accepts RSA, ECDSA, and ED25519 keys.
+ #
# @option params [required, String] :user_name
# The name of the user account that is assigned to one or more servers.
#
# @return [Types::ImportSshPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -2580,19 +2601,41 @@
# `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, ECDSA, or ED25519 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.
+ #
+ # Use the following command to generate an ED25519 key with no
+ # passphrase:
+ #
+ # `ssh-keygen -t ed25519 -N "" -f my-new-server-key`.
+ #
+ # For all 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
#
@@ -2885,10 +2928,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.55.0'
+ context[:gem_version] = '1.56.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#