thalesgroup.ciphertrust.connection_manager_oracle module – Manage Oracle Cloud Infrastructure connections

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

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 Connection Manager API for AWS

Parameters

Parameter

Comments

connection_id

string

Unique ID of the connection to be updated

Default: "none"

credentials

dictionary

Credentials of the OCI connection

key_file

string

Private key file for OCI connection (PEM format)

pass_phrase

string

Passphrase of the encrypted key file

description

string

Description about the connection

Default: "none"

fingerprint

string

Fingerprint of the public key added to this user

Default: "none"

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

meta

dictionary

Optional end-user or service data stored with the connection

name

string / required

Unique connection name

Default: "none"

op_type

string / required

Operation to be performed

Choices:

  • "create"

  • "patch"

products

list / elements=string

Array of the CipherTrust products associated with the connection.

Default: ["none"]

region

string

An Oracle Cloud Infrastructure region

Default: "none"

tenancy_ocid

string

OCID of the tenancy

Default: "none"

user_ocid

string

OCID of the user

Default: "none"

Examples

- name: "Create Oracle Connection"
  thalesgroup.ciphertrust.connection_manager_oracle:
    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: "OCI Connection"
    products:
      - cckm
    user_ocid: "ocid1.user.oc1..asdaaaaat2x4wy2jz4iat56kk7kqbzcevwyrasdty2bquujjhwcstmcfvbfq"
    tenancy_ocid: "ocid1.tenancy.oc1..7777aaaadixb52q2mvlsn634ql577776hb2vg7audpd4d4mcf5zluymff644"
    fingerprint: "c4:a9:89:47:21:11:11:ac:c4:a9:89:47:21:31:9e"
    region: ap-sydney-1
    credentials: "private key"
    pass_phrase: password

- name: "Update Oracle Connection"
  thalesgroup.ciphertrust.connection_manager_oracle:
    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

Authors

  • Anurag Jain, Developer Advocate Thales Group