updated the LIST identity/entity-alias/id endpoint docs (#23016)

* updated the LIST identity/entity-alias/id endpoint docs to reflect new data returned

* Update website/content/api-docs/secret/identity/entity-alias.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/api-docs/secret/identity/entity-alias.mdx

Co-authored-by: Max Bowsher <maxbowsher@gmail.com>

---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Max Bowsher <maxbowsher@gmail.com>
This commit is contained in:
Nicola Kabar
2023-09-18 14:30:30 -05:00
committed by GitHub
parent a25d2426c9
commit 2a46d492a3

View File

@@ -205,7 +205,7 @@ $ curl \
## 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 |
| :----- | :------------------------------------ |
@@ -225,14 +225,31 @@ $ curl \
```json
{
"data": {
"keys": [
"2e8217fa-8cb6-8aec-9e22-3196d74ca2ba",
"91ebe973-ec86-84db-3c7c-f760415326de",
"92308b08-4139-3ec6-7af2-8e98166b4e0c",
"a3b042e6-5cc1-d5a9-8874-d53a51954de2",
"d5844921-017f-e496-2a9a-23d4a2f3e8a3"
]
}
"data": {
"key_info": {
"35405f3c-884a-a3ff-4176-bac57f220811": {
"canonical_id": "0c34f097-6313-9597-3b22-91e34072ad28",
"custom_metadata": null,
"local": false,
"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"
]
}
}
```