vault_generic_secret

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a vault generic secret with the given id. The path is set to "secret/foo" and the data_json is set to a JSON object with the property "foo":"bar".

    Shortcut: tf_vault_generic_secret

    resource "vault_generic_secret" "vault_generic_secret_id" {
       path        = "secret/foo"
       data_json   = <<EOT
       {
           "foo":"bar"
       }
    EOT
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.