# RadiusSecuritySecretDataEntryConstruct

- Kind: `class`
- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Version: `13.6.0-preview.1.26478.8`
- Namespace: `Aspire.Hosting.Radius.Publishing.Constructs`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusSecuritySecretConstruct.cs)
- Inherits: `ProvisionableConstruct`

A single entry in a `Radius.Security/secrets` resource's `data` map.

## Definition

```csharp
namespace Aspire.Hosting.Radius.Publishing.Constructs;

public sealed class RadiusSecuritySecretDataEntryConstruct
    : Azure.Provisioning.Primitives.ProvisionableConstruct
{
    // ...
}
```

## Remarks

The encoding vocabulary differs from the legacy `Applications.Core/secretStores` type: the new type accepts `string` / `base64`, where the legacy type accepted `raw` / `base64`. Emitting `raw` here fails schema validation.

## Constructors

- [RadiusSecuritySecretDataEntryConstruct](/reference/api/csharp/aspire.hosting.radius/radiussecuritysecretdataentryconstruct/constructors.md#constructor)

## Properties

- [Encoding](/reference/api/csharp/aspire.hosting.radius/radiussecuritysecretdataentryconstruct/properties.md#encoding) : `BicepValue<string>` `get; set` -- The per-key encoding -- `string` or `base64`. Emitted only when assigned.
- [Value](/reference/api/csharp/aspire.hosting.radius/radiussecuritysecretdataentryconstruct/properties.md#value) : `BicepValue<string>` `get; set` -- The secret value. Normally a reference to a valueless `@secure()` param so no credential is written into the published artifacts.
