# CognitiveServicesConnectionUsernamePasswordProxy

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

Represents the CognitiveServicesConnectionUsernamePassword Azure Provisioning model.

## Definition

```typescript
interface CognitiveServicesConnectionUsernamePasswordProxy {
  password: BicepValueProxy | string;
  securityToken: BicepValueProxy | string;
  username: BicepValueProxy | string;
  clearPassword(): void;
  clearSecurityToken(): void;
  clearUsername(): void;
}
```

## Properties

- `password`: `BicepValueProxy | string` `get - set` -- Gets or sets the Password provisioning property.
- `securityToken`: `BicepValueProxy | string` `get - set` -- Gets or sets the SecurityToken provisioning property.
- `username`: `BicepValueProxy | string` `get - set` -- Gets or sets the Username provisioning property.

## Methods

- [clearPassword](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesconnectionusernamepasswordproxy/clearpassword.md) -- `method` -- Clears the Password provisioning property.
    ```typescript
  clearPassword(): void
  ```
- [clearSecurityToken](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesconnectionusernamepasswordproxy/clearsecuritytoken.md) -- `method` -- Clears the SecurityToken provisioning property.
    ```typescript
  clearSecurityToken(): void
  ```
- [clearUsername](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesconnectionusernamepasswordproxy/clearusername.md) -- `method` -- Clears the Username provisioning property.
    ```typescript
  clearUsername(): void
  ```
