# PostgreSqlMigrationAdminCredentialsProxy

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

Represents the PostgreSqlMigrationAdminCredentials Azure Provisioning model.

## Definition

```typescript
interface PostgreSqlMigrationAdminCredentialsProxy {
  sourceServerPassword: BicepValueProxy | string;
  targetServerPassword: BicepValueProxy | string;
  clearSourceServerPassword(): void;
  clearTargetServerPassword(): void;
}
```

## Properties

- `sourceServerPassword`: `BicepValueProxy | string` `get - set` -- Gets or sets the SourceServerPassword provisioning property.
- `targetServerPassword`: `BicepValueProxy | string` `get - set` -- Gets or sets the TargetServerPassword provisioning property.

## Methods

- [clearSourceServerPassword](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlmigrationadmincredentialsproxy/clearsourceserverpassword.md) -- `method` -- Clears the SourceServerPassword provisioning property.
    ```typescript
  clearSourceServerPassword(): void
  ```
- [clearTargetServerPassword](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlmigrationadmincredentialsproxy/cleartargetserverpassword.md) -- `method` -- Clears the TargetServerPassword provisioning property.
    ```typescript
  clearTargetServerPassword(): void
  ```
