How to require signed commits in CodeCommit?

1

I'm interested in implementing an added layer of security for a repo using signed commits. I want to require all commits to be signed, but I do not see a way to do this in AWS/CodeCommit. Can it be done? If so, how?

1 Antwort
0

Solution: As of now, there is no way to create a signed commit as shown in the document showing how to create a commit. However, you can use a Git tag to leave a signature on a certain commit and to identify commits easily. https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-create-commit.html https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-create-tag.html

Isaac_P
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen