Show / Hide Table of Contents

Class UserCredentials

Contains information that describes identity information. This is use to tell the kubernetes cluster who you are.

Inheritance
object
UserCredentials
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.KubeConfigModels
Assembly: KubernetesClient.dll
Syntax
public class UserCredentials

Constructors

UserCredentials()

Declaration
public UserCredentials()

Properties

AuthProvider

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
In this article
Back to top Generated by DocFX