# MinioContainerResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Minio](/reference/api/csharp/communitytoolkit.aspire.hosting.minio.md)
- Type: [MinioContainerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.minio/miniocontainerresource.md)
- Kind: `Properties`
- Members: `7`

A resource that represents a MinIO storage

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs#L46)

Gets the connection string expression for the Minio

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

## Host

- Name: `Host`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs#L36)

Gets the host endpoint reference for this resource.

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

## PasswordParameter

- Name: `PasswordParameter`
- Modifiers: `get`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs)

The MinIO root password.

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

## Port

- Name: `Port`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs#L41)

Gets the port endpoint reference for this resource.

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

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs#L31)

Gets the primary endpoint for the MinIO. This endpoint is used for all API calls over HTTP.

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

## RootUser

- Name: `RootUser`
- Modifiers: `get; set`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs)

The MinIO root user.

```csharp
public ParameterResource RootUser { get; set; }
```

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Minio/MinioContainerResource.cs#L54)

Gets the connection URI expression for the MinIO server.

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

## Remarks

Format: `http://{host}:{port}`.
