| 48 | } |
| 49 | |
| 50 | export interface ISecretsService { |
| 51 | /** |
| 52 | * Retrieve a secret value by key |
| 53 | * @param key Secret identifier (typically the secret ID) |
| 54 | * @param options Optional retrieval options such as a version override |
| 55 | * @returns Secret value or null if not found |
| 56 | */ |
| 57 | get( |
| 58 | key: string, |
| 59 | options?: { version?: number }, |
| 60 | ): Promise<{ value: string; version: number } | null>; |
| 61 | |
| 62 | /** |
| 63 | * List all available secret keys |
| 64 | * @returns Array of secret keys |
| 65 | */ |
| 66 | list(): Promise<string[]>; |
| 67 | } |
| 68 | |
| 69 | export type ArtifactDestination = 'run' | 'library'; |
| 70 |
no outgoing calls
no test coverage detected