hitachivantara.vspone_object.oneobject_node.hv_kmip module – Manage KMIP servers on VSP One Object
Note
This module is part of the hitachivantara.vspone_object collection (version 1.1.1).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install hitachivantara.vspone_object. You need further requirements to be able to use this module, see Requirements for details.
To use it in a playbook, specify: hitachivantara.vspone_object.oneobject_node.hv_kmip.
New in hitachivantara.vspone_object 1.0.0
Synopsis
- This module manages KMIP servers on Hitachi VSP One Object Node.
Requirements
The below requirements are needed on the host that executes this module.
- python >= 3.7
Parameters
Parameter | Comments |
|---|---|
connection_info dictionary / required | Information required to establish a connection to the system. |
|
cluster_name string / required |
Cluster name of the system. |
|
http_request_retry_interval_seconds integer / required |
Interval between retries of an HTTP request. |
|
http_request_retry_times integer / required |
Number of times to retry an HTTP request. |
|
http_request_timeout integer / required |
Timeout for HTTP requests. |
|
oneobject_node_client_id string / required |
Id for authentication. |
|
oneobject_node_client_secret string |
Secret for authentication. |
|
oneobject_node_username string / required |
Username for authentication. |
|
oneobject_node_userpass string / required |
Password for authentication. |
|
region string / required |
Region of the system. |
|
ssl dictionary |
SSL configuration. |
|
ca_certs string |
Path to the CA certificates file. Default: |
|
ca_path string |
Path to the CA certificate file. Default: |
|
check_hostname boolean |
Whether to check the hostname. Choices:
|
|
client_cert string |
Path to the client certificate file. Default: |
|
client_key string |
Path to the client key file. Default: |
|
ssl_cipher string |
SSL cipher to use. Default: |
|
ssl_version string |
SSL version to use. Default: |
|
validate_certs boolean / required |
Whether to validate SSL certificates. Choices:
|
spec dictionary / required | Request parameters for managing KMIP servers. |
|
host string |
The host name or IP address of the KMIP server. |
|
https_ciphers string |
A string of comma-separated cyphers to use for HTTPS connections. The default group supports interoperability with a range of commercial key managers. |
|
is_tls12_enabled boolean |
Whether TLS 1.2 is enabled for the KMIP server.
TLS v1.2 support is provided for backward compatibility only. Choices:
|
|
kmip_protocol string |
The version of the KMIP protocol assigned to the server. Default: |
|
name string / required |
The user-assigned name of the KMIP server you want to add. Type up to 63 Unicode characters. The server name must be unique. |
|
port integer |
The port number of the KMIP server. |
|
uuid string |
The UUID of the server. |
state string / required | Set operation to Set operation to Set operation to Set operation to Choices:
|
Attributes
Attribute | Support | Description |
|---|---|---|
check_mode | Support: none | Determines if the module should run in check mode. |
Examples
- name: Add KMIP server to VSP One Object
hitachivantara.vspone_object.oneobject_node.hv_certificates:
connection_info:
http_request_timeout: 300
http_request_retry_times: 3
http_request_retry_interval_seconds: 5
cluster_name: "your_cluster_name"
region: "your_region"
oneobject_node_username: "your_username"
oneobject_node_userpass: "your_password"
oneobject_node_client_id: "vsp-object-external-client"
state: "present"
spec:
name: "test_kmip_server"
host: "urloripaddressofkmipserver"
port: 5696
is_tls12_enabled: true
kmip_protocol: "V1_3"
https_ciphers: "TLS_RSA_WITH_AES_128_CBC_SHA256"
- name: Update a KMIP server from VSP One Object
hitachivantara.vspone_object.oneobject_node.hv_kmip:
connection_info:
http_request_timeout: 300
http_request_retry_times: 3
http_request_retry_interval_seconds: 5
cluster_name: "your_cluster_name"
region: "your_region"
oneobject_node_username: "your_username"
oneobject_node_userpass: "your_password"
oneobject_node_client_id: "vsp-object-external-client"
state: "modify"
spec:
name: "test_kmip_server_update"
host: "urloripaddressofkmipserver"
port: 5696
is_tls12_enabled: true
kmip_protocol: "V1_3"
https_ciphers: "TLS_RSA_WITH_AES_128_CBC_SHA256"
uuid: "f2e39602-d960-4812-8c89-3b31212dfdca"
- name: Promote a KMIP server from VSP One Object
hitachivantara.vspone_object.oneobject_node.hv_kmip:
connection_info:
http_request_timeout: 300
http_request_retry_times: 3
http_request_retry_interval_seconds: 5
cluster_name: "your_cluster_name"
region: "your_region"
oneobject_node_username: "your_username"
oneobject_node_userpass: "your_password"
oneobject_node_client_id: "vsp-object-external-client"
state: "promote"
spec:
name: "test_kmip_server"
- name: Delete a KMIP server from VSP One Object
hitachivantara.vspone_object.oneobject_node.hv_kmip:
connection_info:
http_request_timeout: 300
http_request_retry_times: 3
http_request_retry_interval_seconds: 5
cluster_name: "your_cluster_name"
region: "your_region"
oneobject_node_username: "your_username"
oneobject_node_userpass: "your_password"
oneobject_node_client_id: "vsp-object-external-client"
state: "absent"
spec:
name: "test_kmip_server"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
kmip_server dictionary | KMIP server and its attributes. Returned: success |
|
host string |
The host name or IP address of the KMIP server. Returned: success Sample: |
|
https_ciphers string |
A string of comma-separated cyphers. Returned: success Sample: |
|
is_online boolean |
Whether the KMIP server is online. Returned: success Sample: |
|
is_primary boolean |
Whether the KMIP server is the primary server. Returned: success Sample: |
|
is_tls12_enabled boolean |
Whether TLS v1.2 is enabled on the KMIP server. Returned: success Sample: |
|
kmip_protocol string |
The version of the KMIP protocol. Returned: success Sample: |
|
name string |
The name of the KMIP server. Returned: success Sample: |
|
port integer |
The port number of the KMIP server. Returned: success Sample: |
|
uuid string |
The UUID of the server. Returned: success Sample: |
Collection links
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/collections/hitachivantara/vspone_object/oneobject_node.hv_kmip_module.html