devopcasting.gcp_modules.gcp_secret_manager (1.0.0) — module

| "added in version" 1.0.0 of devopcasting.gcp_modules"

Authors: Prashant Pokhriyal (https://github.com/Devopcasting)

Install collection

Install with ansible-galaxy collection install devopcasting.gcp_modules:==1.0.0


Add to requirements.yml

  collections:
    - name: devopcasting.gcp_modules
      version: 1.0.0

Description

Secret Manager lets you store, manage and secure access to your application secrets

Inputs

    
name:
    description: Give the name for your secret
    required: true
    type: str

state:
    choices: present or absent
    default: present
    description: Define the state of the secret
    type: str

project_id:
    description: Give the name of the GCP project id, where secret will be created
    required: true
    type: str

secret_file:
    description: Give the local path of the file containing your secret/sensitive datas
    required: true
    type: str

enable_secret_version:
    description: Enable the given secret version, enabling it to be accessed after previously
      being disabled. Other secrets versions are unaffected.
    type: int

destroy_secret_version:
    description: Destroy the given secret version, making the payload irrecoverable. Other
      secrets versions are unaffected.
    type: int

disable_secret_version:
    description: Disable the given secret version. Future requests will throw an error
      until the secret version is enabled. Other secrets versions are unaffected.
    type: int