Configuration

Reference for the configuration types in the OCM configuration file (.ocmconfig): credentials, resolvers, transfer, HTTP, caching, and versioning.

OCM reads its settings from a single configuration file, by default $HOME/.ocmconfig. The file carries a central generic.config.ocm.software/v1 document whose configurations: list holds one or more typed configuration entries. Each page in this section is the technical reference for one of those configuration types: its schema, fields, defaults, and precedence rules.

type: generic.config.ocm.software/v1
configurations:
  - type: credentials.config.ocm.software/v1
    # ...
  - type: ocm.config.ocm.software/v1
    # ...
  - type: transfer.config.ocm.software/v1alpha1
    # ...

Configuration references

ReferenceCovers
Caching ConfigurationOCI caches, cache location, limits, admission rules, and remote policy.
Credential Consumer IdentitiesIdentity types and attributes OCM matches credentials against.
Credential TypesBuilt-in typed credential types and their fields.
HTTP Checksum ConfigurationSchema, checksum modes, precedence, and the access-side fast path.
HTTP Client ConfigurationTimeouts, retries, TLS trust, and per-host merge semantics.
Resolver ConfigurationRepository resolution, component name patterns, and version constraints.
Transfer ConfigurationTransfer settings, uploader configurations, resource matching, and CEL expressions.
Versioning ConfigurationScheme catalog, custom schemes, and OCI tag constraints.