-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Store vault kv secret ids in peer relationship
Getting a secret by label only returns the short form of a secret id (without the model's UUID), which is fine when the two applications are inside the same model, but leads to error when in different models. Creating a secret always returns the long form of a secret id, therefore, storing the secret id in the peer relationship with key: label, value: secret id, to ensure long form of secret id.
- Loading branch information
Showing
2 changed files
with
120 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters