Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
rb:aws-cli [20/09/2018 09:33]
andrew [AWS CodeCommit]
rb:aws-cli [25/09/2018 16:57]
andrew [Creating a new repo]
Line 108: Line 108:
 </​code>​ </​code>​
  
-My understanding is that ''​git''​ feeds a string of arguments to the credential-helper ($@) and consumes the string returned to forward on to CodeCommit as the user password. ​ As it is an ''​aws''​ command it can take the --profile option. Without that, the helper will try to return the IAM users credentials not the role's credentials,​ git will present these and it will pushes and pulls will fail with ''​fatal:​ unable to access <​xx-repo>​ : The requested URL returned error: 403+My understanding is that ''​git''​ feeds a string of arguments to the credential-helper ($@) and consumes the string returned to forward on to CodeCommit as the user password. ​ As it is an ''​aws''​ command it can take the --profile option. Without that, the helper will try to return the IAM users credentials not the role's credentials,​ git will present these and it will pushes and pulls will fail with ''​fatal:​ unable to access <​xx-repo>​ : The requested URL returned error: 403''​
  
  
Line 150: Line 150:
  
  
 +See the [[rb:​git-cheatsheet|Git cheatsheet]] for adding files etc to the repo.
  

rb/aws-cli.txt ยท Last modified: 04/09/2019 15:45 by andrew