Get access item
GET /api/v1/access/{id}
Returns a single access item with detection status. For built-in items, returns the DB override if one exists, otherwise the default configuration.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Access item ID
Responses
Section titled “ Responses ”OK
object
BuiltIn is true for items that ship with Warden.
Credentials are the individual credential entries in this group.
object
Injections are the container-side delivery targets.
object
Key is the env var name or container path for the injection target.
ReadOnly applies to mount injections — when true the mount is read-only.
Type is the injection kind (env, mount_file, mount_socket).
Value is a static override for the resolved value. When set, this is used instead of the source-resolved value. Useful when the injection needs a fixed container-side path (e.g. SSH_AUTH_SOCK env var pointing to the container socket path).
Label is a human-readable name for this credential (e.g. “SSH Agent Socket”).
Sources are tried in order; the first detected value is used.
object
Type is the kind of host source.
Value is the env var name, file path, socket path, or command string.
Transform is an optional processing step applied to the resolved value.
object
Params holds type-specific configuration (e.g. “pattern” for strip_lines).
object
Type identifies the transformation.
Description explains what this access item provides.
Detection holds per-credential availability on the current host.
object
Available is true when at least one credential was detected.
Credentials contains per-credential detection results.
object
Available is true when at least one source was detected.
Label is the credential’s human-readable name.
SourceMatched describes which source was detected (empty when unavailable).
ID is the access item identifier.
Label is the access item display name.
ID is a stable identifier. Built-in items use well-known IDs (e.g. “git”, “ssh”); user items get generated UUIDs.
Label is the human-readable display name (e.g. “Git Config”).
Method is the delivery strategy (only “transport” for now).
Item not found
object
Internal Server Error