# DID Document Management

The Issuer Service manages the issuer’s DID Document lifecycle automatically:

* **Automated Creation and Registration**:\
  Generates a DID Document and anchors it to the EMPE Blockchain upon deployment, ensuring trust and public resolvability.
* **No Manual Intervention Needed**:\
  DID creation and updates occur behind the scenes.
* **Future Enhancements**:
  * **Key Rotation**: Ability to rotate cryptographic keys without downtime.
  * **Service Endpoint Updates**: Update DID Documents to reflect new endpoints or verification methods.

**Retrieve DID Configuration**:

```bash
GET /.well-known/did-configuration
```

**Example Response**:

```json
{
  "entries": [
    {
      "did": "did:empe:testnet:44bebd23a0...",
      "jwt": "eyJhbGciOiJFUzI1Nk..."
    }
  ]
}
```

This endpoint returns DID metadata and domain linkage credentials, adhering to the service’s Swagger specification.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.empe.io/develop/issuer/did-document-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
