SFTP with AWS Keys

How to use SFTP with AWS Keys.

sftp -i "yourkey" ec2-user@your-server