Skip to content

Is it planned to add auth options? #82

@DmitriyLewen

Description

@DmitriyLewen

Description

Hello!

We encountered an authorization issue:

retrieving documents: finding documents: resolving image link: GET https://xxx.azurecr.io/oauth2/token?scope=repository%3Aaaa-bbb%3Apull&service=xxx.azurecr.io: NOT AUTHORIZED: authentication required, visit https://aka.ms/acr/authorization for more information. CorrelationId: xxxx-xxx-xx-xx-xxxx

IIUC, the following feature should help with this:

// TODO(puerco): Support relevant registry options
// o := options.RegistryOptions{}
// ociremoteOpts := []ociremote.Option{ociremote.WithRemoteOptions(o.GetRegistryClientOpts(ctx)...)}

Any plans to add this and if so, any timeline?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions