pub async fn generate(
provider: &Provider,
gen: &AuthGenerator,
ctx: &GenContext,
keyring: &Keyring,
cache: &AuthCache,
) -> Result<GeneratedCredential, AuthGenError>Expand description
Generate a credential by running the provider’s auth_generator.
- Check cache → return if hit
- Expand variables in args and env
- Spawn subprocess (command or script)
- Parse output (text or JSON)
- Cache and return