Skip to content

Commit

Permalink
blank line before lists
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhandamirov committed Sep 16, 2024
1 parent d8875bf commit 7c97712
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/docs/examples/creds-in-ocmconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ configurations:
#### HTTPS and Path

To access artifacts in `https://ghcr.io/open-component-model`:

* The different parts of the URL have to be specified in separate fields: `scheme`, `hostname`, and `pathprefix`
* The fields `scheme` and `pathprefix` are optional. If not specified, the OCM CLI will use the credentials for all schemes and paths on that host
* The `password` is the user's basic authentication password. Some OCI registries allow to generate user access tokens, which can also be used for basic authentication
Expand All @@ -86,6 +87,7 @@ configurations:
#### HTTP, Port Number, Empty Path

To access artifacts in `http://127.0.0.1:5001`:

* Note the quotes around the `port` number
* The fields `scheme` and `port` are optional. If not specified, the OCM CLI will use the credentials for all schemes and ports on that host
* As the URL has no path behind the port number, the `pathprefix` element can be removed
Expand Down Expand Up @@ -171,6 +173,7 @@ configurations:
### Accessing GitHub Repositories

To access code in `https://my.github.enterprise/my-org/my-repo`:

* Use `Github` as identity type
* `hostname` is the domain name of the GitHub instance
* `pathprefix` is a combination of organization and repository names
Expand Down

0 comments on commit 7c97712

Please sign in to comment.