UNPKG

token-guardian

Version:

A comprehensive solution for protecting and managing API tokens and secrets

22 lines (21 loc) 494 B
/** * Configuration options for a specific token */ export interface TokenConfig { /** * Whether to enable automatic rotation for this token */ rotationEnabled: boolean; /** * Interval for token rotation (e.g. '30d', '6h') */ rotationInterval: string; /** * Whether to embed canary markers in this token */ canaryEnabled: boolean; /** * Type of service this token is for (e.g. 'github', 'aws') */ serviceType: string; }