wip: doctor/cli/docs/api to vector db consolidation; api hardening for descriptions, tenant, and scopes; migrations and conversions of all DALs to EF v10
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
||||
|
||||
namespace StellaOps.VexHub.WebService.Security;
|
||||
|
||||
/// <summary>
|
||||
/// Named authorization policy constants for the VexHub service.
|
||||
/// VexHub uses API-key authentication. All VEX query endpoints require a valid,
|
||||
/// authenticated API key. Scope enforcement is delegated to the API key configuration.
|
||||
/// </summary>
|
||||
internal static class VexHubPolicies
|
||||
{
|
||||
/// <summary>Policy for querying and reading VEX statements. Requires an authenticated API key.</summary>
|
||||
public const string Read = "VexHub.Read";
|
||||
|
||||
/// <summary>Policy for administrative operations (ingestion, source management). Requires an authenticated API key with admin scope.</summary>
|
||||
public const string Admin = "VexHub.Admin";
|
||||
}
|
||||
Reference in New Issue
Block a user