<reponame>Regrau/pulumi-yandex// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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.Yandex.Inputs
{

    public sealed class CmCertificateSelfManagedArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Certificate with chain.
        /// </summary>
        [Input("certificate", required: true)]
        public Input<string> Certificate { get; set; } = null!;

        [Input("privateKey")]
        private Input<string>? _privateKey;

        /// <summary>
        /// Private key of certificate.
        /// </summary>
        public Input<string>? PrivateKey
        {
            get => _privateKey;
            set
            {
                var emptySecret = Output.CreateSecret(0);
                _privateKey = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
            }
        }

        /// <summary>
        /// Lockbox secret specification for getting private key. Structure is documented below.
        /// </summary>
        [Input("privateKeyLockboxSecret")]
        public Input<Inputs.CmCertificateSelfManagedPrivateKeyLockboxSecretArgs>? PrivateKeyLockboxSecret { get; set; }

        public CmCertificateSelfManagedArgs()
        {
        }
        public static new CmCertificateSelfManagedArgs Empty => new CmCertificateSelfManagedArgs();
    }
}
