# KnownParameters Fields

- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Type: [KnownParameters](/reference/api/csharp/aspire.hosting.azure/knownparameters.md)
- Kind: `Fields`
- Members: `7`

Known parameters that will be filled in automatically by the host environment.

## KeyVaultName

> **Obsolete:** KnownParameters.KeyVaultName is deprecated. Use an AzureKeyVaultResource instead.

- Name: `KeyVaultName`
- Modifiers: `static` `readonly`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

The name of the key vault resource used to store secret outputs.

```csharp
public static readonly string KeyVaultName
```

## Location

- Name: `Location`
- Modifiers: `static` `readonly`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

The location of the resource. This is required for all resources.

```csharp
public static readonly string Location
```

## LogAnalyticsWorkspaceId

> **Obsolete:** KnownParameters.LogAnalyticsWorkspaceId is deprecated. Use an AzureLogAnalyticsWorkspaceResource instead.

- Name: `LogAnalyticsWorkspaceId`
- Modifiers: `static` `readonly`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

The resource id of the log analytics workspace.

```csharp
public static readonly string LogAnalyticsWorkspaceId
```

## PrincipalId

- Name: `PrincipalId`
- Modifiers: `static` `readonly`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

The principal id of the current user or managed identity.

```csharp
public static readonly string PrincipalId
```

## PrincipalName

- Name: `PrincipalName`
- Modifiers: `static` `readonly`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

The principal name of the current user or managed identity.

```csharp
public static readonly string PrincipalName
```

## PrincipalType

- Name: `PrincipalType`
- Modifiers: `static` `readonly`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

The principal type of the current user or managed identity. Either 'User' or 'ServicePrincipal'.

```csharp
public static readonly string PrincipalType
```

## UserPrincipalId

- Name: `UserPrincipalId`
- Modifiers: `static` `readonly`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

The principal id of the user doing the deployment.

```csharp
public static readonly string UserPrincipalId
```

## Remarks

Referred as Deployment principal in ARM documentation.
