Class ProfileCredential
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
One credential a provider profile declares.
public sealed record ProfileCredential : IEquatable<ProfileCredential>
- Inheritance
-
ProfileCredential
- Implements
- Inherited Members
Properties
AuthStyle
Authentication style.
public string AuthStyle { get; init; }
Property Value
Description
Description.
public string Description { get; init; }
Property Value
EnvVars
Environment variables that receive the value.
public IReadOnlyList<string> EnvVars { get; init; }
Property Value
HeaderName
Header name for header auth.
public string HeaderName { get; init; }
Property Value
Name
Credential name.
public string Name { get; init; }
Property Value
PathTemplate
Path template for path auth.
public string PathTemplate { get; init; }
Property Value
QueryParam
Query parameter name for query auth.
public string QueryParam { get; init; }
Property Value
Refresh
Refresh declaration.
public ProfileCredentialRefresh? Refresh { get; init; }
Property Value
Required
Whether the credential is required.
public bool Required { get; init; }
Property Value
StablePlaceholder
Keeps one opaque, identity-bound environment placeholder across value-only provider revisions, instead of a new placeholder per revision. Requires at least one environment variable, and cannot be combined with gateway-managed refresh or a token grant. Import, update, and lint first check that the gateway supports it, because older gateways drop unknown fields silently.
public bool StablePlaceholder { get; init; }
Property Value
TokenGrant
Token grant declaration.
public CredentialTokenGrant? TokenGrant { get; init; }