Class WorkerSecretReferences
- Namespace
- Virtufin.WorkManager.Components
- Assembly
- Virtufin.WorkManager.dll
Validates CreateWorkerRequest.secrets: attribute name -> key of
the deployment's worker secret. Only these references are ever stored
or returned; the Runtime resolves the values (see
Virtufin.WorkManager.Runtime.Services.IWorkerSecretResolver).
public static class WorkerSecretReferences
- Inheritance
-
WorkerSecretReferences
- Inherited Members
Methods
Validate(IReadOnlyDictionary<string, string>, IReadOnlyDictionary<string, string>?)
Returns an error message, or null when the references are valid.
public static string? Validate(IReadOnlyDictionary<string, string> secrets, IReadOnlyDictionary<string, string>? config)
Parameters
secretsIReadOnlyDictionary<string, string>configIReadOnlyDictionary<string, string>