Giter Club home page Giter Club logo

aws-codecommit-user-guide's Introduction

aws-codecommit-user-guide's People

Contributors

adityaprakash-bobby avatar allamand avatar anuragmathur1 avatar aws-sf avatar benbridts avatar bluszcz avatar callezenwaka avatar datchive avatar dkeightley avatar dpedu avatar hugodby avatar jmaciasluque avatar joshbean avatar jpeddicord avatar krymtkts avatar m-sande avatar matchbookmac avatar niclic avatar raonitimo avatar xdrus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-codecommit-user-guide's Issues

Incorrect account type mentioned

Step 4 on this page
For example, run the following command to create a default AWS CLI profile that you use to access AWS resources in AccountA in US East (Ohio) (us-east-2):
The bold section above should be AccountB

Git protocol and permissions

Please explain the seeming discrepancy relating to branch permissions using git:

Git is restricted by policy
https://github.com/awsdocs/aws-codecommit-user-guide/blob/master/doc_source/how-to-conditional-branch.md

By default, any CodeCommit repository user who has sufficient permissions to push code to the repository can contribute to any branch in that repository. This is true no matter how you add a branch to the repository: by using the console, the command line, or Git.
...
From the terminal or command line, create a commit on the branch where the restrictions apply, and then push that commit to the CodeCommit repository. You should see an error message. Commits and pushes made from other branches should work as usual.

Git not restricted by policy
https://github.com/awsdocs/aws-codecommit-user-guide/blob/master/doc_source/auth-and-access-control-permissions-reference.md#aa-branches

The following permissions allow or deny actions on branches in CodeCommit repositories. These permissions pertain only to actions performed in the CodeCommit console and with the CodeCommit API, and to commands performed using the AWS CLI. They do not pertain to similar actions that can be performed using the Git protocol.

The troubleshooting guide for Access error "User is not authorized for the KMS default key" is misleading

The "Possible fixes" within the troubleshooting guide for Access Error User is not authorized for the KMS default master key for CodeCommit 'alias/aws/codecommit' in your account no longer seems to be valid for the current UI. There's no "Encryption Keys" reference within the IAM console.

Following the link at the end of the Possible fixes is enough to guide the user in the right direction for fixing the issue.

Get raw file

Hi guys,

Is it possible to get a simple raw (i.e. yaml file) from an ec2 instance via curl?

I am facing problem in connecting to CodeCommit

I followed the guide but still have an issue, the connection reset after "SSH2_MSG_KEXINIT sent" without any reason
Spend two days on this so..
Any help would be appreciated ?!

here is a screenshot of the problem
issue

Troubleshooting guidance

We currently have a number of troubleshooting topics to help users. You can find a list of them here. If you have ideas about any troubleshooting guidance that is missing, could be improved/expanded upon, or have some tips and tricks when using CodeCommit that you'd like to share, we'd love to hear from you.

Please submit a pull request following the guidelines here: https://github.com/awsdocs/aws-codecommit-user-guide/blob/master/CONTRIBUTING.md

Thank you for helping improve the documentation!

issues with the code commit cloning

I have a account integrated with the MFA,I am unable to clone the repo even though I add the public key to the my user id.Can you please help out me with this issue and I have admin privileges for this account

Credential Helper Path for CLI v2

Update the path for CLI v2.

[credential] helper = !"\C:\\Program Files\\Amazon\\AWSCLI\\bin\\aws.cmd\" codecommit credential-helper $@ UseHttpPath = true

Improve setup steps for users with federated access or temporary credentials

The current steps for setting up the AWS CLI credential helper here involve setting this value for all hosts, when this is not necessary. Furthermore, it is possible to reset the credential helper list by configuring the option to the empty string. This avoids issues for users also using other credential helpers such as osxkeychain or Git Credential Manager, that cannot access any repository after the temporary credentials expire. I would recommend the following setup steps:

git config --global credential."https://git-codecommit.*.amazonaws.com".helper ''
git config --global --add credential."https://git-codecommit.*.amazonaws.com".helper '!aws codecommit credential-helper $@'
git config --global credential."https://git-codecommit.*.amazonaws.com".UseHttpPath true

This will apply the configuration only for CodeCommit hosts, while also bypassing any other credential helpers. With the setup above, there is no need for any of the workarounds described in the documentation. After running the commands, the .gitconfig file should contain this section:

[credential "https://git-codecommit.*.amazonaws.com"]
	helper =
	helper = !aws codecommit credential-helper $@
	UseHttpPath = true

For users using git-remote-codecommit, the following configuration could be applicable:

git config --global credential."https://git-codecommit.*.amazonaws.com".helper ''

This avoids the issue that Windows users have mentioned in this issue as well as here, which results in these messages being displayed:

fatal: Failed to write item to store. [0x6c6]
fatal: The array bounds are invalid

Additionally, the temporary credentials will not be stored in the Keychain anymore for macOS users. In all of the commands above, Windows users should replace single quotes with double quotes.

What policy examples would you like to see?

The AWS CodeCommit User Guide has a number of policy examples included that are intended to help solve common problems or requests. For example:

However, we'd love to add more, and more real-world-scenario-based examples to the guide. If you have ideas, examples, or suggestions to share, please do!

Please submit a pull request following the guidance here: https://github.com/awsdocs/aws-codecommit-user-guide/blob/master/CONTRIBUTING.md

Thanks for helping improve the examples!

Testing Cross-Account Access Guidance

We have guidance for setting up cross account access to AWS CodeCommit repositories. You can find the topics here. However, this content seems to be getting mixed reviews; some users find it really helpful, while others have trouble with it. We'd love to get your suggestions on how this could be improved.

Please submit a pull request according to the instructions here:https://github.com/awsdocs/aws-codecommit-user-guide/blob/master/CONTRIBUTING.md

Thanks for helping improve the docs!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.