# CertificateAuthorityCollection Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [CertificateAuthorityCollection](/reference/api/csharp/aspire.hosting/certificateauthoritycollection.md)
- Kind: `Constructors`
- Members: `1`

Represents a collection of certificate authorities within the application model.

## CertificateAuthorityCollection(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ApplicationModel/CertificateAuthorityCollectionResource.cs#L21-L29)

Initializes a new instance of the [CertificateAuthorityCollection](/reference/api/csharp/aspire.hosting/certificateauthoritycollection.md) class with the specified name.

```csharp
public class CertificateAuthorityCollection
{
    public CertificateAuthorityCollection(
        string name)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the certificate authority collection resource.
