Documentation
¶
Overview ¶
Package realms keeps track of known Docker realms
Realms do not define a permission model and should not be used as such! Realms are simply contracts that clients may use to query a set of secrets. Once a realm has been established it MUST not change as clients would treat the realm as a contract. Clients may pin themselves to a specific realm or a group of realms.
Examples:
`docker/` is a realm for all known Docker secrets. `docker/auth` is a realm for all known Docker Auth secrets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( DockerHubAuthentication = secrets.MustParsePattern("docker/auth/hub/**") DockerHubStagingAuthentication = secrets.MustParsePattern("docker/auth/hub-staging/**") DockerRegistryAuthentication = secrets.MustParsePattern("docker/auth/registry/docker/**") DockerRegistryStagingAuthentication = secrets.MustParsePattern("docker/auth/registry/docker-staging/**") )
Docker realms all start with `docker/` as the prefix.
Authentication flows done by the Docker CLI, Docker Desktop and Docker related products must go through `docker/auth`.
Docker Hub authentication (browser based OAuth login) will be prefixed with `docker/auth/hub/<username>`.
Docker Registry authentication will be prefixed with `docker/auth/registry/docker/<username>`.
var DockerHubAuthenticationMetadata = secrets.MustParsePattern("docker/auth/metadata/hub/**")
DockerHubAuthenticationMetadata is a pointer to the default user signed in to Docker
Functions ¶
This section is empty.
Types ¶
This section is empty.