Question 22:
A software engineer has created a git repository from the AWS console in the AWS ap-south-1 region. The git repo name is called “MyDemoRepo”. He is using an Ubuntu Linux machine to continue developing the software. He already has an IAM user configured in AWS. Which of the following options are required to clone the repository properly using the HTTPS connection? (Select TWO.)
Answer options:
A.In the local Ubuntu machine, create a public/private RSA key pair with ssh-keygen and save the private key in the ~/.ssh folder. B.Attach the IAM policy AWSCodeCommitPowerUser to the IAM user through the AWS IAM console. C.Generate a username/password locally and upload the password in the AWS IAM console by selecting the IAM user and choosing "Upload HTTPS password". D.Attach the IAM policy AWSCodeCommitFullAccess to the IAM user through the AWS IAM console. E.In the IAM console, generate HTTPS Git credentials for AWS CodeCommit and download credentials to a .CSV file.