IAM Identity Center のユーザーで Git 認証情報を使用して CodeCommit リポジトリを操作できますか?
困っていた内容
AWS 環境でのアクセスコントロールに IAM Identity Center を使用しており、CodeCommit リポジトリへのプッシュなどの操作についても IAM Identity Center のユーザーで実施したいです。
IAM Identity Center のユーザーで Git 認証情報を使用して CodeCommit リポジトリを操作できますか?
どう対応すればいいの?
いいえ、IAM Identity Center のユーザーでは Git 認証情報や SSH キーペアのメカニズムはサポートされていません。
Authentication and access control for AWS CodeCommit - AWS CodeCommit
While recommended as a best practice for most users working with AWS, IAM Identity Center does not currently provide mechanisms for Git credentials or SSH key pairs. These users can install and configure git-remote-codecommit to locally clone CodeCommit repositories, but not all integrated development environments (IDEs) support cloning, pushing, or pulling with git-remote-codecommit.
IAM Identity Center のユーザーで CodeCommit リポジトリを操作する必要がある場合、git-remote-codecommit の利用をご検討ください。
以下の弊社ブログでは git-remote-codecommit を使用してメンバーアカウントの CodeCommit リポジトリをクローンしていますので、あわせてご参照ください。