Use a connection shared with another account
You can create and manage a shared connection using Amazon RAM. This allows connections to be shared between Amazon Web Services accounts for access to third-party repositories. This allows a single connection to be used in CodePipeline pipelines across accounts while reducing the need for users to manage and administer separate connections in each account.
To use shared connections in CodePipeline, do the following.
-
Create a connection using the Developer Tools console under Settings. See Create a Connection.
-
Set up the resource share using Amazon RAM. See Share connections with Amazon Web Services accounts.
-
When you use the CodePipeline console Create pipeline wizard or Edit action page to choose the connection provider, such as the Bitbucket provider option, you can choose the connection that has been shared with the target account.