Update openssl_privatekey.py (#644)

added example for ECC
This commit is contained in:
Kloppi313
2023-08-08 13:40:24 +02:00
committed by GitHub
parent 55c94eb5c0
commit 5526fcac27

View File

@@ -106,6 +106,12 @@ EXAMPLES = r'''
community.crypto.openssl_privatekey:
path: /etc/ssl/private/ansible.com.pem
type: DSA
- name: Generate an OpenSSL private key with elliptic curve cryptography (ECC)
community.crypto.openssl_privatekey:
path: /etc/ssl/private/ansible.com.pem
type: ECC
curve: secp256r1
'''
RETURN = r'''