Skip to content

Support reading credential store from Buildah #836

@FeynmanZhou

Description

@FeynmanZhou

The user would like to authenticate with a container registry after buildah login. Buildah generates an authentication file in ${XDG_RUNTIME_DIR}/containers/auth.json. ORAS doesn't support reading credential store from Buildah authentication file.

Buildah config file is similar to docker but it supports repo/namespace level auth.

Expected behavior:

If the user has Buildah installed on the system and used buildah login to authenticate with an OCI-compliant registry, the user's credentials are already stored and available to ORAS. In this case, the user doesn't need to run oras login again to authenticate with an OCI-compliant registry.

Related issue: notaryproject/notation#1058

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv3Things belongs to version 3.x

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions