zachary_plencner.secret_server.create_secret_server_secret (2.1.3) — module

Create a secret in Delineas Secret Server

| "added in version" 1.0.0 of zachary_plencner.secret_server"

Authors: Zachary Plencner (@zachary-plencner)

Install collection

Install with ansible-galaxy collection install zachary_plencner.secret_server:==2.1.3


Add to requirements.yml

  collections:
    - name: zachary_plencner.secret_server
      version: 2.1.3

Description

Create a secret in Delineas Secret Server using the Secret Servers API as a backend. Returns a secret variable that contains the secrets username and password.

Inputs

    
secret_name:
    description: The display name of the secret
    required: true
    type: str

secret_items:
    description: Additional parameters for the chosen secret template
    required: false
    type: dict

secret_folder:
    description: The name of the folder the secret will be placed in
    required: true
    type: str

secret_template:
    description: The type of secret you want to create
    required: true
    type: str

secret_overwrite:
    description: Flag to enable overwriting of an existing secret
    required: false
    type: bool

secret_server_host:
    description: The hostname of your Secret Server instance
    required: true
    type: str

use_random_password:
    description: When true will generate a random password with requirements for secret_items.Password
    required: false
    type: bool

random_password_length:
    description: Number of characters the random password will contains
    required: false
    type: int

secret_server_password:
    description: The password of the user that will be used to contact the Secret Server
      API
    required: true
    type: str

secret_server_username:
    description: The username of the user that will be used to contact the Secret Server
      API
    required: true
    type: str

sha512_encrypt_password:
    description: Output for password parameter will be sha512 encrypted for security purposes
    required: false
    type: bool

random_password_alphabet:
    description: String containing all allowed characters for random password generation
    required: false
    type: str

secret_server_username_domain:
    description: The domain pertaining to your username. This is prepend to your username
    required: false
    type: str

random_password_digit_requirement:
    description: Minimum number of digit characters the random password will contain
    required: false
    type: int

random_password_special_requirement:
    description: Minimum number of special characters the random password will contain
    required: false
    type: int

random_password_lowercase_requirement:
    description: Minimum number of lowercase characters the random password will contain
    required: false
    type: int

random_password_uppercase_requirement:
    description: Minimum number of uppercase characters the random password will contain
    required: false
    type: int

Outputs

secret:
  description: The items contained in the secret
  returned: always
  secret:
    item1: itemValue1
    item2: itemValue2
    item3: itemValue3
    itemN: itemValueN
  type: str