# PostaResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Posta](/reference/api/csharp/communitytoolkit.aspire.hosting.posta.md)
- Type: [PostaResource](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postaresource.md)
- Kind: `Properties`
- Members: `9`

Resource for the Posta email delivery platform.

<a id="adminpasswordparameter"></a>

## AdminPasswordParameter

- Name: `AdminPasswordParameter`
- Modifiers: `get`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L57)

Gets the parameter that contains the initial admin password.

```csharp
public ParameterResource AdminPasswordParameter { get; }
```

<a id="connectionstringexpression"></a>

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L62-L63)

Connection string for the Posta HTTP API in the form of Endpoint=http://host:port.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

<a id="host"></a>

## Host

- Name: `Host`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L42)

Gets the host endpoint reference for the HTTP endpoint.

```csharp
public EndpointReferenceExpression Host { get; }
```

<a id="jwtsecretparameter"></a>

## JwtSecretParameter

- Name: `JwtSecretParameter`
- Modifiers: `get`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L52)

Gets the parameter that contains the JWT signing secret.

```csharp
public ParameterResource JwtSecretParameter { get; }
```

<a id="port"></a>

## Port

- Name: `Port`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L47)

Gets the port endpoint reference for the HTTP endpoint.

```csharp
public EndpointReferenceExpression Port { get; }
```

<a id="primaryendpoint"></a>

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L27)

Gets the primary HTTP endpoint for the Posta server.

```csharp
public EndpointReference PrimaryEndpoint { get; }
```

<a id="smtpendpoint"></a>

## SmtpEndpoint

- Name: `SmtpEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L32)

Gets the inbound SMTP endpoint for the Posta server.

```csharp
public EndpointReference SmtpEndpoint { get; }
```

<a id="smtprelayendpoint"></a>

## SmtpRelayEndpoint

- Name: `SmtpRelayEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L37)

Gets the authenticated SMTP relay endpoint for the Posta server.

```csharp
public EndpointReference SmtpRelayEndpoint { get; }
```

<a id="uriexpression"></a>

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L68)

Gets the connection URI expression for the Posta HTTP API.

```csharp
public ReferenceExpression UriExpression { get; }
```
