[SDK reference](../../index.md) / [Models](../index.md) / [Databases](index.md)

# ValkeyCredentialsResponse

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Databases`  

Response from `:issueCredentials` returning a 1-hour dynamic Valkey ACL username and CSPRNG password.Agent principals (`act` claim or `agt_` subject) are ALWAYS refused with `403 agent-access-denied` (ADR-0902).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `AclRule` | `string?` | `aclRule` | Rendered Valkey ACL rule applied for this dynamic user. |
| `Endpoint` | `string?` | `endpoint` | TLS/SNI hostname ({instanceId}.valkey.{location}.{apiDomain} per ADR-0506 2026-11-07 revision). |
| `ExpiresAt` | `DateTimeOffset?` | `expiresAt` | When the credential lease expires (issuedAt + 1h). |
| `InstanceId` | `string?` | `instanceId` | Valkey instance resource ID. |
| `IssuedAt` | `DateTimeOffset?` | `issuedAt` | When the credential lease was issued (UTC). |
| `Password` | `string?` | `password` | Ephemeral CSPRNG secret password valid until expiresAt. |
| `Port` | `int?` | `port` | TLS port (6379). |
| `TlsRequired` | `bool?` | `tlsRequired` | Always true; plain TCP is disabled (ADR-0506). |
| `TlsSniHostname` | `string?` | `tlsSniHostname` | Required TLS SNI server name matching endpoint. |
| `TtlSeconds` | `int?` | `ttlSeconds` | Lease duration in seconds (3600). |
| `Username` | `string?` | `username` | Ephemeral Valkey ACL username (default user is disabled per ADR-0506). |
