# IResourceWithEnvironment.withDeveloperCertificateTrust

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Defined on: [IResourceWithEnvironment](/reference/api/typescript/aspire.hosting/iresourcewithenvironment.md)
- Version: `13.4.0`
- Kind: `method`

Indicates whether developer certificates should be treated as trusted certificate authorities for the resource at run time. Currently this indicates trust for the ASP.NET Core developer certificate. The developer certificate will only be trusted when running in local development scenarios; in publish mode resources will use their default certificate trust.

## Definition

```typescript
interface IResourceWithEnvironment {
  // ... omitted for brevity
  withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironment;
}
```

## Signature

```typescript
withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironment
```

## Parameters

- `trust` (`boolean`)

## Returns

[IResourceWithEnvironment](/reference/api/typescript/aspire.hosting/iresourcewithenvironment.md) `builder`

## Defined on

- [IResourceWithEnvironment](/reference/api/typescript/aspire.hosting/iresourcewithenvironment.md) -- `interface`
