backport of commit 2a46d492a3d15cfea8a492e29051a2451d47cdf5 (#23147)

Co-authored-by: Nicola Kabar <nicolaka@gmail.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-09-18 15:44:48 -04:00 committed by GitHub
parent bf9114d772
commit 7cf02909cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 10 deletions

View File

@ -205,7 +205,7 @@ $ curl \
## List entity aliases by ID ## List entity aliases by ID
This endpoint returns a list of available entity aliases by their identifiers. The list by ID endpoint returns the available entity aliases and key data by their identifiers.
| Method | Path | | Method | Path |
| :----- | :------------------------------------ | | :----- | :------------------------------------ |
@ -225,14 +225,31 @@ $ curl \
```json ```json
{ {
"data": { "data": {
"keys": [ "key_info": {
"2e8217fa-8cb6-8aec-9e22-3196d74ca2ba", "35405f3c-884a-a3ff-4176-bac57f220811": {
"91ebe973-ec86-84db-3c7c-f760415326de", "canonical_id": "0c34f097-6313-9597-3b22-91e34072ad28",
"92308b08-4139-3ec6-7af2-8e98166b4e0c", "custom_metadata": null,
"a3b042e6-5cc1-d5a9-8874-d53a51954de2", "local": false,
"d5844921-017f-e496-2a9a-23d4a2f3e8a3" "mount_accessor": "auth_jwt_e47c5220",
] "mount_path": "auth/tfc_jwt/",
} "mount_type": "jwt",
"name": "app-alias-1"
},
"4065d8c7-4fa6-db9d-e190-f9644c09638a": {
"canonical_id": "21c6f2bf-b9b0-db44-242f-18bf76cb9ff0",
"custom_metadata": null,
"local": false,
"mount_accessor": "auth_ns_token_79c4d932",
"mount_path": "auth/token/",
"mount_type": "ns_token",
"name": "app-alias-2"
}
},
"keys": [
"35405f3c-884a-a3ff-4176-bac57f220811",
"4065d8c7-4fa6-db9d-e190-f9644c09638a"
]
}
} }
``` ```