# RadiusSecretStoreConstruct Properties

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

Represents an `Applications.Core/secretStores@2023-10-01-preview` resource in the Bicep AST. Carries the store [RadiusSecretStoreConstruct.StoreName](/reference/api/csharp/aspire.hosting.radius/radiussecretstoreconstruct/properties.md#storename), its [RadiusSecretStoreConstruct.StoreType](/reference/api/csharp/aspire.hosting.radius/radiussecretstoreconstruct/properties.md#storetype), exactly one of [RadiusSecretStoreConstruct.EnvironmentId](/reference/api/csharp/aspire.hosting.radius/radiussecretstoreconstruct/properties.md#environmentid) / [RadiusSecretStoreConstruct.ApplicationId](/reference/api/csharp/aspire.hosting.radius/radiussecretstoreconstruct/properties.md#applicationid) (the scope), an optional [RadiusSecretStoreConstruct.ResourceReference](/reference/api/csharp/aspire.hosting.radius/radiussecretstoreconstruct/properties.md#resourcereference) ( `<namespace>/<name>` for the existing/sealed modes), and the [RadiusSecretStoreConstruct.Data](/reference/api/csharp/aspire.hosting.radius/radiussecretstoreconstruct/properties.md#data) map.

<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/RadiusSecretStoreConstruct.cs)

The application scope reference ( `properties.application`). Set only for application-scoped stores.

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

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

## Data

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

The `data` map keyed by secret key name.

```csharp
public BicepDictionary<RadiusSecretStoreDataEntryConstruct> 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/RadiusSecretStoreConstruct.cs)

The environment scope reference ( `properties.environment`). Set only for environment-scoped stores.

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

<a id="resourcereference"></a>

## ResourceReference

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

The `<namespace>/<name>` reference to an existing cluster `Secret` (existing/sealed modes).

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

<a id="storename"></a>

## StoreName

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

The resource name.

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

<a id="storetype"></a>

## StoreType

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

The Radius secret-store `type` string (e.g. `basicAuthentication`).

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