# RadiusSecuritySecretConstruct Properties

- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Type: [RadiusSecuritySecretConstruct](/reference/api/csharp/aspire.hosting.radius/radiussecuritysecretconstruct.md)
- Kind: `Properties`
- Members: `5`

Represents a `Radius.Security/secrets` resource in the Bicep AST -- the `Radius.*` UDT replacement for `Applications.Core/secretStores`.

<a id="applicationid"></a>

## ApplicationId

- Name: `ApplicationId`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusSecuritySecretConstruct.cs)

The optional application scope reference ( `properties.application`).

```csharp
public BicepValue<string> ApplicationId { get; set; }
```

<a id="data"></a>

## Data

- Name: `Data`
- Modifiers: `get; set`
- Returns: `BicepDictionary<RadiusSecuritySecretDataEntryConstruct>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusSecuritySecretConstruct.cs)

The `data` map keyed by secret key name.

```csharp
public BicepDictionary<RadiusSecuritySecretDataEntryConstruct> Data { get; set; }
```

<a id="environmentid"></a>

## EnvironmentId

- Name: `EnvironmentId`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusSecuritySecretConstruct.cs)

The environment scope reference ( `properties.environment`). Required by the type.

```csharp
public BicepValue<string> EnvironmentId { get; set; }
```

<a id="kind"></a>

## Kind

- Name: `Kind`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusSecuritySecretConstruct.cs)

The secret `kind` (e.g. `generic`). Emitted only when assigned.

```csharp
public BicepValue<string> Kind { get; set; }
```

<a id="secretname"></a>

## SecretName

- Name: `SecretName`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusSecuritySecretConstruct.cs)

The resource name.

```csharp
public BicepValue<string> SecretName { get; set; }
```
