# DaprSecretKeyRef

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.Dapr](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr.md)
- Version: `13.0.0`
- Namespace: `CommunityToolkit.Aspire.Hosting.Dapr`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/30a4b632065206d447183d2baabf6dfb3678d4af/src/CommunityToolkit.Aspire.Hosting.Dapr/DaprComponentSchema.cs)

Represents a Dapr secret key reference

## Definition

```csharp
namespace CommunityToolkit.Aspire.Hosting.Dapr;

public sealed class DaprSecretKeyRef
{
    // ...
}
```

## Constructors

- [DaprSecretKeyRef](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/daprsecretkeyref/constructors.md#constructor)

## Properties

- [Key](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/daprsecretkeyref/properties.md#key) : `string` `get; init` -- The key of the secret
- [Name](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/daprsecretkeyref/properties.md#name) : `string` `get; init` -- The name of the secret
