summaryrefslogtreecommitdiffstats
path: root/src/plugin.validation.dns.dreamhost/DreamhostOptions.cs
blob: b0327ad3f88532bb6a949d6a2f230ed615960ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Newtonsoft.Json;
using PKISharp.WACS.Plugins.Base;
using PKISharp.WACS.Plugins.Base.Options;
using PKISharp.WACS.Services.Serialization;

namespace PKISharp.WACS.Plugins.ValidationPlugins
{
    [Plugin("2bfb3ef8-64b8-47f1-8185-ea427b793c1a")]
    internal class DreamhostOptions : ValidationPluginOptions<DreamhostDnsValidation>
    {
        public override string Name => "Dreamhost";

        public override string Description => "Create verification records in Dreamhost DNS";

        public override string ChallengeType => Constants.Dns01ChallengeType;

        [JsonProperty(propertyName: "SecretSafe")]
        public ProtectedString ApiKey { get; set; }
    }
}