# CertificateAuthorityCollectionAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [CertificateAuthorityCollectionAnnotation](/reference/api/csharp/aspire.hosting/certificateauthoritycollectionannotation.md)
- Kind: `Properties`
- Members: `3`

An annotation that indicates a resource is referencing a certificate authority collection.

## CertificateAuthorityCollections

- Name: `CertificateAuthorityCollections`
- Modifiers: `get`
- Returns: [List<CertificateAuthorityCollection>](/reference/api/csharp/aspire.hosting/certificateauthoritycollection.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateAuthorityCollectionAnnotation.cs)

Gets the [CertificateAuthorityCollection](/reference/api/csharp/aspire.hosting/certificateauthoritycollection.md) that is being referenced.

```csharp
public List<CertificateAuthorityCollection> CertificateAuthorityCollections { get; }
```

## Scope

- Name: `Scope`
- Modifiers: `nullable` `get`
- Returns: [CertificateTrustScope?](/reference/api/csharp/aspire.hosting/certificatetrustscope.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateAuthorityCollectionAnnotation.cs)

Gets a value indicating whether the resource should attempt to override its default CA trust behavior in favor of the provided certificates (not all resources will support this).

```csharp
public CertificateTrustScope? Scope { get; }
```

## TrustDeveloperCertificates

- Name: `TrustDeveloperCertificates`
- Modifiers: `nullable` `get`
- Returns: `bool?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CertificateAuthorityCollectionAnnotation.cs)

Gets a value indicating whether platform developer certificates should be considered trusted.

```csharp
public bool? TrustDeveloperCertificates { get; }
```
