---
title: "View Resource Metadata"
description: "Several storage services—such as DID Store, Credential Store, and KMS—support free-form metadata on their child resources. This lets you add tags, descriptions, or other custom details. The /metadata/view endpoint…"
stack: "Enterprise Stack (commercial) — version 0.21.0"
stack_version: "0.21.0"
stack_comparison: https://docs.walt.id/community-vs-enterprise.md
canonical_url: https://docs.walt.id/enterprise-stack/administration/services/metadata/view
generated: 2026-07-20
---
# View Resource Metadata

Several storage services—such as DID Store, Credential Store, and KMS—support free-form metadata on their child resources. This lets you add tags, descriptions, or other custom details.
The `/metadata/view` endpoint returns the full metadata JSON for a resource so you can review or process it as needed.

## View metadata (KMS key example)

**Option: CURL**

Endpoint: `/v1/{target}/kms-service-api/keys/metadata/view` | [API Reference](https://enterprise.sandbox.walt.id/swagger/index.html#/Service%20%7C%20Key%20Management/get_v1__target__kms_service_api_metadata_view)

**Example Request**

```bash
curl -X 'GET' \
  'https://{orgHost}.enterprise-sandbox.waltid.dev/v1/{target}/kms-service-api/keys/metadata/view' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer {yourToken}'
```

**Path Parameters**

- `orgHost`: _String_ - Organization host alias to call against. In sandbox, the `test` organization resolves to `https://test.enterprise-sandbox.waltid.dev`.
- `target`: _resourceIdentifier_ - Full path to the KMS key (or other resource) whose metadata you want to retrieve, e.g. `test.tenant1.kms-eu.key-auth`.

**Example Response** `200 OK`

```json
{
  "description": "Primary signing key for sandbox issuer",
  "tags": [
    "issuing",
    "production"
  ]
}
```

- If no metadata exists, the service returns `404 Not Found`.
- Metadata is always a JSON object; structure is completely up to you.
