Store a secret for use with an SFTP connector - AWS Transfer Family

Store a secret for use with an SFTP connector

You can use Secrets Manager to store user credentials for your SFTP connectors. When you create your secret, you must provide a username. Additionally, you can provide either a password, a private key, or both. For details, see Quotas for SFTP connectors.

Note

When you store secrets in Secrets Manager, your AWS account incurs charges. For information about pricing, see AWS Secrets Manager Pricing.

To store user credentials in Secrets Manager for an SFTP connector
  1. Sign in to the AWS Management Console and open the AWS Secrets Manager console at https://console.aws.amazon.com/secretsmanager/.

  2. In the left navigation pane, choose Secrets.

  3. On the Secrets page, choose Store a new secret.

  4. On the Choose secret type page, for Secret type, choose Other type of secret.

  5. In the Key/value pairs section, choose the Key/value tab.

    • Key – Enter Username.

    • value – Enter the name of the user that is authorized to connect to the partner' server.

  6. If you want to provide a password, choose Add row, and in the Key/value pairs section, choose the Key/value tab.

    Choose Add row, and in the Key/value pairs section, choose the Key/value tab.

    • Key – Enter Password.

    • value – Enter the password for the user.

  7. If you want to provide a private key, see Generate and format the SFTP connector private key, which describes how to enter private key data.

    Note

    The private key data that you enter must correspond to the public key that is stored for this user in the remote SFTP server.

  8. Choose Next.

  9. On the Configure secret page, enter a name and description for your secret. We recommend that you use a prefix of aws/transfer/ for the name. For example, you could name your secret aws/transfer/connector-1.

  10. Choose Next, and then accept the defaults on the Configure rotation page. Then choose Next.

  11. On the Review page, choose Store to create and store the secret.