Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 925 Bytes

seeding-pods.md

File metadata and controls

20 lines (18 loc) · 925 Bytes

How to seed Accounts and Pods

If you need to seed accounts and pods, set the --seededPodConfigJson option to a file such as ./seeded-pod-config.json to set your desired accounts and pods. The contents of ./seeded-pod-config.json (or whatever file name you choose) should be a JSON array whose entries are objects which include podName, email, and password. For example:

    [
      {
        "podName": "example",
        "email": "hello@example.com",
        "password": "abc123"
        }
    ]

You may optionally specify other parameters accepted by the register method of RegistrationManager. For example:

To use a pre-existing wedId:

  createWebId: false,
  webId: "https://pod.inrupt.com/example/profile/card#me"