using YamlDotNet.Serialization;

namespace k8s.KubeConfigModels
{
    /// <summary>
    /// Contains information that describes identity information.  This is use to tell the kubernetes cluster who you are.
    /// </summary>
    [YamlSerializable]
    public class AuthProvider
    {
        /// <summary>
        /// Gets or sets the nickname for this auth provider.
        /// </summary>
        [YamlMember(Alias = "name")]
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the configuration for this auth provider
        /// </summary>
        [YamlMember(Alias = "config")]
        public Dictionary<string, string> Config { get; set; }
    }
}
