thalesgroup.ciphertrust.group_save (1.0.0) — module

Create or update groups

| "added in version" 1.0.0 of thalesgroup.ciphertrust"

Authors: Anurag Jain, Developer Advocate Thales Group

Install collection

Install with ansible-galaxy collection install thalesgroup.ciphertrust:==1.0.0


Add to requirements.yml

  collections:
    - name: thalesgroup.ciphertrust
      version: 1.0.0

Description

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

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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"

Inputs

    
name:
    default: null
    description: name of the group
    required: true
    type: str

op_type:
    choices:
    - create
    - patch
    description: Operation to be performed
    required: true
    type: str

old_name:
    default: null
    description:
    - Group's original name that needs to be patched.
    - Only required if the op_type is patch
    type: str

localNode:
    description:
    - 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
    required: true
    suboptions:
      password:
        description: admin password of CM
        required: true
        type: str
      server_ip:
        description: CM Server IP or FQDN
        required: true
        type: str
      server_port:
        default: 5432
        description: Port on which CM server is listening
        required: true
        type: int
      server_private_ip:
        description: internal or private IP of the CM Server, if different from the server_ip
        required: true
        type: str
      user:
        description: admin username of CM
        required: true
        type: str
      verify:
        default: false
        description: if SSL verification is required
        required: true
        type: bool
    type: dict

app_metadata:
    default: null
    description:
    - 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.
    required: false
    type: dict

user_metadata:
    default: null
    description:
    - 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.
    required: true
    type: dict

client_metadata:
    default: null
    description:
    - 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.
    required: false
    type: dict