# PostgreSqlFlexibleServerAuthConfigProxy

- 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 PostgreSqlFlexibleServerAuthConfig Azure Provisioning model.

## Definition

```typescript
interface PostgreSqlFlexibleServerAuthConfigProxy {
  activeDirectoryAuth: BicepValueProxy | PostgreSqlFlexibleServerActiveDirectoryAuthEnum;
  passwordAuth: BicepValueProxy | PostgreSqlFlexibleServerPasswordAuthEnum;
  tenantId: BicepValueProxy | guid;
  clearActiveDirectoryAuth(): void;
  clearPasswordAuth(): void;
  clearTenantId(): void;
}
```

## Properties

- `activeDirectoryAuth`: `BicepValueProxy | PostgreSqlFlexibleServerActiveDirectoryAuthEnum` `get - set` -- Gets or sets the ActiveDirectoryAuth provisioning property.
- `passwordAuth`: `BicepValueProxy | PostgreSqlFlexibleServerPasswordAuthEnum` `get - set` -- Gets or sets the PasswordAuth provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the TenantId provisioning property.

## Methods

- [clearActiveDirectoryAuth](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverauthconfigproxy/clearactivedirectoryauth.md) -- `method` -- Clears the ActiveDirectoryAuth provisioning property.
    ```typescript
  clearActiveDirectoryAuth(): void
  ```
- [clearPasswordAuth](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverauthconfigproxy/clearpasswordauth.md) -- `method` -- Clears the PasswordAuth provisioning property.
    ```typescript
  clearPasswordAuth(): void
  ```
- [clearTenantId](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverauthconfigproxy/cleartenantid.md) -- `method` -- Clears the TenantId provisioning property.
    ```typescript
  clearTenantId(): void
  ```
