openssl_privatekey_info
Inspect cryptographic information natively on the target
Collection: community.crypto
Full Name: community.crypto.openssl_privatekey_info
Synopsis
Inspect cryptographic information natively on the target
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| select_crypto_backend | string | auto | Compatibility selector: auto or cryptography; execution is native Go | |
| path | string | Input file on the target; mutually exclusive with content | ||
| content | string | PEM input text; mutually exclusive with path | ||
| passphrase | string | Passphrase for an encrypted PEM private key | ||
| return_private_key_data | bool | false | Include private mathematical parameters in the result | |
| check_consistency | bool | false | Check mathematical key consistency |
Example
yaml
- name: Inspect cryptographic information
community.crypto.openssl_privatekey_info:
path: /etc/ssl/example.pem
register: crypto_information