Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg
Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg
Fetches the details of a key management server identified by its unique identifier (ext_id).
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const kms = nutanix.getKeyManagementServerV2({
extId: "aa300b88-8560-4eb3-ba6c-49b0ff8c9cc1",
});
import pulumi
import pulumi_nutanix as nutanix
kms = nutanix.get_key_management_server_v2(ext_id="aa300b88-8560-4eb3-ba6c-49b0ff8c9cc1")
package main
import (
"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nutanix.GetKeyManagementServerV2(ctx, &nutanix.LookupKeyManagementServerV2Args{
ExtId: "aa300b88-8560-4eb3-ba6c-49b0ff8c9cc1",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
var kms = Nutanix.GetKeyManagementServerV2.Invoke(new()
{
ExtId = "aa300b88-8560-4eb3-ba6c-49b0ff8c9cc1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetKeyManagementServerV2Args;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var kms = NutanixFunctions.getKeyManagementServerV2(GetKeyManagementServerV2Args.builder()
.extId("aa300b88-8560-4eb3-ba6c-49b0ff8c9cc1")
.build());
}
}
variables:
kms:
fn::invoke:
function: nutanix:getKeyManagementServerV2
arguments:
extId: aa300b88-8560-4eb3-ba6c-49b0ff8c9cc1
pulumi {
required_providers {
nutanix = {
source = "pulumi/nutanix"
}
}
}
data "nutanix_getkeymanagementserverv2" "kms" {
ext_id = "aa300b88-8560-4eb3-ba6c-49b0ff8c9cc1"
}
Using getKeyManagementServerV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKeyManagementServerV2(args: GetKeyManagementServerV2Args, opts?: InvokeOptions): Promise<GetKeyManagementServerV2Result>
function getKeyManagementServerV2Output(args: GetKeyManagementServerV2OutputArgs, opts?: InvokeOptions): Output<GetKeyManagementServerV2Result>def get_key_management_server_v2(ext_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKeyManagementServerV2Result
def get_key_management_server_v2_output(ext_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKeyManagementServerV2Result]func LookupKeyManagementServerV2(ctx *Context, args *LookupKeyManagementServerV2Args, opts ...InvokeOption) (*LookupKeyManagementServerV2Result, error)
func LookupKeyManagementServerV2Output(ctx *Context, args *LookupKeyManagementServerV2OutputArgs, opts ...InvokeOption) LookupKeyManagementServerV2ResultOutput> Note: This function is named LookupKeyManagementServerV2 in the Go SDK.
public static class GetKeyManagementServerV2
{
public static Task<GetKeyManagementServerV2Result> InvokeAsync(GetKeyManagementServerV2Args args, InvokeOptions? opts = null)
public static Output<GetKeyManagementServerV2Result> Invoke(GetKeyManagementServerV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKeyManagementServerV2Result> getKeyManagementServerV2(GetKeyManagementServerV2Args args, InvokeOptions options)
public static Output<GetKeyManagementServerV2Result> getKeyManagementServerV2(GetKeyManagementServerV2Args args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getKeyManagementServerV2:getKeyManagementServerV2
arguments:
# arguments dictionarydata "nutanix_getkeymanagementserverv2" "name" {
# arguments
}The following arguments are supported:
- Ext
Id string - Unique identifier for the key management server of type UUID.
- Ext
Id string - Unique identifier for the key management server of type UUID.
- ext_
id string - Unique identifier for the key management server of type UUID.
- ext
Id String - Unique identifier for the key management server of type UUID.
- ext
Id string - Unique identifier for the key management server of type UUID.
- ext_
id str - Unique identifier for the key management server of type UUID.
- ext
Id String - Unique identifier for the key management server of type UUID.
getKeyManagementServerV2 Result
The following output properties are available:
- Access
Informations List<PiersKarsenbarg. Nutanix. Outputs. Get Key Management Server V2Access Information> - KMS Access information, it can be Azure Key Vault access information or KMIP based External Key Manager Access Information.
- Creation
Timestamp string - The timestamp when the key management server was created.
- Ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
List<Piers
Karsenbarg. Nutanix. Outputs. Get Key Management Server V2Link> - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- Name string
- Name of the key management server (KMS).
- Tenant
Id string - Tetant identifier for the Azure Key Vault.
- Access
Informations []GetKey Management Server V2Access Information - KMS Access information, it can be Azure Key Vault access information or KMIP based External Key Manager Access Information.
- Creation
Timestamp string - The timestamp when the key management server was created.
- Ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
[]Get
Key Management Server V2Link - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- Name string
- Name of the key management server (KMS).
- Tenant
Id string - Tetant identifier for the Azure Key Vault.
- access_
informations list(object) - KMS Access information, it can be Azure Key Vault access information or KMIP based External Key Manager Access Information.
- creation_
timestamp string - The timestamp when the key management server was created.
- ext_
id string - A globally unique identifier of an instance that is suitable for external consumption.
- id string
- The provider-assigned unique ID for this managed resource.
- links list(object)
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- name string
- Name of the key management server (KMS).
- tenant_
id string - Tetant identifier for the Azure Key Vault.
- access
Informations List<GetKey Management Server V2Access Information> - KMS Access information, it can be Azure Key Vault access information or KMIP based External Key Manager Access Information.
- creation
Timestamp String - The timestamp when the key management server was created.
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- id String
- The provider-assigned unique ID for this managed resource.
- links
List<Get
Key Management Server V2Link> - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- name String
- Name of the key management server (KMS).
- tenant
Id String - Tetant identifier for the Azure Key Vault.
- access
Informations GetKey Management Server V2Access Information[] - KMS Access information, it can be Azure Key Vault access information or KMIP based External Key Manager Access Information.
- creation
Timestamp string - The timestamp when the key management server was created.
- ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- id string
- The provider-assigned unique ID for this managed resource.
- links
Get
Key Management Server V2Link[] - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- name string
- Name of the key management server (KMS).
- tenant
Id string - Tetant identifier for the Azure Key Vault.
- access_
informations Sequence[GetKey Management Server V2Access Information] - KMS Access information, it can be Azure Key Vault access information or KMIP based External Key Manager Access Information.
- creation_
timestamp str - The timestamp when the key management server was created.
- ext_
id str - A globally unique identifier of an instance that is suitable for external consumption.
- id str
- The provider-assigned unique ID for this managed resource.
- links
Sequence[Get
Key Management Server V2Link] - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- name str
- Name of the key management server (KMS).
- tenant_
id str - Tetant identifier for the Azure Key Vault.
- access
Informations List<Property Map> - KMS Access information, it can be Azure Key Vault access information or KMIP based External Key Manager Access Information.
- creation
Timestamp String - The timestamp when the key management server was created.
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- id String
- The provider-assigned unique ID for this managed resource.
- links List<Property Map>
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- name String
- Name of the key management server (KMS).
- tenant
Id String - Tetant identifier for the Azure Key Vault.
Supporting Types
GetKeyManagementServerV2AccessInformation
- Azure
Key List<PiersVaults Karsenbarg. Nutanix. Inputs. Get Key Management Server V2Access Information Azure Key Vault> - Access information for the Azure Key Vault.
- Kmip
Key List<PiersVaults Karsenbarg. Nutanix. Inputs. Get Key Management Server V2Access Information Kmip Key Vault> - Access information for the KMIP Key Vault.
- Azure
Key []GetVaults Key Management Server V2Access Information Azure Key Vault - Access information for the Azure Key Vault.
- Kmip
Key []GetVaults Key Management Server V2Access Information Kmip Key Vault - Access information for the KMIP Key Vault.
- azure_
key_ list(object)vaults - Access information for the Azure Key Vault.
- kmip_
key_ list(object)vaults - Access information for the KMIP Key Vault.
- azure
Key List<GetVaults Key Management Server V2Access Information Azure Key Vault> - Access information for the Azure Key Vault.
- kmip
Key List<GetVaults Key Management Server V2Access Information Kmip Key Vault> - Access information for the KMIP Key Vault.
- azure
Key GetVaults Key Management Server V2Access Information Azure Key Vault[] - Access information for the Azure Key Vault.
- kmip
Key GetVaults Key Management Server V2Access Information Kmip Key Vault[] - Access information for the KMIP Key Vault.
- azure_
key_ Sequence[Getvaults Key Management Server V2Access Information Azure Key Vault] - Access information for the Azure Key Vault.
- kmip_
key_ Sequence[Getvaults Key Management Server V2Access Information Kmip Key Vault] - Access information for the KMIP Key Vault.
- azure
Key List<Property Map>Vaults - Access information for the Azure Key Vault.
- kmip
Key List<Property Map>Vaults - Access information for the KMIP Key Vault.
GetKeyManagementServerV2AccessInformationAzureKeyVault
- Client
Id string - Client identifier for the Azure Key Vault.
- Credential
Expiry stringDate - When the client secret is going to expire.
- Endpoint
Url string - Endpoint URL for the Azure Key Vault.
- Key
Id string - Master key identifier for the Azure Key Vault.
- Tenant
Id string - Tetant identifier for the Azure Key Vault.
- Truncated
Client stringSecret - Truncated client secret for the Azure Key Vault.
- Client
Id string - Client identifier for the Azure Key Vault.
- Credential
Expiry stringDate - When the client secret is going to expire.
- Endpoint
Url string - Endpoint URL for the Azure Key Vault.
- Key
Id string - Master key identifier for the Azure Key Vault.
- Tenant
Id string - Tetant identifier for the Azure Key Vault.
- Truncated
Client stringSecret - Truncated client secret for the Azure Key Vault.
- client_
id string - Client identifier for the Azure Key Vault.
- credential_
expiry_ stringdate - When the client secret is going to expire.
- endpoint_
url string - Endpoint URL for the Azure Key Vault.
- key_
id string - Master key identifier for the Azure Key Vault.
- tenant_
id string - Tetant identifier for the Azure Key Vault.
- truncated_
client_ stringsecret - Truncated client secret for the Azure Key Vault.
- client
Id String - Client identifier for the Azure Key Vault.
- credential
Expiry StringDate - When the client secret is going to expire.
- endpoint
Url String - Endpoint URL for the Azure Key Vault.
- key
Id String - Master key identifier for the Azure Key Vault.
- tenant
Id String - Tetant identifier for the Azure Key Vault.
- truncated
Client StringSecret - Truncated client secret for the Azure Key Vault.
- client
Id string - Client identifier for the Azure Key Vault.
- credential
Expiry stringDate - When the client secret is going to expire.
- endpoint
Url string - Endpoint URL for the Azure Key Vault.
- key
Id string - Master key identifier for the Azure Key Vault.
- tenant
Id string - Tetant identifier for the Azure Key Vault.
- truncated
Client stringSecret - Truncated client secret for the Azure Key Vault.
- client_
id str - Client identifier for the Azure Key Vault.
- credential_
expiry_ strdate - When the client secret is going to expire.
- endpoint_
url str - Endpoint URL for the Azure Key Vault.
- key_
id str - Master key identifier for the Azure Key Vault.
- tenant_
id str - Tetant identifier for the Azure Key Vault.
- truncated_
client_ strsecret - Truncated client secret for the Azure Key Vault.
- client
Id String - Client identifier for the Azure Key Vault.
- credential
Expiry StringDate - When the client secret is going to expire.
- endpoint
Url String - Endpoint URL for the Azure Key Vault.
- key
Id String - Master key identifier for the Azure Key Vault.
- tenant
Id String - Tetant identifier for the Azure Key Vault.
- truncated
Client StringSecret - Truncated client secret for the Azure Key Vault.
GetKeyManagementServerV2AccessInformationKmipKeyVault
- Ca
Name string - Name of the Certificate Authority.
- Ca
Pem string - Cert PEM File.
- Cert
Pem string - Cert PEM.
- Endpoint
Urls List<PiersKarsenbarg. Nutanix. Inputs. Get Key Management Server V2Access Information Kmip Key Vault Endpoint Url> - Endpoint URL for the Azure Key Vault.
- Private
Key string
- Ca
Name string - Name of the Certificate Authority.
- Ca
Pem string - Cert PEM File.
- Cert
Pem string - Cert PEM.
- Endpoint
Urls []GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url - Endpoint URL for the Azure Key Vault.
- Private
Key string
- ca_
name string - Name of the Certificate Authority.
- ca_
pem string - Cert PEM File.
- cert_
pem string - Cert PEM.
- endpoint_
urls list(object) - Endpoint URL for the Azure Key Vault.
- private_
key string
- ca
Name String - Name of the Certificate Authority.
- ca
Pem String - Cert PEM File.
- cert
Pem String - Cert PEM.
- endpoint
Urls List<GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url> - Endpoint URL for the Azure Key Vault.
- private
Key String
- ca
Name string - Name of the Certificate Authority.
- ca
Pem string - Cert PEM File.
- cert
Pem string - Cert PEM.
- endpoint
Urls GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url[] - Endpoint URL for the Azure Key Vault.
- private
Key string
- ca_
name str - Name of the Certificate Authority.
- ca_
pem str - Cert PEM File.
- cert_
pem str - Cert PEM.
- endpoint_
urls Sequence[GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url] - Endpoint URL for the Azure Key Vault.
- private_
key str
- ca
Name String - Name of the Certificate Authority.
- ca
Pem String - Cert PEM File.
- cert
Pem String - Cert PEM.
- endpoint
Urls List<Property Map> - Endpoint URL for the Azure Key Vault.
- private
Key String
GetKeyManagementServerV2AccessInformationKmipKeyVaultEndpointUrl
- Ip
Addresses List<PiersKarsenbarg. Nutanix. Inputs. Get Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address> - IP address of the External Key Manager server.
- Port int
- Port of the External Key Manager server.
- Ip
Addresses []GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address - IP address of the External Key Manager server.
- Port int
- Port of the External Key Manager server.
- ip_
addresses list(object) - IP address of the External Key Manager server.
- port number
- Port of the External Key Manager server.
- ip
Addresses List<GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address> - IP address of the External Key Manager server.
- port Integer
- Port of the External Key Manager server.
- ip
Addresses GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address[] - IP address of the External Key Manager server.
- port number
- Port of the External Key Manager server.
- ip_
addresses Sequence[GetKey Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address] - IP address of the External Key Manager server.
- port int
- Port of the External Key Manager server.
- ip
Addresses List<Property Map> - IP address of the External Key Manager server.
- port Number
- Port of the External Key Manager server.
GetKeyManagementServerV2AccessInformationKmipKeyVaultEndpointUrlIpAddress
- Fqdns
List<Piers
Karsenbarg. Nutanix. Inputs. Get Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Fqdn> - FQDN of the External Key Manager server.
- Ipv4s
List<Piers
Karsenbarg. Nutanix. Inputs. Get Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv4> - IPv4 address of the External Key Manager server.
- Ipv6s
List<Piers
Karsenbarg. Nutanix. Inputs. Get Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv6> - IPv6 address of the External Key Manager server.
- Fqdns
[]Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Fqdn - FQDN of the External Key Manager server.
- Ipv4s
[]Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv4 - IPv4 address of the External Key Manager server.
- Ipv6s
[]Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv6 - IPv6 address of the External Key Manager server.
- fqdns list(object)
- FQDN of the External Key Manager server.
- ipv4s list(object)
- IPv4 address of the External Key Manager server.
- ipv6s list(object)
- IPv6 address of the External Key Manager server.
- fqdns
List<Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Fqdn> - FQDN of the External Key Manager server.
- ipv4s
List<Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv4> - IPv4 address of the External Key Manager server.
- ipv6s
List<Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv6> - IPv6 address of the External Key Manager server.
- fqdns
Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Fqdn[] - FQDN of the External Key Manager server.
- ipv4s
Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv4[] - IPv4 address of the External Key Manager server.
- ipv6s
Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv6[] - IPv6 address of the External Key Manager server.
- fqdns
Sequence[Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Fqdn] - FQDN of the External Key Manager server.
- ipv4s
Sequence[Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv4] - IPv4 address of the External Key Manager server.
- ipv6s
Sequence[Get
Key Management Server V2Access Information Kmip Key Vault Endpoint Url Ip Address Ipv6] - IPv6 address of the External Key Manager server.
- fqdns List<Property Map>
- FQDN of the External Key Manager server.
- ipv4s List<Property Map>
- IPv4 address of the External Key Manager server.
- ipv6s List<Property Map>
- IPv6 address of the External Key Manager server.
GetKeyManagementServerV2AccessInformationKmipKeyVaultEndpointUrlIpAddressFqdn
- Value string
- FQDN of the External Key Manager server.
- Value string
- FQDN of the External Key Manager server.
- value string
- FQDN of the External Key Manager server.
- value String
- FQDN of the External Key Manager server.
- value string
- FQDN of the External Key Manager server.
- value str
- FQDN of the External Key Manager server.
- value String
- FQDN of the External Key Manager server.
GetKeyManagementServerV2AccessInformationKmipKeyVaultEndpointUrlIpAddressIpv4
- Value string
- FQDN of the External Key Manager server.
- Prefix
Length int - Prefix length of the IPv6 address.
- Value string
- FQDN of the External Key Manager server.
- Prefix
Length int - Prefix length of the IPv6 address.
- value string
- FQDN of the External Key Manager server.
- prefix_
length number - Prefix length of the IPv6 address.
- value String
- FQDN of the External Key Manager server.
- prefix
Length Integer - Prefix length of the IPv6 address.
- value string
- FQDN of the External Key Manager server.
- prefix
Length number - Prefix length of the IPv6 address.
- value str
- FQDN of the External Key Manager server.
- prefix_
length int - Prefix length of the IPv6 address.
- value String
- FQDN of the External Key Manager server.
- prefix
Length Number - Prefix length of the IPv6 address.
GetKeyManagementServerV2AccessInformationKmipKeyVaultEndpointUrlIpAddressIpv6
- Value string
- FQDN of the External Key Manager server.
- Prefix
Length int - Prefix length of the IPv6 address.
- Value string
- FQDN of the External Key Manager server.
- Prefix
Length int - Prefix length of the IPv6 address.
- value string
- FQDN of the External Key Manager server.
- prefix_
length number - Prefix length of the IPv6 address.
- value String
- FQDN of the External Key Manager server.
- prefix
Length Integer - Prefix length of the IPv6 address.
- value string
- FQDN of the External Key Manager server.
- prefix
Length number - Prefix length of the IPv6 address.
- value str
- FQDN of the External Key Manager server.
- prefix_
length int - Prefix length of the IPv6 address.
- value String
- FQDN of the External Key Manager server.
- prefix
Length Number - Prefix length of the IPv6 address.
GetKeyManagementServerV2Link
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
Viewing docs for Nutanix v0.16.0
published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg