netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Andrews (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NETBEANS-362) Honor the credentials helper configuration in config files. Needed for AWS CodeCommit repos.
Date Wed, 07 Feb 2018 19:59:00 GMT

     [ https://issues.apache.org/jira/browse/NETBEANS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Andrews updated NETBEANS-362:
-------------------------------------
    Description: 
Git does not honor the credentials helper configuration in the global or local gitconfig files.
This makes it impossible to push or pull to AWS CodeCommit repositories as a federated AWS
user. 

>From the docs: [https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up.html]
{quote}If you are connecting to AWS CodeCommit and AWS using federated access or temporary
credentials, or if you do not want to configure IAM users, you can set up connections to AWS
CodeCommit repositories using the credential helper included in the AWS CLI. The credential
helper allows Git to use HTTPS and a cryptographically signed version of your IAM user credentials
or Amazon EC2 instance role whenever Git needs to authenticate with AWS to interact with AWS
CodeCommit repositories. *This is the only connection method for AWS CodeCommit repositories
that does not require an IAM user, so it is the only method that supports federated access
and temporary credentials.*
{quote}
Set up: [https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html#setting-up-https-unixes-credential-helper]
{quote}{{git config --global credential.helper '!aws codecommit credential-helper $@'}}{quote}
{quote}{{git config --global credential.UseHttpPath true}}{quote}
 

Without honoring the credentials helper config - git will simply try and authenticate with
a blank user and password. Which will not work.

  was:
Git does not honor the credentials helper configuration in the global or local gitconfig files.
This makes it impossible to push or pull to AWS CodeCommit repositories as a federated AWS
user. 

>From the docs: [https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up.html]
{quote}If you are connecting to AWS CodeCommit and AWS using federated access or temporary
credentials, or if you do not want to configure IAM users, you can set up connections to AWS
CodeCommit repositories using the credential helper included in the AWS CLI. The credential
helper allows Git to use HTTPS and a cryptographically signed version of your IAM user credentials
or Amazon EC2 instance role whenever Git needs to authenticate with AWS to interact with AWS
CodeCommit repositories. *This is the only connection method for AWS CodeCommit repositories
that does not require an IAM user, so it is the only method that supports federated access
and temporary credentials.*
{quote}
Set up: [https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html#setting-up-https-unixes-credential-helper]
{quote}git config --global credential.helper '!aws codecommit credential-helper $@'

{{git config --global credential.UseHttpPath true}}
{quote}
 

Without honoring the credentials helper config - git will simply try and authenticate with
a blank user and password. Which will not work.


> Honor the credentials helper configuration in config files. Needed for AWS CodeCommit
repos.
> --------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-362
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-362
>             Project: NetBeans
>          Issue Type: Bug
>          Components: versioncontrol - Git
>    Affects Versions: 8.2, 9.0
>            Reporter: Michael Andrews
>            Priority: Major
>
> Git does not honor the credentials helper configuration in the global or local gitconfig
files. This makes it impossible to push or pull to AWS CodeCommit repositories as a federated
AWS user. 
> From the docs: [https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up.html]
> {quote}If you are connecting to AWS CodeCommit and AWS using federated access or temporary
credentials, or if you do not want to configure IAM users, you can set up connections to AWS
CodeCommit repositories using the credential helper included in the AWS CLI. The credential
helper allows Git to use HTTPS and a cryptographically signed version of your IAM user credentials
or Amazon EC2 instance role whenever Git needs to authenticate with AWS to interact with AWS
CodeCommit repositories. *This is the only connection method for AWS CodeCommit repositories
that does not require an IAM user, so it is the only method that supports federated access
and temporary credentials.*
> {quote}
> Set up: [https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html#setting-up-https-unixes-credential-helper]
> {quote}{{git config --global credential.helper '!aws codecommit credential-helper $@'}}{quote}
> {quote}{{git config --global credential.UseHttpPath true}}{quote}
>  
> Without honoring the credentials helper config - git will simply try and authenticate
with a blank user and password. Which will not work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message