blob: 4fb5892ca4ca6531ef62dfb55f75bf5c641a785d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using PKISharp.WACS.Plugins.Base;
using PKISharp.WACS.Plugins.Base.Options;
using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.StorePlugins
{
[Plugin("e57c70e4-cd60-4ba6-80f6-a41703e21031")]
internal class PemFilesOptions : StorePluginOptions<PemFiles>
{
internal const string PluginName = "PemFiles";
public override string Name => PluginName;
public override string Description => "PEM encoded files (Apache, nginx, etc.)";
/// <summary>
/// Path to the .pem directory
/// </summary>
public string? Path { get; set; }
/// <summary>
/// Show details to the user
/// </summary>
/// <param name="input"></param>
public override void Show(IInputService input)
{
base.Show(input);
input.Show("Path", Path, level: 1);
}
}
}
|