# RadiusSecuritySecretDataEntryConstruct

- Kind: `class`
- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Radius.Publishing.Constructs`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/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.
