-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wallet_scheme
appears to be ignored in ACAPY_WALLET_STORAGE_CONFIG
#464
Comments
for ((i=0; i<10; i++)); do
curl -s -X 'POST' \
'http://localhost:8100/admin/tenants' \
-H 'Content-Type: application/json' \
-H 'x-api-key: adminApiKey' \
-d @- <<EOF
{
"image_url": "https://api.dicebear.com/7.x/pixel-art/svg?seed=somethingradnom",
"name": "my-issuer",
"roles": [
"issuer"
],
"group_id": "someGroup"
}
EOF
done The above loop results in a Database Per Wallet being created, even if |
openwallet-foundation/acapy#2043 (comment) uses |
AFAICT, Here's a test that claims to "test_postgres_wallet_scheme_works": https://github.com/hyperledger/aries-cloudagent-python/blob/ac1dde304e92683ab50bb0f2b8cad298b918aa52/aries_cloudagent/wallet/tests/test_indy_wallet.py#L830 But the So it does indeed seem to be specific to the postgres_storage plugin. See load_postgres_plugin method: https://github.com/hyperledger/aries-cloudagent-python/blob/ac1dde304e92683ab50bb0f2b8cad298b918aa52/aries_cloudagent/indy/sdk/wallet_plugin.py#L51C1-L51C1 All of this seems to be fairly untouched code in the last 2-3 years ... especially the plugin itself is still under "experimental" and most of it hasn't changed in 4-5 years ... maybe there's newer, better ways to do things? 🤷♂️ Questions for the hyperledger team! The relevant flag seems to be: All I can think is that maybe the That's as much as I can see at the moment! |
This looks very much related to didx-xyz/acapy-wallet-groups-plugin Edit: It's not |
The following issue links to documentation for migrating indy wallets using MultiWalletSingleTable to askar: |
This seems to be what we're missing: |
According to hyperledger/aries-cloudagent-python, the
ACAPY_WALLET_STORAGE_CONFIG
environment variable maps to the Indy SDK Postgres PluginIt looks like
wallet_scheme
is being ignored when set via theACAPY_WALLET_STORAGE_CONFIG
environment variable (environments/governance-multitenant/aca-py-agent.default.env
)The text was updated successfully, but these errors were encountered: