thalesgroup.ciphertrust.group_save module – Create or update groups

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.group_save.

New in thalesgroup.ciphertrust 1.0.0

Synopsis

  • This is a Thales CipherTrust Manager module for working with the CipherTrust Manager APIs, more specifically with groups management API

Parameters

Parameter

Comments

app_metadata

dictionary

A schema-less object, which can be used by applications to store information about the resource.

app_metadata is typically used by applications to store information which the end-users are not themselves allowed to change, like group membership or security roles.

client_metadata

dictionary

A schema-less object, which can be used by applications to store information about the resource.

client_metadata is typically used by applications to store information about the resource, such as client preferences.

localNode

dictionary / required

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

password

string / required

admin password of CM

server_ip

string / required

CM Server IP or FQDN

server_port

integer / required

Port on which CM server is listening

Default: 5432

server_private_ip

string / required

internal or private IP of the CM Server, if different from the server_ip

user

string / required

admin username of CM

verify

boolean / required

if SSL verification is required

Choices:

  • false ← (default)

  • true

name

string / required

name of the group

old_name

string

Group’s original name that needs to be patched.

Only required if the op_type is patch

op_type

string / required

Operation to be performed

Choices:

  • "create"

  • "patch"

user_metadata

dictionary / required

A schema-less object, which can be used by applications to store information about the resource.

user_metadata is typically used by applications to store information about the resource which the end-users are allowed to modify, such as user preferences.

Examples

- name: "Create Group"
  thalesgroup.ciphertrust.group_save:
    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
    op_type: create
    name: "group_name"

- name: "Patch Group"
  thalesgroup.ciphertrust.group_save:
    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
    op_type: patch
    old_name: "group_name"
    name: "new_name"

Authors

  • Anurag Jain, Developer Advocate Thales Group