Use Cases
- Private ECR Repositories: Pull images from your AWS ECR repositories
- Cross-Account Access: Access ECR in different AWS accounts
- Multi-Region Deployments: Pull images from ECR across AWS regions
- CI/CD Pipelines: Authenticate build systems with ECR
Configuration Options
Create an ECR Secret
- Console UI
- CLI
- Terraform
- Pulumi
1
Navigate to Secrets
In the Console, navigate to Secrets and click New, or use the Create dropdown in the top-right corner and select Secret.
2
Enter basic information
Enter a Name and optional Description.
3
Select secret type
Select ECR as the secret type.
4
Configure credentials
Click Data in the left pane. Enter the Access Key and Secret Key. Click Add under Repos to add repository URIs. Optionally enter a Role ARN and External ID for cross-account access.
5
Create the secret
Click Create.
ECR Repository URL Format
ECR repository URLs follow this pattern:Include the full repository path, not just the registry URL. Each repository you need to access should be listed separately.
Using the Secret
After creating the ECR secret, add it as a pull secret to your GVC:- Console UI
- CLI
- Terraform
- Pulumi
1
Navigate to your GVC
Open your GVC in the Console.
2
Open Pull Secrets
Click Pull Secrets in the left pane.
3
Add the secret
Click Add and select your ECR secret.
4
Save changes
Click Save.
Next Steps
GVC Pull Secrets
Configure pull secrets at the GVC level
AWS Cloud Account
Set up AWS cloud account integration