2022-03-29 15:29:48 +02:00

35 lines
854 B
Markdown

# How to seed Accounts and Pods
If you need to seed accounts and pods,
the `--seededPodConfigJson` command line option can be used
with as value the path to a JSON file containing configurations for every required pod.
The file needs to contain an array of JSON objects,
with each object containing at least a `podName`, `email`, and `password` field.
For example:
```json
[
{
"podName": "example",
"email": "hello@example.com",
"password": "abc123"
}
]
```
You may optionally specify other parameters
as described in the [Identity Provider documentation](./identity-provider.md#json-api).
For example, to use a pre-existing WebID:
```json
[
{
"podName": "example",
"email": "hello@example.com",
"password": "abc123",
"webId": "https://pod.inrupt.com/example/profile/card#me",
"createWebId": false
}
]
```