zachary_plencner.secret_server.get_secret_server_secret (2.1.3) — module

Retreives a secret from 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

Retreive a secret from 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 name of the secret you want to retreive from Secret Server (must
      be verbatim/exact match)
    required: true
    type: str

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

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

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

Outputs

secret:
  description: The username and password of the secret
  returned: always
  sample:
    secret_password: password123
    secret_username: username1
  type: str