diff --git a/plugins/modules/hcloud_certificate.py b/plugins/modules/hcloud_certificate.py index 7c827ef..381a089 100644 --- a/plugins/modules/hcloud_certificate.py +++ b/plugins/modules/hcloud_certificate.py @@ -232,7 +232,7 @@ class AnsibleHcloudCertificate(Hcloud): id={"type": "int"}, name={"type": "str"}, certificate={"type": "str"}, - private_key={"type": "str"}, + private_key={"type": "str", "no_log": True}, labels={"type": "dict"}, state={ "choices": ["absent", "present"], diff --git a/plugins/modules/hcloud_server.py b/plugins/modules/hcloud_server.py index f96c3d0..25e8445 100644 --- a/plugins/modules/hcloud_server.py +++ b/plugins/modules/hcloud_server.py @@ -563,7 +563,7 @@ class AnsibleHcloudServer(Hcloud): location={"type": "str"}, datacenter={"type": "str"}, user_data={"type": "str"}, - ssh_keys={"type": "list", "elements": "str"}, + ssh_keys={"type": "list", "elements": "str", "no_log": False}, volumes={"type": "list", "elements": "str"}, firewalls={"type": "list", "elements": "str"}, labels={"type": "dict"},