canonical / vault-operator

A machine charm for Vault
https://charmhub.io/vault?channel=1.16/stable
Apache License 2.0
0 stars 2 forks source link

fix: Access kv secret using secret ID #255

Closed saltiyazan closed 3 months ago

saltiyazan commented 3 months ago

Description

fixes https://github.com/canonical/vault-operator/issues/243

Not to lose the secret://modeluuid/standard_secret_id format of the secret ID which is required to access the secret in cross model relations we get the secret with the secret ID that was initially returned by add_secret and initially stored in the relation databag.

Bug reported in Juju https://bugs.launchpad.net/juju/+bug/2075153

Checklist:

gruyaume commented 3 months ago

Is this a duplicate of #254?

saltiyazan commented 3 months ago

Is this a duplicate of #254?

Backporting to release-1.15

gruyaume commented 3 months ago

Is this a duplicate of #254?

Backporting to release-1.15

Oops my bad