Skip to content
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

Multitenancy: expose agent configuration settings on a per-tenant basis #2209

Closed
esune opened this issue Apr 11, 2023 · 0 comments · Fixed by #2233
Closed

Multitenancy: expose agent configuration settings on a per-tenant basis #2209

esune opened this issue Apr 11, 2023 · 0 comments · Fixed by #2233

Comments

@esune
Copy link
Contributor

esune commented Apr 11, 2023

When using an agent running on a multi-tenant instance of ACA-Py, each tenant might want/need to specify a different behaviour.
A lot of the the ACA-Py startup parameters/environment variables would benefit from being configurable at a tenant level (all of the "auto" flags for once). The following is a subset of settings that was identified as it is currently used across agent deployments for BCGov (see bcgov/traction#547):

  • ACAPY_LOG_LEVEL
  • ACAPY_INVITE_PUBLIC
  • ACAPY_PUBLIC_INVITES
  • ACAPY_AUTO_ACCEPT_INVITES
  • ACAPY_AUTO_ACCEPT_REQUESTS
  • ACAPY_AUTO_PING_CONNECTION
  • ACAPY_MONITOR_PING
  • ACAPY_AUTO_RESPOND_MESSAGES
  • ACAPY_AUTO_RESPOND_CREDENTIAL_OFFER
  • ACAPY_AUTO_RESPOND_CREDENTIAL_REQUEST
  • ACAPY_AUTO_VERIFY_PRESENTATION
  • ACAPY_NOTIFY_REVOCATION
  • ACAPY_AUTO_REQUEST_ENDORSEMENT
  • ACAPY_AUTO_WRITE_TRANSACTIONS
  • ACAPY_CREATE_REVOCATION_TRANSACTIONS

Settings that are set as part of the main/agency agent startup command would likely be used as defaults, but each tenant would/should be able to override them based on specific needs.

Note: one setting that might require extra attention is the one related to the writable ledger. See #2168 for related information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant