Skip to content

Feature Request: Add Terraform support for Key Management Server (KMS) V4 #924

@Haroon-Dweikat-Ntx

Description

@Haroon-Dweikat-Ntx

Feature Request: Add Terraform support for Key Management Server (KMS) V4 API (resource + data sources )

Is your feature request related to a problem? Please describe.

Currently, Terraform users cannot manage Key Management Servers (KMS) via the Nutanix V4 API. This limits automation and forces users to configure KMS resources manually or outside of Terraform, which increases complexity and reduces consistency across infrastructure deployments.

Describe the solution you'd like

Introduce full Terraform support for managing Key Management Servers (KMS) via the V4 API, including:

  • Resource: nutanix_key_management_server_v2 for creating, updating, and deleting KMS resources.
  • Data Sources:
    • nutanix_key_management_server_v2 to fetch a single KMS.
    • nutanix_key_management_servers_v2 to list all KMS resources.
  • Documentation: Clear examples and guidance for valid and invalid configurations, including integration with Azure Key Vault and other KMS endpoints.
  • Tests: Comprehensive CRUD and negative test coverage to ensure reliability, error handling, and integration correctness.

Describe alternatives you've considered

  • Manual creation and management of KMS resources outside of Terraform (less efficient, error-prone).

This combined feature will enable Terraform users to fully automate KMS management in Nutanix environments with improved reliability, maintainability, and integration with external services like Azure Key Vault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions