# CertificateAuthorityCollection Properties

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

Represents a collection of certificate authorities within the application model.

## Certificates

- Name: `Certificates`
- Modifiers: `get`
- Returns: `X509Certificate2Collection`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateAuthorityCollectionResource.cs#L29)

Gets the `X509Certificates.X509Certificate2Collection` of certificates for this resource.

```csharp
public X509Certificate2Collection Certificates { get; }
```
