fix(vault-plugin): display full secret name relative to the secret path

Only secret name was displayed in the table. It could be a problem when
secret path has multiple subpath containing secrets with the same name.

Displaying the relative path from secret path configured in the entity
annotation allows to differentiate the secrets in this case.

Signed-off-by: denis.fortin <denis.fortin@adevinta.com>
This commit is contained in:
denis.fortin
2022-06-17 17:04:40 +02:00
parent 76467dfffe
commit 7ee4abdcc9
8 changed files with 18 additions and 1 deletions
+2
View File
@@ -45,11 +45,13 @@ const mockedApi: VaultApi = {
return [
{
name: 'a::b',
path: '',
editUrl: 'https://example.com',
showUrl: 'https://example.com',
},
{
name: 'c::d',
path: '',
editUrl: 'https://example.com',
showUrl: 'https://example.com',
},