Class UserCredentials
Contains information that describes identity information. This is use to tell the kubernetes cluster who you are.
Inherited Members
Namespace: k8s.KubeConfigModels
Assembly: KubernetesClient.dll
Syntax
public class UserCredentials
Constructors
View SourceUserCredentials()
Declaration
public UserCredentials()
Properties
View SourceAuthProvider
Gets or sets custom authentication plugin for the kubernetes cluster.
Declaration
public AuthProvider AuthProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| AuthProvider |
ClientCertificate
Gets or sets the path to a client cert file for TLS.
Declaration
public string ClientCertificate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientCertificateData
Gets or sets PEM-encoded data from a client cert file for TLS. Overrides ClientCertificate.
Declaration
public string ClientCertificateData { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientKey
Gets or sets the path to a client key file for TLS.
Declaration
public string ClientKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientKeyData
Gets or sets PEM-encoded data from a client key file for TLS. Overrides ClientKey.
Declaration
public string ClientKeyData { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Extensions
Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields.
Declaration
public IEnumerable<NamedExtension> Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<NamedExtension> |
ExternalExecution
Gets or sets external command and its arguments to receive user credentials
Declaration
public ExternalExecution ExternalExecution { get; set; }
Property Value
| Type | Description |
|---|---|
| ExternalExecution |
Impersonate
Gets or sets the username to impersonate. The name matches the flag.
Declaration
public string Impersonate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImpersonateGroups
Gets or sets the groups to impersonate.
Declaration
public IEnumerable<string> ImpersonateGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |
ImpersonateUserExtra
Gets or sets additional information for impersonated user.
Declaration
public Dictionary<string, string> ImpersonateUserExtra { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
Password
Gets or sets the password for basic authentication to the kubernetes cluster.
Declaration
public string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Token
Gets or sets the bearer token for authentication to the kubernetes cluster.
Declaration
public string Token { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserName
Gets or sets the username for basic authentication to the kubernetes cluster.
Declaration
public string UserName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |