# AzureNpgsqlSettings

- Kind: `class`
- Package: [Aspire.Azure.Npgsql](/reference/api/csharp/aspire.azure.npgsql.md)
- Version: `13.4.0`
- Namespace: `Aspire.Azure.Npgsql`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Azure.Npgsql/AzureNpgsqlSettings.cs)
- Inherits: `NpgsqlSettings`

Provides the client configuration settings for connecting to an Azure Database for PostgreSQL using Npgsql.

## Definition

```csharp
namespace Aspire.Azure.Npgsql;

public sealed class AzureNpgsqlSettings
    : Aspire.Npgsql.NpgsqlSettings
{
    // ...
}
```

## Constructors

- [AzureNpgsqlSettings](/reference/api/csharp/aspire.azure.npgsql/azurenpgsqlsettings/constructors.md#constructor)

## Properties

- [Credential](/reference/api/csharp/aspire.azure.npgsql/azurenpgsqlsettings/properties.md#credential) : `TokenCredential?` `get; set` -- Gets or sets the credential used to authenticate to the Azure Database for PostgreSQL.
