# ContainerAppRegistryCredentialsProxy

- Module: [Aspire.Hosting.Azure.Provisioning.AppContainers](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the ContainerAppRegistryCredentials Azure Provisioning model.

## Definition

```typescript
interface ContainerAppRegistryCredentialsProxy {
  identity: BicepValueProxy | string;
  passwordSecretRef: BicepValueProxy | string;
  server: BicepValueProxy | string;
  username: BicepValueProxy | string;
  clearIdentity(): void;
  clearPasswordSecretRef(): void;
  clearServer(): void;
  clearUsername(): void;
}
```

## Properties

- `identity`: `BicepValueProxy | string` `get - set` -- Gets or sets the Identity provisioning property.
- `passwordSecretRef`: `BicepValueProxy | string` `get - set` -- Gets or sets the PasswordSecretRef provisioning property.
- `server`: `BicepValueProxy | string` `get - set` -- Gets or sets the Server provisioning property.
- `username`: `BicepValueProxy | string` `get - set` -- Gets or sets the Username provisioning property.

## Methods

- [clearIdentity](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappregistrycredentialsproxy/clearidentity.md) -- `method` -- Clears the Identity provisioning property.
    ```typescript
  clearIdentity(): void
  ```
- [clearPasswordSecretRef](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappregistrycredentialsproxy/clearpasswordsecretref.md) -- `method` -- Clears the PasswordSecretRef provisioning property.
    ```typescript
  clearPasswordSecretRef(): void
  ```
- [clearServer](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappregistrycredentialsproxy/clearserver.md) -- `method` -- Clears the Server provisioning property.
    ```typescript
  clearServer(): void
  ```
- [clearUsername](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappregistrycredentialsproxy/clearusername.md) -- `method` -- Clears the Username provisioning property.
    ```typescript
  clearUsername(): void
  ```
