# IAzureKeyVaultResource Properties

- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Type: [IAzureKeyVaultResource](/reference/api/csharp/aspire.hosting.azure/iazurekeyvaultresource.md)
- Kind: `Properties`
- Members: `3`

Represents a resource that represents an Azure Key Vault.

## NameOutputReference

- Name: `NameOutputReference`
- Modifiers: `abstract` `get`
- Returns: [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md)

Gets the output reference that represents the name of Azure Key Vault resource.

```csharp
public abstract BicepOutputReference NameOutputReference { get; }
```

## SecretResolver

- Name: `SecretResolver`
- Modifiers: `abstract` `nullable` `get; set`
- Returns: `Func<IAzureKeyVaultSecretReference, CancellationToken, Task<string?>>`

Gets or sets the secret resolver function used to resolve secrets at runtime.

```csharp
public abstract Func<IAzureKeyVaultSecretReference, CancellationToken, Task<string?>>? SecretResolver { get; set; }
```

## VaultUriOutputReference

- Name: `VaultUriOutputReference`
- Modifiers: `abstract` `get`
- Returns: [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md)

Gets the output reference that represents the vault uri for the Azure Key Vault resource.

```csharp
public abstract BicepOutputReference VaultUriOutputReference { get; }
```
