https://pulumi.com logo
#general
Title
# general
c

cold-coat-35200

04/23/2020, 12:35 PM
Hi, in the vault provider, is it possible to set the default
max_versions
option for a kv secret engine? the following does not work:
Copy code
new vault.Mount(name,{
    type: 'kv-v2',
    path: "something",
    options: {
        max_versions: 100
    }
})
that's the only way I found, can't see any related resource or option for the config endpoint: https://www.vaultproject.io/api-docs/secret/kv/kv-v2#configure-the-kv-engine
figured out:
Copy code
new vault.generic.Endpoint(
      name,
      {
        path: `something/config`,
        disableDelete: true,
        dataJson: `
      {
        "cas_required": false,
        "max_versions": 100
      }
      `
      }
    )