# AzureNpgsqlEntityFrameworkCorePostgreSQLSettings Properties

- Package: [Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL](/reference/api/csharp/aspire.azure.npgsql.entityframeworkcore.postgresql.md)
- Type: [AzureNpgsqlEntityFrameworkCorePostgreSQLSettings](/reference/api/csharp/aspire.azure.npgsql.entityframeworkcore.postgresql/azurenpgsqlentityframeworkcorepostgresqlsettings.md)
- Kind: `Properties`
- Members: `1`

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

## Credential

- Name: `Credential`
- Modifiers: `nullable` `get; set`
- Returns: `TokenCredential?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL/AzureNpgsqlEntityFrameworkCorePostgreSQLSettings.cs)

Gets or sets the credential used to authenticate to the Azure Database for PostgreSQL.

```csharp
public TokenCredential? Credential { get; set; }
```
