AI-Studio/app/MindWork AI Studio/Tools/ISecretId.cs

24 lines
657 B
C#
Raw Normal View History

2024-12-03 14:24:40 +00:00
namespace AIStudio.Tools;
/// <summary>
/// Represents an interface defining a secret identifier.
/// </summary>
public interface ISecretId
{
/// <summary>
/// Prefix used for secrets imported from enterprise configuration plugins.
/// This helps distinguish enterprise-managed keys from user-added keys
/// in the OS keyring.
/// </summary>
public const string ENTERPRISE_KEY_PREFIX = "config-plugin";
2024-12-03 14:24:40 +00:00
/// <summary>
/// The unique ID of the secret.
/// </summary>
public string SecretId { get; }
/// <summary>
/// The instance name of the secret.
/// </summary>
public string SecretName { get; }
}