Beam supports importing images from the following private registries: AWS ECR, Google Artifact Registry, Docker Hub, and NVIDIA Container Registry.Private registries require credentials, and you can pass the credentials to Beam in two ways: as a dictionary, or exported from your shell so Beam can automatically lookup the values.Passing Credentials as a DictionaryYou can provide the values for the registry as a dictionary directly, like this:
Passing Credentials from your EnvironmentAlternatively, you can export your credentials in your shell and pass the environment variable names to base_image_creds as a list:
To use a private image from Amazon ECR, export your AWS environment variables. Then configure the Image object with those environment variables.
You can authenticate with either your static AWS credentials or an AWS STS
token. If you use the AWS STS token, your AWS_SESSION_TOKEN key must also be
set.