def METHOD_NAME(keys_file: pathlib.Path) -> None:
    key = jwk.JWK(generate='EC')
    with keys_file.open("wb") as f:
        f.write(key.export_to_pem(private_key=True, password=None))
    keys_file.chmod(0o600)