1. Packages
  2. Nutanix
  3. API Docs
  4. UserKeyV2
Nutanix v0.10.0 published on Monday, Sep 1, 2025 by Piers Karsenbarg

nutanix.UserKeyV2

Explore with Pulumi AI

nutanix logo
Nutanix v0.10.0 published on Monday, Sep 1, 2025 by Piers Karsenbarg

    Provides Nutanix resource to Create key of a requested type for a user.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    // Create key under service account, never expires
    const createKey = new nutanix.UserKeyV2("createKey", {
        assignedTo: "developer_user_1",
        expiryTime: "2125-01-01T00:00:00Z",
        keyType: "API_KEY",
        userExtId: "<SERVICE_ACCOUNT_UUID>",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    # Create key under service account, never expires
    create_key = nutanix.UserKeyV2("createKey",
        assigned_to="developer_user_1",
        expiry_time="2125-01-01T00:00:00Z",
        key_type="API_KEY",
        user_ext_id="<SERVICE_ACCOUNT_UUID>")
    
    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 {
    		// Create key under service account, never expires
    		_, err := nutanix.NewUserKeyV2(ctx, "createKey", &nutanix.UserKeyV2Args{
    			AssignedTo: pulumi.String("developer_user_1"),
    			ExpiryTime: pulumi.String("2125-01-01T00:00:00Z"),
    			KeyType:    pulumi.String("API_KEY"),
    			UserExtId:  pulumi.String("<SERVICE_ACCOUNT_UUID>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create key under service account, never expires
        var createKey = new Nutanix.UserKeyV2("createKey", new()
        {
            AssignedTo = "developer_user_1",
            ExpiryTime = "2125-01-01T00:00:00Z",
            KeyType = "API_KEY",
            UserExtId = "<SERVICE_ACCOUNT_UUID>",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.UserKeyV2;
    import com.pulumi.nutanix.UserKeyV2Args;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            // Create key under service account, never expires
            var createKey = new UserKeyV2("createKey", UserKeyV2Args.builder()
                .assignedTo("developer_user_1")
                .expiryTime("2125-01-01T00:00:00Z")
                .keyType("API_KEY")
                .userExtId("<SERVICE_ACCOUNT_UUID>")
                .build());
    
        }
    }
    
    resources:
      # Create key under service account, never expires
      createKey:
        type: nutanix:UserKeyV2
        properties:
          assignedTo: developer_user_1
          expiryTime: 2125-01-01T00:00:00Z
          keyType: API_KEY
          userExtId: <SERVICE_ACCOUNT_UUID>
    

    Argument Reference

    The following arguments are supported:

    • user_ext_id: - ( Required ) External Identifier of the User.
    • name: - ( Required ) Identifier for the key in the form of a name.
    • description: - ( Optional ) Brief description of the key.
    • key_type: - ( Required ) The type of key. Enum Values: * “API_KEY”: A key type that is used to identify a service. * “OBJECT_KEY”: A combination of access key and secret key to sign an API request.
    • creation_type: - ( Optional ) The creation mechanism of this entity. Enum Values: * “PREDEFINED”: Predefined creator workflow type is for entity created by the system. * “SERVICEDEFINED”: Servicedefined creator workflow type is for entity created by the service. * “USERDEFINED”: Userdefined creator workflow type is for entity created by the users.
    • expiry_time: - ( Optional ) The time when the key will expire.
    • status: - ( Optional ) The status of the key. Enum Values: * “REVOKED”: Key is revoked. * “VALID”: Key is valid. * “EXPIRED”: Key is expired.
    • assigned_to: - ( Optional ) External client to whom the given key is allocated.

    Create UserKeyV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new UserKeyV2(name: string, args: UserKeyV2Args, opts?: CustomResourceOptions);
    @overload
    def UserKeyV2(resource_name: str,
                  args: UserKeyV2Args,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def UserKeyV2(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  key_type: Optional[str] = None,
                  user_ext_id: Optional[str] = None,
                  creation_type: Optional[str] = None,
                  assigned_to: Optional[str] = None,
                  description: Optional[str] = None,
                  expiry_time: Optional[str] = None,
                  created_time: Optional[str] = None,
                  last_updated_by: Optional[str] = None,
                  last_updated_time: Optional[str] = None,
                  last_used_time: Optional[str] = None,
                  name: Optional[str] = None,
                  status: Optional[str] = None,
                  created_by: Optional[str] = None)
    func NewUserKeyV2(ctx *Context, name string, args UserKeyV2Args, opts ...ResourceOption) (*UserKeyV2, error)
    public UserKeyV2(string name, UserKeyV2Args args, CustomResourceOptions? opts = null)
    public UserKeyV2(String name, UserKeyV2Args args)
    public UserKeyV2(String name, UserKeyV2Args args, CustomResourceOptions options)
    
    type: nutanix:UserKeyV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args UserKeyV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args UserKeyV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args UserKeyV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserKeyV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserKeyV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var userKeyV2Resource = new Nutanix.UserKeyV2("userKeyV2Resource", new()
    {
        KeyType = "string",
        UserExtId = "string",
        CreationType = "string",
        AssignedTo = "string",
        Description = "string",
        ExpiryTime = "string",
        CreatedTime = "string",
        LastUpdatedBy = "string",
        LastUpdatedTime = "string",
        LastUsedTime = "string",
        Name = "string",
        Status = "string",
        CreatedBy = "string",
    });
    
    example, err := nutanix.NewUserKeyV2(ctx, "userKeyV2Resource", &nutanix.UserKeyV2Args{
    	KeyType:         pulumi.String("string"),
    	UserExtId:       pulumi.String("string"),
    	CreationType:    pulumi.String("string"),
    	AssignedTo:      pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	ExpiryTime:      pulumi.String("string"),
    	CreatedTime:     pulumi.String("string"),
    	LastUpdatedBy:   pulumi.String("string"),
    	LastUpdatedTime: pulumi.String("string"),
    	LastUsedTime:    pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	Status:          pulumi.String("string"),
    	CreatedBy:       pulumi.String("string"),
    })
    
    var userKeyV2Resource = new UserKeyV2("userKeyV2Resource", UserKeyV2Args.builder()
        .keyType("string")
        .userExtId("string")
        .creationType("string")
        .assignedTo("string")
        .description("string")
        .expiryTime("string")
        .createdTime("string")
        .lastUpdatedBy("string")
        .lastUpdatedTime("string")
        .lastUsedTime("string")
        .name("string")
        .status("string")
        .createdBy("string")
        .build());
    
    user_key_v2_resource = nutanix.UserKeyV2("userKeyV2Resource",
        key_type="string",
        user_ext_id="string",
        creation_type="string",
        assigned_to="string",
        description="string",
        expiry_time="string",
        created_time="string",
        last_updated_by="string",
        last_updated_time="string",
        last_used_time="string",
        name="string",
        status="string",
        created_by="string")
    
    const userKeyV2Resource = new nutanix.UserKeyV2("userKeyV2Resource", {
        keyType: "string",
        userExtId: "string",
        creationType: "string",
        assignedTo: "string",
        description: "string",
        expiryTime: "string",
        createdTime: "string",
        lastUpdatedBy: "string",
        lastUpdatedTime: "string",
        lastUsedTime: "string",
        name: "string",
        status: "string",
        createdBy: "string",
    });
    
    type: nutanix:UserKeyV2
    properties:
        assignedTo: string
        createdBy: string
        createdTime: string
        creationType: string
        description: string
        expiryTime: string
        keyType: string
        lastUpdatedBy: string
        lastUpdatedTime: string
        lastUsedTime: string
        name: string
        status: string
        userExtId: string
    

    UserKeyV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The UserKeyV2 resource accepts the following input properties:

    KeyType string
    • The type of key.
    UserExtId string
    AssignedTo string
    • External client to whom the given key is allocated.
    CreatedBy string
    • User or service who created the key.
    CreatedTime string
    • The creation time of the key.
    CreationType string
    • The creation mechanism of this entity.
    Description string
    • Brief description of the key.
    ExpiryTime string
    • The time when the key will expire.
    LastUpdatedBy string
    • User who updated the key.
    LastUpdatedTime string
    • The time when the key was updated.
    LastUsedTime string
    • The time when the key was last used.
    Name string
    • Identifier for the key in the form of a name.
    Status string
    • The status of the key.
    KeyType string
    • The type of key.
    UserExtId string
    AssignedTo string
    • External client to whom the given key is allocated.
    CreatedBy string
    • User or service who created the key.
    CreatedTime string
    • The creation time of the key.
    CreationType string
    • The creation mechanism of this entity.
    Description string
    • Brief description of the key.
    ExpiryTime string
    • The time when the key will expire.
    LastUpdatedBy string
    • User who updated the key.
    LastUpdatedTime string
    • The time when the key was updated.
    LastUsedTime string
    • The time when the key was last used.
    Name string
    • Identifier for the key in the form of a name.
    Status string
    • The status of the key.
    keyType String
    • The type of key.
    userExtId String
    assignedTo String
    • External client to whom the given key is allocated.
    createdBy String
    • User or service who created the key.
    createdTime String
    • The creation time of the key.
    creationType String
    • The creation mechanism of this entity.
    description String
    • Brief description of the key.
    expiryTime String
    • The time when the key will expire.
    lastUpdatedBy String
    • User who updated the key.
    lastUpdatedTime String
    • The time when the key was updated.
    lastUsedTime String
    • The time when the key was last used.
    name String
    • Identifier for the key in the form of a name.
    status String
    • The status of the key.
    keyType string
    • The type of key.
    userExtId string
    assignedTo string
    • External client to whom the given key is allocated.
    createdBy string
    • User or service who created the key.
    createdTime string
    • The creation time of the key.
    creationType string
    • The creation mechanism of this entity.
    description string
    • Brief description of the key.
    expiryTime string
    • The time when the key will expire.
    lastUpdatedBy string
    • User who updated the key.
    lastUpdatedTime string
    • The time when the key was updated.
    lastUsedTime string
    • The time when the key was last used.
    name string
    • Identifier for the key in the form of a name.
    status string
    • The status of the key.
    key_type str
    • The type of key.
    user_ext_id str
    assigned_to str
    • External client to whom the given key is allocated.
    created_by str
    • User or service who created the key.
    created_time str
    • The creation time of the key.
    creation_type str
    • The creation mechanism of this entity.
    description str
    • Brief description of the key.
    expiry_time str
    • The time when the key will expire.
    last_updated_by str
    • User who updated the key.
    last_updated_time str
    • The time when the key was updated.
    last_used_time str
    • The time when the key was last used.
    name str
    • Identifier for the key in the form of a name.
    status str
    • The status of the key.
    keyType String
    • The type of key.
    userExtId String
    assignedTo String
    • External client to whom the given key is allocated.
    createdBy String
    • User or service who created the key.
    createdTime String
    • The creation time of the key.
    creationType String
    • The creation mechanism of this entity.
    description String
    • Brief description of the key.
    expiryTime String
    • The time when the key will expire.
    lastUpdatedBy String
    • User who updated the key.
    lastUpdatedTime String
    • The time when the key was updated.
    lastUsedTime String
    • The time when the key was last used.
    name String
    • Identifier for the key in the form of a name.
    status String
    • The status of the key.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the UserKeyV2 resource produces the following output properties:

    ExtId string
    • The External Identifier of the User Group.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyDetails List<PiersKarsenbarg.Nutanix.Outputs.UserKeyV2KeyDetail>
    • Details specific to type of the key.
    Links List<PiersKarsenbarg.Nutanix.Outputs.UserKeyV2Link>
    • 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.
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    ExtId string
    • The External Identifier of the User Group.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyDetails []UserKeyV2KeyDetail
    • Details specific to type of the key.
    Links []UserKeyV2Link
    • 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.
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    extId String
    • The External Identifier of the User Group.
    id String
    The provider-assigned unique ID for this managed resource.
    keyDetails List<UserKeyV2KeyDetail>
    • Details specific to type of the key.
    links List<UserKeyV2Link>
    • 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.
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    extId string
    • The External Identifier of the User Group.
    id string
    The provider-assigned unique ID for this managed resource.
    keyDetails UserKeyV2KeyDetail[]
    • Details specific to type of the key.
    links UserKeyV2Link[]
    • 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.
    tenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    ext_id str
    • The External Identifier of the User Group.
    id str
    The provider-assigned unique ID for this managed resource.
    key_details Sequence[UserKeyV2KeyDetail]
    • Details specific to type of the key.
    links Sequence[UserKeyV2Link]
    • 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.
    tenant_id str
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    extId String
    • The External Identifier of the User Group.
    id String
    The provider-assigned unique ID for this managed resource.
    keyDetails List<Property Map>
    • Details specific to type of the key.
    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.
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).

    Look up Existing UserKeyV2 Resource

    Get an existing UserKeyV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: UserKeyV2State, opts?: CustomResourceOptions): UserKeyV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assigned_to: Optional[str] = None,
            created_by: Optional[str] = None,
            created_time: Optional[str] = None,
            creation_type: Optional[str] = None,
            description: Optional[str] = None,
            expiry_time: Optional[str] = None,
            ext_id: Optional[str] = None,
            key_details: Optional[Sequence[UserKeyV2KeyDetailArgs]] = None,
            key_type: Optional[str] = None,
            last_updated_by: Optional[str] = None,
            last_updated_time: Optional[str] = None,
            last_used_time: Optional[str] = None,
            links: Optional[Sequence[UserKeyV2LinkArgs]] = None,
            name: Optional[str] = None,
            status: Optional[str] = None,
            tenant_id: Optional[str] = None,
            user_ext_id: Optional[str] = None) -> UserKeyV2
    func GetUserKeyV2(ctx *Context, name string, id IDInput, state *UserKeyV2State, opts ...ResourceOption) (*UserKeyV2, error)
    public static UserKeyV2 Get(string name, Input<string> id, UserKeyV2State? state, CustomResourceOptions? opts = null)
    public static UserKeyV2 get(String name, Output<String> id, UserKeyV2State state, CustomResourceOptions options)
    resources:  _:    type: nutanix:UserKeyV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssignedTo string
    • External client to whom the given key is allocated.
    CreatedBy string
    • User or service who created the key.
    CreatedTime string
    • The creation time of the key.
    CreationType string
    • The creation mechanism of this entity.
    Description string
    • Brief description of the key.
    ExpiryTime string
    • The time when the key will expire.
    ExtId string
    • The External Identifier of the User Group.
    KeyDetails List<PiersKarsenbarg.Nutanix.Inputs.UserKeyV2KeyDetail>
    • Details specific to type of the key.
    KeyType string
    • The type of key.
    LastUpdatedBy string
    • User who updated the key.
    LastUpdatedTime string
    • The time when the key was updated.
    LastUsedTime string
    • The time when the key was last used.
    Links List<PiersKarsenbarg.Nutanix.Inputs.UserKeyV2Link>
    • 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
    • Identifier for the key in the form of a name.
    Status string
    • The status of the key.
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    UserExtId string
    AssignedTo string
    • External client to whom the given key is allocated.
    CreatedBy string
    • User or service who created the key.
    CreatedTime string
    • The creation time of the key.
    CreationType string
    • The creation mechanism of this entity.
    Description string
    • Brief description of the key.
    ExpiryTime string
    • The time when the key will expire.
    ExtId string
    • The External Identifier of the User Group.
    KeyDetails []UserKeyV2KeyDetailArgs
    • Details specific to type of the key.
    KeyType string
    • The type of key.
    LastUpdatedBy string
    • User who updated the key.
    LastUpdatedTime string
    • The time when the key was updated.
    LastUsedTime string
    • The time when the key was last used.
    Links []UserKeyV2LinkArgs
    • 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
    • Identifier for the key in the form of a name.
    Status string
    • The status of the key.
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    UserExtId string
    assignedTo String
    • External client to whom the given key is allocated.
    createdBy String
    • User or service who created the key.
    createdTime String
    • The creation time of the key.
    creationType String
    • The creation mechanism of this entity.
    description String
    • Brief description of the key.
    expiryTime String
    • The time when the key will expire.
    extId String
    • The External Identifier of the User Group.
    keyDetails List<UserKeyV2KeyDetail>
    • Details specific to type of the key.
    keyType String
    • The type of key.
    lastUpdatedBy String
    • User who updated the key.
    lastUpdatedTime String
    • The time when the key was updated.
    lastUsedTime String
    • The time when the key was last used.
    links List<UserKeyV2Link>
    • 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
    • Identifier for the key in the form of a name.
    status String
    • The status of the key.
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    userExtId String
    assignedTo string
    • External client to whom the given key is allocated.
    createdBy string
    • User or service who created the key.
    createdTime string
    • The creation time of the key.
    creationType string
    • The creation mechanism of this entity.
    description string
    • Brief description of the key.
    expiryTime string
    • The time when the key will expire.
    extId string
    • The External Identifier of the User Group.
    keyDetails UserKeyV2KeyDetail[]
    • Details specific to type of the key.
    keyType string
    • The type of key.
    lastUpdatedBy string
    • User who updated the key.
    lastUpdatedTime string
    • The time when the key was updated.
    lastUsedTime string
    • The time when the key was last used.
    links UserKeyV2Link[]
    • 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
    • Identifier for the key in the form of a name.
    status string
    • The status of the key.
    tenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    userExtId string
    assigned_to str
    • External client to whom the given key is allocated.
    created_by str
    • User or service who created the key.
    created_time str
    • The creation time of the key.
    creation_type str
    • The creation mechanism of this entity.
    description str
    • Brief description of the key.
    expiry_time str
    • The time when the key will expire.
    ext_id str
    • The External Identifier of the User Group.
    key_details Sequence[UserKeyV2KeyDetailArgs]
    • Details specific to type of the key.
    key_type str
    • The type of key.
    last_updated_by str
    • User who updated the key.
    last_updated_time str
    • The time when the key was updated.
    last_used_time str
    • The time when the key was last used.
    links Sequence[UserKeyV2LinkArgs]
    • 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
    • Identifier for the key in the form of a name.
    status str
    • The status of the key.
    tenant_id str
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    user_ext_id str
    assignedTo String
    • External client to whom the given key is allocated.
    createdBy String
    • User or service who created the key.
    createdTime String
    • The creation time of the key.
    creationType String
    • The creation mechanism of this entity.
    description String
    • Brief description of the key.
    expiryTime String
    • The time when the key will expire.
    extId String
    • The External Identifier of the User Group.
    keyDetails List<Property Map>
    • Details specific to type of the key.
    keyType String
    • The type of key.
    lastUpdatedBy String
    • User who updated the key.
    lastUpdatedTime String
    • The time when the key was updated.
    lastUsedTime String
    • The time when the key was last used.
    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
    • Identifier for the key in the form of a name.
    status String
    • The status of the key.
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    userExtId String

    Supporting Types

    UserKeyV2KeyDetail, UserKeyV2KeyDetailArgs

    UserKeyV2KeyDetailApiKeyDetail, UserKeyV2KeyDetailApiKeyDetailArgs

    ApiKey string
    ApiKey string
    apiKey String
    apiKey string
    apiKey String

    UserKeyV2KeyDetailObjectKeyDetail, UserKeyV2KeyDetailObjectKeyDetailArgs

    AccessKey string
    SecretKey string
    AccessKey string
    SecretKey string
    accessKey String
    secretKey String
    accessKey string
    secretKey string
    accessKey String
    secretKey String
    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.10.0 published on Monday, Sep 1, 2025 by Piers Karsenbarg
      AI Agentic Workflows: Register now