Skip to content

Commit

Permalink
chapter
Browse files Browse the repository at this point in the history
Co-authored-by: Frederic Wilhelm <[email protected]>
  • Loading branch information
ikhandamirov and frewilhelm authored Sep 13, 2024
1 parent 68ce05c commit 7aa57c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/docs/examples/creds-in-ocmconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ For comprehensive documentation on the credentials topic, including usage of cer

### Repositories and Consumers

In the examples below some configuration is located under `configurations[0]`.`repositories`, and some other under `configurations[0]`.`consumers`. This chanpter explains the difference between `repositories` and `consumers`, which is potentially not as obvious as one could think.
In the examples below some configuration is located under `configurations[0]`.`repositories`, and some other under `configurations[0]`.`consumers`. This chapter explains the difference between `repositories` and `consumers`, which is potentially not as obvious as one could think.


In this context, `repository` is a place, where credentials can be stored, i.e. it is a credentials repository. For example, Docker's `config.json` can store multiple credentials, and in that sense the file serves as a repository that can store and provide credentials. That is why its location is configured under `repositories`. Other examples of credentials repositories can be the NPM's `.npmrc` file or a HashiCorp Vault instance.

Expand Down

0 comments on commit 7aa57c4

Please sign in to comment.