get_podman_credential

Function get_podman_credential 

Source
pub fn get_podman_credential(
    server: &str,
) -> Result<DockerCredential, CredentialRetrievalError>
Expand description

Retrieve a user’s docker credential from auth.json (as used by podman).

The lookup strategy adheres to the logic described in the podman docs.

For a usage example, refer to get_credential.