zachary_plencner.secret_server.get_secret_server_secret_field (2.1.3) — module

Retreives a specific field from a secret in Delineas Secret Server

| "added in version" 2.1.3 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 specific field from a secret in Delineas Secret Server using the Secret Servers API as a backend. Returns the target field.

Inputs

    
dest:
    description: Destination to save to file/attachment
    required: false
    type: str

is_file:
    description: If the field is a file/attachment
    required: false
    type: bool

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_field:
    description: The name of the field you want to get from the target secret
    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

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

Outputs

secret_field:
  description: The username and password of the secret
  returned: always
  type: str