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

View Source

UserCredentials()

Declaration
public UserCredentials()

Properties

View Source

AuthProvider

Gets or sets custom authentication plugin for the kubernetes cluster.

Declaration
public AuthProvider AuthProvider { get; set; }
Property Value
Type Description
AuthProvider
View Source

ClientCertificate

Gets or sets the path to a client cert file for TLS.

Declaration
public string ClientCertificate { get; set; }
Property Value
Type Description
string
View Source

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
View Source

ClientKey

Gets or sets the path to a client key file for TLS.

Declaration
public string ClientKey { get; set; }
Property Value
Type Description
string
View Source

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
View Source

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>
View Source

ExternalExecution

Gets or sets external command and its arguments to receive user credentials

Declaration
public ExternalExecution ExternalExecution { get; set; }
Property Value
Type Description
ExternalExecution
View Source

Impersonate

Gets or sets the username to impersonate. The name matches the flag.

Declaration
public string Impersonate { get; set; }
Property Value
Type Description
string
View Source

ImpersonateGroups

Gets or sets the groups to impersonate.

Declaration
public IEnumerable<string> ImpersonateGroups { get; set; }
Property Value
Type Description
IEnumerable<string>
View Source

ImpersonateUserExtra

Gets or sets additional information for impersonated user.

Declaration
public Dictionary<string, string> ImpersonateUserExtra { get; set; }
Property Value
Type Description
Dictionary<string, string>
View Source

Password

Gets or sets the password for basic authentication to the kubernetes cluster.

Declaration
public string Password { get; set; }
Property Value
Type Description
string
View Source

Token

Gets or sets the bearer token for authentication to the kubernetes cluster.

Declaration
public string Token { get; set; }
Property Value
Type Description
string
View Source

UserName

Gets or sets the username for basic authentication to the kubernetes cluster.

Declaration
public string UserName { get; set; }
Property Value
Type Description
string
  • View Source
In this article
Back to top Generated by DocFX