Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
rb:aws-cli [20/09/2018 09:33]
andrew [AWS CodeCommit]
rb:aws-cli [25/09/2018 16:52]
andrew [Roles with CodeCommit]
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''​
  
  

rb/aws-cli.txt ยท Last modified: 25/09/2018 16:57 by andrew