dnsChallenge API key define in YAML

Is there any way to provide my CF API key directly in the YAML and not in an environment variable? Am not using docker.

Thanks

The used LetsEncrypt library seems to insist on env vars, either with the content or a file name (doc).