Integration Server 11.1 | webMethods Package Manager CLI Reference | wpm Configuration | Declaring Remote Repositories | Example Repository Declarations
 
Example Repository Declarations
Following are examples of declarations for repositories or registries for the repositories portion of the wpm.yml file.
Declares a repository named default that points to the IBM webMethods Package Registry.
default:
type: wpr
location: https://packages.webmethods.io
registry: licensed
creds:
token: token-value
working_dir: /working/local_repo/
Note: 
The default wpm.yml file included with wpm contains a repository declaration for the IBM webMethods Package Registry, however, the declaration is not named. When a repository declaration points to a package registry but does not specify a name, wpm uses the registry declared as the default for the package registry. A package registry can contain more than one named registry and each named registry can contain its own set of packages.
Declares a repository named my_packages that points to a Git repository.
my_packages:
type: git
location: https://github.com/<username>
creds:
user: <username>
password: <personal-access-token>
working_dir: <working-dir-location>
Declares a repository named my_packages_ssh that points to a Git repository and supplies a private key for authentication.
my_packages_ssh:
type: git
location: git@github.com:product/module.git
creds:
private_key_path: /home/user/.ssh/id_rsa
passphrase: <passphrase>
working_dir: <working-dir-location>