2024-12-03 14:24:40 +00:00
|
|
|
namespace AIStudio.Tools;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents an interface defining a secret identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ISecretId
|
|
|
|
|
{
|
2026-02-07 21:59:41 +00:00
|
|
|
/// <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; }
|
|
|
|
|
}
|