thalesgroup.ciphertrust.cm_resource_delete module – Delete CipherTrust Manager resource using ID
Note
This module is part of the thalesgroup.ciphertrust collection (version 1.0.0).
To install it, use: ansible-galaxy collection install thalesgroup.ciphertrust
.
To use it in a playbook, specify: thalesgroup.ciphertrust.cm_resource_delete
.
New in thalesgroup.ciphertrust 1.0.0
Synopsis
This is a Thales CipherTrust Manager module for working with the CipherTrust Manager APIs, more specifically delete resource APIs.
Parameters
Parameter |
Comments |
---|---|
This is a string type of option that can have either the name of the ID of the resource to be deleted |
|
this holds the connection parameters required to communicate with an instance of CipherTrust Manager (CM) holds IP/FQDN of the server, username, password, and port |
|
admin password of CM |
|
CM Server IP or FQDN |
|
Port on which CM server is listening Default: |
|
internal or private IP of the CM Server, if different from the server_ip |
|
admin username of CM |
|
if SSL verification is required Choices:
|
|
This is a string type of option that can hold the resource type. Choices:
|
Examples
# Delete Resource at CipherTrust Manager
- name: "Delete key on Ciphertrust Manager"
thalesgroup.ciphertrust.cm_resource_delete:
localNode:
server_ip: "IP/FQDN of CipherTrust Manager"
server_private_ip: "Private IP in case that is different from above"
server_port: 5432
user: "CipherTrust Manager Username"
password: "CipherTrust Manager Password"
verify: false
key: "resource_id"
resource_type: "keys"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
String with response Returned: changed or success Sample: |