# DevTunnelOptions Properties

- Package: [Aspire.Hosting.DevTunnels](/reference/api/csharp/aspire.hosting.devtunnels.md)
- Type: [DevTunnelOptions](/reference/api/csharp/aspire.hosting.devtunnels/devtunneloptions.md)
- Kind: `Properties`
- Members: `3`

Options for the dev tunnel resource. Controls the creation and access settings of the underyling dev tunnel.

## AllowAnonymous

- Name: `AllowAnonymous`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.DevTunnels/DevTunnelOptions.cs)

Whether to allow anonymous access to this dev tunnel. If `false`, authentication is required. Defaults to `false`.

```csharp
public bool AllowAnonymous { get; set; }
```

## Description

- Name: `Description`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.DevTunnels/DevTunnelOptions.cs)

Optional description for the tunnel.

```csharp
public string? Description { get; set; }
```

## Labels

- Name: `Labels`
- Modifiers: `nullable` `get; set`
- Returns: `List<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.DevTunnels/DevTunnelOptions.cs)

Optional labels to attach to the tunnel.

```csharp
public List<string>? Labels { get; set; }
```
