KMIP role credential generation using Terraform

Hi guys,

I was not able to find the way to be able to use vault provider to generate credentials for a kmip role. For example:

vault write -format=json \
    kmip/scope/finance/role/accounting/credential/generate \
    format=pem > credential.json

I can create with terraform the kmip server, the finance scope and accounting role, but I’m not able to generate credentials. Is this supported by vault provider?

Don’t think such resource exists, but I guess you should be able to use vault_generic_endpoint to achieve what you wanted. would love to see your finished code.