Using Namespace() was not successfull on my part: the `dns_over_tls` option was 
still set to True, but I finally succeeded by using SimpleNamespace():

```
from ipaclient.install.client import update_ssh_keys
from ipaplatform.paths import paths
from types import SimpleNamespace

options = SimpleNamespace(
    create_sshfp=True,
    dns_over_tls=False,
)

update_ssh_keys(
    api.env.host, paths.SSH_CONFIG_DIR, options, api.env.server
)
```

Thank you very much for putting me in the right direction.
-- 
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to