realms

package
v0.0.16-do.not.use Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 1 Imported by: 1

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

View Source
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>`.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL