This repository contains an example of how to integrate AWS Single Sign-On (SSO) and Amazon Elastic Container Registry (ECR) with Gitpod.
Configure Secrets & Hit Below button:
sso_start_url = ${AWS_SSO_URL}
sso_region = ${AWS_SSO_REGION}
sso_account_id = ${AWS_ACCOUNT_ID}
sso_role_name = ${AWS_ROLE_NAME}
region = ${AWS_REGION}
-
Configure the following secrets here in Gitpod settings:
AWS_SSO_URL
AWS_SSO_REGION
AWS_ACCOUNT_ID
AWS_ROLE_NAME
AWS_REGION
Note: You Can set scope at for all worskapces (
โ ๏ธ ) or at your Org. Level, at your Personal username level, or at Just Repo. Level. Read More: Configure Environment Variables -
Maybe you use vault or some other secret storage, that's okay. The key is to inject them into the config when the workspace starts.
๐ Now, You are ready to use AWS CLI, & With that, you can log in to your SSO or Use AWS ECR to use Private Registries/ Images.