03-working-with-credentials

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

README

Working with Credentials

This tour illustrates the basic handling of credentials using the OCM library. The library provides an extensible framework to bring together credential providers and credential cosunmers in a technology-agnostic way.

It covers four basic scenarios:

  • basic Writing to a repository with directly specified credentials.
  • generic Using credentials via the credential management.
  • read Read the previously component version using the credential management.
  • credrepo Providing credentials via credential repositories.

You can just call the main program with some config file option (--config <file>) and the name of the scenario. The config file should have the following content:

repository: ghcr.io/mandelsoft/ocm
username:
password:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL