# KnownParameters

- Kind: `class`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)

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

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public static class KnownParameters
{
    // ...
}
```

## Fields

- [KeyVaultName](/reference/api/csharp/aspire.hosting.azure/knownparameters/fields.md#keyvaultname) : `string` `static` `obsolete` -- The name of the key vault resource used to store secret outputs.
- [Location](/reference/api/csharp/aspire.hosting.azure/knownparameters/fields.md#location) : `string` `static` -- The location of the resource. This is required for all resources.
- [LogAnalyticsWorkspaceId](/reference/api/csharp/aspire.hosting.azure/knownparameters/fields.md#loganalyticsworkspaceid) : `string` `static` `obsolete` -- The resource id of the log analytics workspace.
- [PrincipalId](/reference/api/csharp/aspire.hosting.azure/knownparameters/fields.md#principalid) : `string` `static` -- The principal id of the current user or managed identity.
- [PrincipalName](/reference/api/csharp/aspire.hosting.azure/knownparameters/fields.md#principalname) : `string` `static` -- The principal name of the current user or managed identity.
- [PrincipalType](/reference/api/csharp/aspire.hosting.azure/knownparameters/fields.md#principaltype) : `string` `static` -- The principal type of the current user or managed identity. Either 'User' or 'ServicePrincipal'.
- [UserPrincipalId](/reference/api/csharp/aspire.hosting.azure/knownparameters/fields.md#userprincipalid) : `string` `static` -- The principal id of the user doing the deployment.
