DockerCredentials#
- class controller.models.domain.docker.DockerCredentials(username, password)#
Bases:
objectHolds the credentials for one Docker API server.
Attributes Summary
Authentication string for
Authorizationheader.Credentials in encoded form suitable for
Authorization.Authentication password.
Authentication username.
Methods Summary
from_config(config)Create from a Docker config entry (such as a pull secret).
Convert the credentials to a Docker config entry.
Attributes Documentation
- authorization#
Authentication string for
Authorizationheader.
- credentials#
Credentials in encoded form suitable for
Authorization.
Methods Documentation
- classmethod from_config(config)#
Create from a Docker config entry (such as a pull secret).
This requires the
authfield be set and ignores theusernameandpasswordfield.