#### [Abblix\.Jwt\.Vault](https://www.abblix.com/en/docs/api/abblix-jwt-vault 'index')
### [Abblix\.Jwt\.Vault](https://www.abblix.com/en/docs/api/abblix-jwt-vault/Abblix.Jwt.Vault 'Abblix\.Jwt\.Vault')

## KubernetesAuthenticationOptions Class

The Kubernetes auth method: the pod proves who it is with the service\-account token Kubernetes projected
into it, and Vault answers with a token for the named role\.

```csharp
public sealed class KubernetesAuthenticationOptions
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → KubernetesAuthenticationOptions
### Properties

## KubernetesAuthenticationOptions\.Mount Property {#Abblix.Jwt.Vault.KubernetesAuthenticationOptions.Mount}

Mount path of the Kubernetes auth method \(the default mount is `kubernetes`\)\.

```csharp
public string Mount { get; set; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## KubernetesAuthenticationOptions\.Role Property {#Abblix.Jwt.Vault.KubernetesAuthenticationOptions.Role}

Name of the Vault role to log in as\. The role binds the service account and namespace to the policies
the token receives, so it is the one value that has no default\.

```csharp
public string? Role { get; set; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## KubernetesAuthenticationOptions\.ServiceAccountTokenPath Property {#Abblix.Jwt.Vault.KubernetesAuthenticationOptions.ServiceAccountTokenPath}

Path of the projected service\-account token file\. The default is where Kubernetes mounts it\. The file
is read on every login, never cached: the kubelet rotates the token at 80% of its lifetime, and the
application is the one responsible for picking the rotation up\.

```csharp
public string ServiceAccountTokenPath { get; set; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
