Class Provider
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A provider: a named set of credentials and configuration for one provider type.
public sealed record Provider : IEquatable<Provider>
- Inheritance
-
Provider
- Implements
- Inherited Members
Properties
Annotations
User annotations.
public IReadOnlyDictionary<string, string> Annotations { get; init; }
Property Value
Config
Non-secret provider configuration.
public IReadOnlyDictionary<string, string> Config { get; init; }
Property Value
CreatedAt
Creation time.
public DateTimeOffset? CreatedAt { get; init; }
Property Value
CredentialExpirationTimes
Expiration times by credential key; a missing key means the credential does not expire.
public IReadOnlyDictionary<string, DateTimeOffset> CredentialExpirationTimes { get; init; }
Property Value
CredentialHandles
Handles for secrets held by gateway credential storage (read-only).
public IReadOnlyDictionary<string, CredentialHandle> CredentialHandles { get; init; }
Property Value
Credentials
Secret values used for authentication. Gateways normally return these redacted.
public IReadOnlyDictionary<string, string> Credentials { get; init; }
Property Value
DeletedAt
Deletion time, when deletion is in progress.
public DateTimeOffset? DeletedAt { get; init; }
Property Value
Id
Immutable identifier; empty before creation.
public string Id { get; init; }
Property Value
Labels
User labels.
public IReadOnlyDictionary<string, string> Labels { get; init; }
Property Value
Name
Canonical name within the workspace.
public required string Name { get; init; }
Property Value
ProfileWorkspace
Workspace storing this provider's type profile; empty means platform scope.
public string ProfileWorkspace { get; init; }
Property Value
ResourceVersion
Optimistic-concurrency version.
public ulong ResourceVersion { get; init; }
Property Value
Type
Provider profile id this provider is created from (for example github).
public required string Type { get; init; }
Property Value
Workspace
Owning workspace; filled by the gateway.
public string Workspace { get; init; }
Property Value
Methods
ToString()
Describes the provider without printing credential values.
public override string ToString()