# BicepSecretOutputReference Properties

- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Type: [BicepSecretOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepsecretoutputreference.md)
- Kind: `Properties`
- Members: `4`

A reference to a KeyVault secret from a bicep template.

## Name

- Name: `Name`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs#L581)

Name of the KeyVault secret.

```csharp
public string Name { get; }
```

## Resource

- Name: `Resource`
- Modifiers: `get`
- Returns: [AzureBicepResource](/reference/api/csharp/aspire.hosting.azure/azurebicepresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs#L586)

The instance of the bicep resource.

```csharp
public AzureBicepResource Resource { get; }
```

## Value

- Name: `Value`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs#L609-L613)

The value of the output.

```csharp
public string? Value { get; }
```

## ValueExpression

- Name: `ValueExpression`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs#L620)

The expression used in the manifest to reference the value of the secret output.

```csharp
public string ValueExpression { get; }
```
