// *** WARNING: this file was generated by pulumigen. *** 
// *** Do not edit by hand unless you're certain you know what you are doing! *** 

using System;
using System. Collections. Generic;
using System. Collections. Immutable;
using System. Threading. Tasks;
using Pulumi. Serialization;

namespace Pulumi. Kubernetes. Types. Inputs. Core. V1
{

    /// <summary>
    /// SecretEnvSource selects a Secret to populate the environment variables with. 
    /// 
    /// The contents of the target Secret's Data field will represent the key-value pairs as environment variables. 
    /// </summary>
    public class SecretEnvSourceArgs : Pulumi. ResourceArgs
    {
        /// <summary>
        /// Name of the referent.  More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
        /// </summary>
        [Input("name")]
        public Input<string>?  Name { get; set; }

        /// <summary>
        /// Specify whether the Secret must be defined
        /// </summary>
        [Input("optional")]
        public Input<bool>?  Optional { get; set; }

        public SecretEnvSourceArgs()
        {
        }
    }
}
