DockerAuthInfo typedef

DockerAuthInfo = ({String password, String registry, String username})

Holds the credentials required to authenticate against a single Docker registry.

All three fields are required:

  • registry — the registry hostname, e.g. 'https://index.docker.io/v1/'
  • username — the account name
  • password — the account password or personal-access token

Implementation

typedef DockerAuthInfo = ({
  String registry,
  String username,
  String password,
});