HDCrypt PKS Module Overview
Overview
HDCrypt PKS refers to the Platform Key Store (PKS) management functionality provided by the hdcryptmgr
Supported Actions
The module supports several actions:
- Adding PKS authentication (
)addpks
- Displaying PKS keys and their status (
)show
- Exporting PKS keys to a file (
)export
- Importing PKS keys from a file (
import
) - Cleaning invalid PKS keys (
)clean
Module Functionality
The hdcrypt_pks
hdcryptmgr
Usage Examples
The EXAMPLES
plugins/modules/hdcrypt_pks.py
file provides usage examples for adding PKS to a filesystem, displaying PKS keys status, exporting PKS keys to a file, importing PKS keys from a file, and cleaning invalid PKS keys.
The EXAMPLES
plugins/modules/hdcrypt_pks.py
file provides usage examples for adding PKS to a filesystem, displaying PKS keys status, exporting PKS keys to a file, importing PKS keys from a file, and cleaning invalid PKS keys.
'''
EXAMPLES = r'''
- name: Add PKS to filesystem
ibm.power_aix.hdcrypt_pks:
action: addpks
device: testlv1
method_name: initpks
- name: Display PKS keys status
ibm.power_aix.hdcrypt_pks:
action: show
- name: Export PKS key to a file
ibm.power_aix.hdcrypt_pks:
action: export
device: testlv1
location: /tmp/file123
passphrase: abc1234
no_log: True
The addpks
playbooks/demo_hdcrypt_pks.yml
playbook to add PKS authentication to a device.
ibm.power_aix.hdcrypt_pks:
action: addpks
device: "{{ lv_val }}"
This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human