# AzureNpgsqlSettings

- Kind: `class`
- Package: [Aspire.Azure.Npgsql](/reference/api/csharp/aspire.azure.npgsql.md)
- Version: `13.3.0`
- Namespace: `Aspire.Azure.Npgsql`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/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.
