1
+ # see: https://pypi.org/project/ConfigArgParse/ for file format overview
2
+ # before running aca-py, run the following (the commands are embedded below, next to the related parameters):
3
+ # - run a local postgres database
4
+ # - run a local instance of von-network
5
+ # - register your did (seed) on the network
6
+ # run aca-py as:
7
+ # ACAPY_WALLET_SEED=my_seed_000000000000000000000000 ACAPY_WALLET_KEY=key ./bin/aca-py start --arg-file ./demo/local-indy-args.yaml
8
+
9
+ log-level : info
10
+ genesis-url : !ENV ${GENESIS_URL}
11
+ # Admin insecure mode and api key will come from the following two variables
12
+ # which is parsed and used automatically by ACA-Py
13
+ # ACAPY_ADMIN_API_KEY
14
+ # ACAPY_ADMIN_INSECURE_MODE
15
+ admin : [0.0.0.0, !ENV '${ADMIN_PORT}']
16
+ label : !ENV ${AGENT_NAME}
17
+ # the following is the callback url for your controller
18
+ webhook-url : !ENV ${WEBHOOK_URL}
19
+ # assumes you are running a local von-network, like:
20
+ # cd von-network
21
+ # ./manage start <my local ip>
22
+ inbound-transport :
23
+ - [http, 0.0.0.0, !ENV '${HTTP_PORT}']
24
+ # - [ws, 0.0.0.0, !ENV '${HTTP_PORT}']
25
+ outbound-transport : http
26
+ # the following is the public endpoint advertised by the agent
27
+ endpoint : !ENV ${AGENT_ENDPOINT}
28
+ auto-ping-connection : true
29
+ # register your did using (this example is for von-network):
30
+ # curl -d '{"seed":"my_seed_000000000000000000000000", "role":"TRUST_ANCHOR", "alias":"My Agent"}' -X POST http://localhost:9000/register
31
+ # note that the env var name is configured in argparse.py
32
+ # seed = comes from ACAPY_WALLET_SEED
33
+ wallet-type : !ENV ${WALLET_TYPE}
34
+ wallet-name : !ENV ${WALLET_NAME}
35
+ wallet-key : !ENV ${WALLET_KEY}
36
+ seed : !ENV ${WALLET_SEED}
37
+
38
+ # # run a local postgres (docker) like:
39
+ # # docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres:10
40
+ # wallet-storage-type: postgres_storage
41
+ # # could be sent using env var ACAPY_WALLET_STORAGE_CONFIG
42
+ # wallet-storage-config: '{"url":"localhost:5432","max_connections":5}'
43
+ # # could be sent using env var ACAPY_WALLET_STORAGE_CREDS
44
+ # wallet-storage-creds: '{"account":"postgres","password":"mysecretpassword","admin_account":"postgres","admin_password":"mysecretpassword"}'
45
+
46
+
47
+ auto-accept-requests : true
48
+ auto-provision : true
49
+ auto-respond-credential-proposal : true
50
+ auto-respond-credential-offer : true
51
+ auto-respond-credential-request : true
52
+ auto-store-credential : true
53
+ auto-respond-presentation-proposal : true
54
+ auto-respond-presentation-request : true
55
+ preserve-exchange-records : true
56
+ debug-connections : true
57
+ debug-credentials : true
58
+ debug-presentations : true
59
+ enable-undelivered-queue : true
60
+ multitenant : true
61
+ multitenant-admin : true
62
+ jwt-secret : " password"
0 commit comments