Table of Contents

Class SecretKey

Namespace
FoundationaLLM.Common.Models.Authorization
Assembly
FoundationaLLM.Common.dll

Represents a secret key.

public class SecretKey
Inheritance
SecretKey
Derived
Inherited Members
Extension Methods

Properties

Active

Gets or sets the flag indicating whether the secret key is active or not.

[JsonPropertyName("active")]
public required bool Active { get; set; }

Property Value

bool

ContextId

Gets or sets the context identifier of the secret key.

[JsonPropertyName("context_id")]
public required string ContextId { get; set; }

Property Value

string

Description

Gets or sets the description of the secret key.

[JsonPropertyName("description")]
public required string Description { get; set; }

Property Value

string

ExpirationDate

Gets or sets the expiration date of the secret key.

[JsonPropertyName("expiration_date")]
public required DateTimeOffset ExpirationDate { get; set; }

Property Value

DateTimeOffset

Id

Gets or sets the unique identifier of the secret key.

[JsonPropertyName("id")]
public required string Id { get; set; }

Property Value

string

InstanceId

Gets or sets the FoundationaLLM instance identifier.

[JsonPropertyName("instance_id")]
public required string InstanceId { get; set; }

Property Value

string