Skip to content

Commit 3369468

Browse files
committed
feat(realms): docker MCP
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
1 parent b77c401 commit 3369468

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

x/realms/docker.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,13 @@ var (
3939
// DockerHubStagingAuthenticationMetadata is a pointer to the default staging user signed in to Docker
4040
DockerHubStagingAuthenticationMetadata = secrets.MustParsePattern("docker/auth/metadata/hub-staging/**")
4141
)
42+
43+
var (
44+
// DockerMCPDefault is the default realm used for MCP related secrets
45+
DockerMCPDefault = secrets.MustParsePattern("docker/mcp/**")
46+
// DockerMCPOAuth is the realm used for all MCP OAuth credentials retrieved by Docker.
47+
DockerMCPOAuth = secrets.MustParsePattern("docker/mcp/oauth/**")
48+
// DockerMCPOAuthDCR is the realm used to hold Dynamic Client Registered (DCR)
49+
// OAuth configurations for supported MCP servers.
50+
DockerMCPOAuthDCR = secrets.MustParsePattern("docker/mcp/oauth-dcr/**")
51+
)

0 commit comments

Comments
 (0)