AbstractOptionalusages: DockerCredentialUsage[]InternalDetermines if this credential is relevant to the input usage.
Abstract_InternalCreates and returns the credential configuration, to be used by cdk-assets
to support the docker-credential-cdk-assets tool for docker login.
AbstractgrantGrant read-only access to the registry credentials. This grants read access to any secrets, and pull access to any repositories.
StaticcustomCreates a DockerCredential for a registry, based on its domain name (e.g., 'www.example.com').
Optionalopts: ExternalDockerCredentialOptionsStaticdockerCreates a DockerCredential for DockerHub.
Convenience method for customRegistry('https://index.docker.io/v1/', opts).
Optionalopts: ExternalDockerCredentialOptionsStaticecrCreates a DockerCredential for one or more ECR repositories.
NOTE - All ECR repositories in the same account and region share a domain name (e.g., 0123456789012.dkr.ecr.eu-west-1.amazonaws.com), and can only have one associated set of credentials (and DockerCredential). Attempting to associate one set of credentials with one ECR repo and another with another ECR repo in the same account and region will result in failures when using these credentials in the pipeline.
Optionalopts: EcrDockerCredentialOptions
Represents credentials used to access a Docker registry.