# AppCertificateProxy

- Module: [Aspire.Hosting.Azure.Provisioning.AppService](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the AppCertificate Azure Provisioning model.

## Definition

```typescript
interface AppCertificateProxy {
  canonicalName: BicepValueProxy | string;
  readonly cerBlob: BicepValueProxy;
  domainValidationMethod: BicepValueProxy | string;
  readonly expireOn: BicepValueProxy | datetimeoffset;
  readonly friendlyName: BicepValueProxy | string;
  readonly hostingEnvironmentProfile: HostingEnvironmentProfileProxy;
  hostNames: Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfStringProxy;
  readonly id: BicepValueProxy;
  readonly issueOn: BicepValueProxy | datetimeoffset;
  readonly issuer: BicepValueProxy | string;
  readonly isValid: BicepValueProxy | boolean;
  keyVaultId: BicepValueProxy;
  keyVaultSecretName: BicepValueProxy | string;
  readonly keyVaultSecretStatus: BicepValueProxy | KeyVaultSecretStatus;
  kind: BicepValueProxy | string;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  password: BicepValueProxy | string;
  pfxBlob: BicepValueProxy;
  readonly publicKeyHash: BicepValueProxy | string;
  readonly selfLink: BicepValueProxy | string;
  serverFarmId: BicepValueProxy;
  readonly siteName: BicepValueProxy | string;
  readonly subjectName: BicepValueProxy | string;
  readonly systemData: AppServiceSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy;
  readonly thumbprintString: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearCanonicalName(): void;
  clearDomainValidationMethod(): void;
  clearKeyVaultId(): void;
  clearKeyVaultSecretName(): void;
  clearKind(): void;
  clearLocation(): void;
  clearName(): void;
  clearPassword(): void;
  clearPfxBlob(): void;
  clearServerFarmId(): void;
}
```

## Properties

- `canonicalName`: `BicepValueProxy | string` `get - set` -- Gets or sets the CanonicalName provisioning property.
- `cerBlob`: `BicepValueProxy` `get` -- Gets the CerBlob provisioning property.
- `domainValidationMethod`: `BicepValueProxy | string` `get - set` -- Gets or sets the DomainValidationMethod provisioning property.
- `expireOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the ExpireOn provisioning property.
- `friendlyName`: `BicepValueProxy | string` `get` -- Gets the FriendlyName provisioning property.
- `hostingEnvironmentProfile`: [HostingEnvironmentProfileProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/hostingenvironmentprofileproxy.md) `get` -- Gets the HostingEnvironmentProfile provisioning property.
- `hostNames`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-listofstringproxy.md) `get - set` -- Gets or sets the HostNames provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `issueOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the IssueOn provisioning property.
- `issuer`: `BicepValueProxy | string` `get` -- Gets the Issuer provisioning property.
- `isValid`: `BicepValueProxy | boolean` `get` -- Gets the IsValid provisioning property.
- `keyVaultId`: `BicepValueProxy` `get - set` -- Gets or sets the KeyVaultId provisioning property.
- `keyVaultSecretName`: `BicepValueProxy | string` `get - set` -- Gets or sets the KeyVaultSecretName provisioning property.
- `keyVaultSecretStatus`: `BicepValueProxy | KeyVaultSecretStatus` `get` -- Gets the KeyVaultSecretStatus provisioning property.
- `kind`: `BicepValueProxy | string` `get - set` -- Gets or sets the Kind provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `password`: `BicepValueProxy | string` `get - set` -- Gets or sets the Password provisioning property.
- `pfxBlob`: `BicepValueProxy` `get - set` -- Gets or sets the PfxBlob provisioning property.
- `publicKeyHash`: `BicepValueProxy | string` `get` -- Gets the PublicKeyHash provisioning property.
- `selfLink`: `BicepValueProxy | string` `get` -- Gets the SelfLink provisioning property.
- `serverFarmId`: `BicepValueProxy` `get - set` -- Gets or sets the ServerFarmId provisioning property.
- `siteName`: `BicepValueProxy | string` `get` -- Gets the SiteName provisioning property.
- `subjectName`: `BicepValueProxy | string` `get` -- Gets the SubjectName provisioning property.
- `systemData`: [AppServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.
- `thumbprintString`: `BicepValueProxy | string` `get` -- Gets the ThumbprintString provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearCanonicalName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearcanonicalname.md) -- `method` -- Clears the CanonicalName provisioning property.
    ```typescript
  clearCanonicalName(): void
  ```
- [clearDomainValidationMethod](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/cleardomainvalidationmethod.md) -- `method` -- Clears the DomainValidationMethod provisioning property.
    ```typescript
  clearDomainValidationMethod(): void
  ```
- [clearKeyVaultId](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearkeyvaultid.md) -- `method` -- Clears the KeyVaultId provisioning property.
    ```typescript
  clearKeyVaultId(): void
  ```
- [clearKeyVaultSecretName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearkeyvaultsecretname.md) -- `method` -- Clears the KeyVaultSecretName provisioning property.
    ```typescript
  clearKeyVaultSecretName(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPassword](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearpassword.md) -- `method` -- Clears the Password provisioning property.
    ```typescript
  clearPassword(): void
  ```
- [clearPfxBlob](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearpfxblob.md) -- `method` -- Clears the PfxBlob provisioning property.
    ```typescript
  clearPfxBlob(): void
  ```
- [clearServerFarmId](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appcertificateproxy/clearserverfarmid.md) -- `method` -- Clears the ServerFarmId provisioning property.
    ```typescript
  clearServerFarmId(): void
  ```
