Class CredentialHandle
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
An opaque handle for a credential stored by gateway credential storage. Never authored by callers.
public sealed record CredentialHandle : IEquatable<CredentialHandle>
- Inheritance
-
CredentialHandle
- Implements
- Inherited Members
Constructors
CredentialHandle(string, string, IReadOnlyDictionary<string, string>)
An opaque handle for a credential stored by gateway credential storage. Never authored by callers.
public CredentialHandle(string Driver, string Handle, IReadOnlyDictionary<string, string> Metadata)
Parameters
DriverstringThe credential driver or storage owner that owns the handle.
HandlestringThe opaque handle string.
MetadataIReadOnlyDictionary<string, string>Non-secret metadata owned by the driver.
Properties
Driver
The credential driver or storage owner that owns the handle.
public string Driver { get; init; }
Property Value
Handle
The opaque handle string.
public string Handle { get; init; }
Property Value
Metadata
Non-secret metadata owned by the driver.
public IReadOnlyDictionary<string, string> Metadata { get; init; }