Skip to main content

internal/credential

github.com/ensera-ai/taisce/internal/credential · 1 files · 270 lines · 9 tests · source

Package credential resolves what a caller presented into what they may reach.

It is a separate package from the HTTP surface because the answer it gives is a security decision and the surface is transport. It talks to the REGISTRY connection, never the memory one — the two database identities exist so that a memory query cannot read a key, and a package that held both pools would be the place that difference stopped mattering.

Where it sits

Imports: none in this repository

Imported by: cmd/taisce, internal/api

Files

FileLinesDeclarationsWhat it is for
credential.go27019Carries the package documentation.

9 tests hold this package's behaviour; the list is named for what each one proves.