# ServiceAccountTokenProjectionV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.5.1-preview.1.26420.4`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/69db530a4816698cf1d5fa4557933e0ac4f127c6/src/Aspire.Hosting.Kubernetes/Resources/ServiceAccountTokenProjectionV1.cs)

Represents a service account token source within a projected volume.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes.Resources;

public sealed class ServiceAccountTokenProjectionV1
{
    // ...
}
```

## Constructors

- [ServiceAccountTokenProjectionV1](/reference/api/csharp/aspire.hosting.kubernetes/serviceaccounttokenprojectionv1/constructors.md#constructor)

## Properties

- [Audience](/reference/api/csharp/aspire.hosting.kubernetes/serviceaccounttokenprojectionv1/properties.md#audience) : `string?` `get; set` -- Gets or sets the intended audience of the token.
- [ExpirationSeconds](/reference/api/csharp/aspire.hosting.kubernetes/serviceaccounttokenprojectionv1/properties.md#expirationseconds) : `long?` `get; set` -- Gets or sets the requested token expiration time in seconds.
- [Path](/reference/api/csharp/aspire.hosting.kubernetes/serviceaccounttokenprojectionv1/properties.md#path) : `string` `get; set` -- Gets or sets the relative path where the token will be projected.
