Class NuGetSetApiKey
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Stores an API key for a package source.
public sealed record NuGetSetApiKey : NuGetConfiguredCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetConfiguredCommand>, IEquatable<NuGetSetApiKey>Inheritance
Implements
Properties
ApiKey
The redacted API key sent to the package source.
public Secret? ApiKey { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Source
The package source associated with the stored API key.
public string? Source { get; init; }