Most charms use a single secret on app, and another one on unit level. Therefore this was the functionality provided by the DataPeer and the DataPeerUnit interfaces.
This change is extending that behavior to what is only used by a few charms (Opensearch, Pgbouncer) allowing for multiple secrets on either level. The implemetation goes in a way, that new secret fields can also form new groups or be saved into an individual secret labelled after the key.
Most charms use a single secret on
app
, and another one onunit
level. Therefore this was the functionality provided by theDataPeer
and theDataPeerUnit
interfaces.This change is extending that behavior to what is only used by a few charms (Opensearch, Pgbouncer) allowing for multiple secrets on either level. The implemetation goes in a way, that new secret fields can also form new groups or be saved into an individual secret labelled after the key.