# EntraIdClientSecretCredential Properties

- Package: [Aspire.Hosting.Azure.EntraId](/reference/api/csharp/aspire.hosting.azure.entraid.md)
- Type: [EntraIdClientSecretCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidclientsecretcredential.md)
- Kind: `Properties`
- Members: `2`

A client secret credential for an Entra ID application.

<a id="clientsecret"></a>

## ClientSecret

- Name: `ClientSecret`
- Modifiers: `get; init`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/EntraIdApplicationResource.cs)

Gets the client secret as a parameter resource.

```csharp
public ParameterResource ClientSecret { get; init; }
```

<a id="sourcetype"></a>

## SourceType

- Name: `SourceType`
- Modifiers: `override` `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/EntraIdApplicationResource.cs#L1106)

Gets the `SourceType` string used in the Microsoft.Identity.Web configuration.

```csharp
public override string SourceType { get; }
```
