1. Registry
  2. Packages
  3. Qdrant-Cloud Provider
  4. API Docs
  5. ServerlessSpaceApiKey
Viewing docs for qdrant-cloud 1.30.0
published on Thursday, Oct 8, 2026 by qdrant
qdrant-cloud
Viewing docs for qdrant-cloud 1.30.0
published on Thursday, Oct 8, 2026 by qdrant

    Serverless Space API Key Resource

    Create ServerlessSpaceApiKey Resource

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

    Constructor syntax

    new ServerlessSpaceApiKey(name: string, args: ServerlessSpaceApiKeyArgs, opts?: CustomResourceOptions);
    @overload
    def ServerlessSpaceApiKey(resource_name: str,
                              args: ServerlessSpaceApiKeyArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServerlessSpaceApiKey(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              space_id: Optional[str] = None,
                              account_id: Optional[str] = None,
                              collection_access_rules: Optional[Sequence[ServerlessSpaceApiKeyCollectionAccessRuleArgs]] = None,
                              expires_at: Optional[str] = None,
                              global_access_rule: Optional[ServerlessSpaceApiKeyGlobalAccessRuleArgs] = None,
                              name: Optional[str] = None,
                              timeouts: Optional[ServerlessSpaceApiKeyTimeoutsArgs] = None)
    func NewServerlessSpaceApiKey(ctx *Context, name string, args ServerlessSpaceApiKeyArgs, opts ...ResourceOption) (*ServerlessSpaceApiKey, error)
    public ServerlessSpaceApiKey(string name, ServerlessSpaceApiKeyArgs args, CustomResourceOptions? opts = null)
    public ServerlessSpaceApiKey(String name, ServerlessSpaceApiKeyArgs args)
    public ServerlessSpaceApiKey(String name, ServerlessSpaceApiKeyArgs args, CustomResourceOptions options)
    
    type: qdrant-cloud:ServerlessSpaceApiKey
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "qdrant-cloud_serverless_space_api_key" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ServerlessSpaceApiKeyArgs
    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 ServerlessSpaceApiKeyArgs
    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 ServerlessSpaceApiKeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerlessSpaceApiKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerlessSpaceApiKeyArgs
    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 serverlessSpaceApiKeyResource = new QdrantCloud.ServerlessSpaceApiKey("serverlessSpaceApiKeyResource", new()
    {
        SpaceId = "string",
        AccountId = "string",
        CollectionAccessRules = new[]
        {
            new QdrantCloud.Inputs.ServerlessSpaceApiKeyCollectionAccessRuleArgs
            {
                AccessType = "string",
                CollectionName = "string",
            },
        },
        ExpiresAt = "string",
        GlobalAccessRule = new QdrantCloud.Inputs.ServerlessSpaceApiKeyGlobalAccessRuleArgs
        {
            AccessType = "string",
        },
        Name = "string",
        Timeouts = new QdrantCloud.Inputs.ServerlessSpaceApiKeyTimeoutsArgs
        {
            Create = "string",
        },
    });
    
    example, err := qdrantcloud.NewServerlessSpaceApiKey(ctx, "serverlessSpaceApiKeyResource", &qdrantcloud.ServerlessSpaceApiKeyArgs{
    	SpaceId:   pulumi.String("string"),
    	AccountId: pulumi.String("string"),
    	CollectionAccessRules: qdrantcloud.ServerlessSpaceApiKeyCollectionAccessRuleArray{
    		&qdrantcloud.ServerlessSpaceApiKeyCollectionAccessRuleArgs{
    			AccessType:     pulumi.String("string"),
    			CollectionName: pulumi.String("string"),
    		},
    	},
    	ExpiresAt: pulumi.String("string"),
    	GlobalAccessRule: &qdrantcloud.ServerlessSpaceApiKeyGlobalAccessRuleArgs{
    		AccessType: pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Timeouts: &qdrantcloud.ServerlessSpaceApiKeyTimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    })
    
    resource "qdrant-cloud_serverless_space_api_key" "serverlessSpaceApiKeyResource" {
      lifecycle {
        create_before_destroy = true
      }
      space_id   = "string"
      account_id = "string"
      collection_access_rules {
        access_type     = "string"
        collection_name = "string"
      }
      expires_at = "string"
      global_access_rule = {
        access_type = "string"
      }
      name = "string"
      _ {
        timeouts = {
          create = "string"
        }
      }
    }
    
    var serverlessSpaceApiKeyResource = new ServerlessSpaceApiKey("serverlessSpaceApiKeyResource", ServerlessSpaceApiKeyArgs.builder()
        .spaceId("string")
        .accountId("string")
        .collectionAccessRules(ServerlessSpaceApiKeyCollectionAccessRuleArgs.builder()
            .accessType("string")
            .collectionName("string")
            .build())
        .expiresAt("string")
        .globalAccessRule(ServerlessSpaceApiKeyGlobalAccessRuleArgs.builder()
            .accessType("string")
            .build())
        .name("string")
        .timeouts(ServerlessSpaceApiKeyTimeoutsArgs.builder()
            .create("string")
            .build())
        .build());
    
    serverless_space_api_key_resource = qdrant_cloud.ServerlessSpaceApiKey("serverlessSpaceApiKeyResource",
        space_id="string",
        account_id="string",
        collection_access_rules=[{
            "access_type": "string",
            "collection_name": "string",
        }],
        expires_at="string",
        global_access_rule={
            "access_type": "string",
        },
        name="string",
        timeouts={
            "create": "string",
        })
    
    const serverlessSpaceApiKeyResource = new qdrant_cloud.ServerlessSpaceApiKey("serverlessSpaceApiKeyResource", {
        spaceId: "string",
        accountId: "string",
        collectionAccessRules: [{
            accessType: "string",
            collectionName: "string",
        }],
        expiresAt: "string",
        globalAccessRule: {
            accessType: "string",
        },
        name: "string",
        timeouts: {
            create: "string",
        },
    });
    
    type: qdrant-cloud:ServerlessSpaceApiKey
    properties:
        accountId: string
        collectionAccessRules:
            - accessType: string
              collectionName: string
        expiresAt: string
        globalAccessRule:
            accessType: string
        name: string
        spaceId: string
        timeouts:
            create: string
    

    ServerlessSpaceApiKey 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 ServerlessSpaceApiKey resource accepts the following input properties:

    SpaceId string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    AccountId string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    CollectionAccessRules List<Pulumi.QdrantCloud.Inputs.ServerlessSpaceApiKeyCollectionAccessRule>
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    ExpiresAt string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    GlobalAccessRule Pulumi.QdrantCloud.Inputs.ServerlessSpaceApiKeyGlobalAccessRule
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    Name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    Timeouts Pulumi.QdrantCloud.Inputs.ServerlessSpaceApiKeyTimeouts
    SpaceId string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    AccountId string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    CollectionAccessRules []ServerlessSpaceApiKeyCollectionAccessRuleArgs
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    ExpiresAt string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    GlobalAccessRule ServerlessSpaceApiKeyGlobalAccessRuleArgs
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    Name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    Timeouts ServerlessSpaceApiKeyTimeoutsArgs
    space_id string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    account_id string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collection_access_rules list(object)
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    expires_at string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    global_access_rule object
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    timeouts object
    spaceId String
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    accountId String
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collectionAccessRules List<ServerlessSpaceApiKeyCollectionAccessRule>
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    expiresAt String
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    globalAccessRule ServerlessSpaceApiKeyGlobalAccessRule
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    name String
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    timeouts ServerlessSpaceApiKeyTimeouts
    spaceId string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    accountId string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collectionAccessRules ServerlessSpaceApiKeyCollectionAccessRule[]
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    expiresAt string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    globalAccessRule ServerlessSpaceApiKeyGlobalAccessRule
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    timeouts ServerlessSpaceApiKeyTimeouts
    space_id str
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    account_id str
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collection_access_rules Sequence[ServerlessSpaceApiKeyCollectionAccessRuleArgs]
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    expires_at str
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    global_access_rule ServerlessSpaceApiKeyGlobalAccessRuleArgs
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    name str
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    timeouts ServerlessSpaceApiKeyTimeoutsArgs
    spaceId String
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    accountId String
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collectionAccessRules List<Property Map>
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    expiresAt String
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    globalAccessRule Property Map
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    name String
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    timeouts Property Map

    Outputs

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

    CreatedAt string
    Serverless Space API Key Schema Creation time field
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    Postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    States List<Pulumi.QdrantCloud.Outputs.ServerlessSpaceApiKeyState>
    Serverless Space API Key Schema Current state of the API key field
    CreatedAt string
    Serverless Space API Key Schema Creation time field
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    Postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    States []ServerlessSpaceApiKeyStateType
    Serverless Space API Key Schema Current state of the API key field
    created_at string
    Serverless Space API Key Schema Creation time field
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    states list(object)
    Serverless Space API Key Schema Current state of the API key field
    createdAt String
    Serverless Space API Key Schema Creation time field
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    postfix String
    Serverless Space API Key Schema Last characters of the key, to identify it field
    states List<ServerlessSpaceApiKeyState>
    Serverless Space API Key Schema Current state of the API key field
    createdAt string
    Serverless Space API Key Schema Creation time field
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    states ServerlessSpaceApiKeyState[]
    Serverless Space API Key Schema Current state of the API key field
    created_at str
    Serverless Space API Key Schema Creation time field
    id str
    The provider-assigned unique ID for this managed resource.
    key str
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    postfix str
    Serverless Space API Key Schema Last characters of the key, to identify it field
    states Sequence[ServerlessSpaceApiKeyState]
    Serverless Space API Key Schema Current state of the API key field
    createdAt String
    Serverless Space API Key Schema Creation time field
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    postfix String
    Serverless Space API Key Schema Last characters of the key, to identify it field
    states List<Property Map>
    Serverless Space API Key Schema Current state of the API key field

    Look up Existing ServerlessSpaceApiKey Resource

    Get an existing ServerlessSpaceApiKey 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?: ServerlessSpaceApiKeyState, opts?: CustomResourceOptions): ServerlessSpaceApiKey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            collection_access_rules: Optional[Sequence[ServerlessSpaceApiKeyCollectionAccessRuleArgs]] = None,
            created_at: Optional[str] = None,
            expires_at: Optional[str] = None,
            global_access_rule: Optional[ServerlessSpaceApiKeyGlobalAccessRuleArgs] = None,
            key: Optional[str] = None,
            name: Optional[str] = None,
            postfix: Optional[str] = None,
            space_id: Optional[str] = None,
            states: Optional[Sequence[ServerlessSpaceApiKeyStateArgs]] = None,
            timeouts: Optional[ServerlessSpaceApiKeyTimeoutsArgs] = None) -> ServerlessSpaceApiKey
    func GetServerlessSpaceApiKey(ctx *Context, name string, id IDInput, state *ServerlessSpaceApiKeyState, opts ...ResourceOption) (*ServerlessSpaceApiKey, error)
    public static ServerlessSpaceApiKey Get(string name, Input<string> id, ServerlessSpaceApiKeyState? state, CustomResourceOptions? opts = null)
    public static ServerlessSpaceApiKey get(String name, Output<String> id, ServerlessSpaceApiKeyState state, CustomResourceOptions options)
    resources:  _:    type: qdrant-cloud:ServerlessSpaceApiKey    get:      id: ${id}
    import {
      to = qdrant-cloud_serverless_space_api_key.example
      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:
    AccountId string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    CollectionAccessRules List<Pulumi.QdrantCloud.Inputs.ServerlessSpaceApiKeyCollectionAccessRule>
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    CreatedAt string
    Serverless Space API Key Schema Creation time field
    ExpiresAt string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    GlobalAccessRule Pulumi.QdrantCloud.Inputs.ServerlessSpaceApiKeyGlobalAccessRule
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    Key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    Name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    Postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    SpaceId string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    States List<Pulumi.QdrantCloud.Inputs.ServerlessSpaceApiKeyState>
    Serverless Space API Key Schema Current state of the API key field
    Timeouts Pulumi.QdrantCloud.Inputs.ServerlessSpaceApiKeyTimeouts
    AccountId string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    CollectionAccessRules []ServerlessSpaceApiKeyCollectionAccessRuleArgs
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    CreatedAt string
    Serverless Space API Key Schema Creation time field
    ExpiresAt string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    GlobalAccessRule ServerlessSpaceApiKeyGlobalAccessRuleArgs
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    Key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    Name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    Postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    SpaceId string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    States []ServerlessSpaceApiKeyStateTypeArgs
    Serverless Space API Key Schema Current state of the API key field
    Timeouts ServerlessSpaceApiKeyTimeoutsArgs
    account_id string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collection_access_rules list(object)
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    created_at string
    Serverless Space API Key Schema Creation time field
    expires_at string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    global_access_rule object
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    space_id string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    states list(object)
    Serverless Space API Key Schema Current state of the API key field
    timeouts object
    accountId String
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collectionAccessRules List<ServerlessSpaceApiKeyCollectionAccessRule>
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    createdAt String
    Serverless Space API Key Schema Creation time field
    expiresAt String
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    globalAccessRule ServerlessSpaceApiKeyGlobalAccessRule
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    key String
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    name String
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    postfix String
    Serverless Space API Key Schema Last characters of the key, to identify it field
    spaceId String
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    states List<ServerlessSpaceApiKeyState>
    Serverless Space API Key Schema Current state of the API key field
    timeouts ServerlessSpaceApiKeyTimeouts
    accountId string
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collectionAccessRules ServerlessSpaceApiKeyCollectionAccessRule[]
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    createdAt string
    Serverless Space API Key Schema Creation time field
    expiresAt string
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    globalAccessRule ServerlessSpaceApiKeyGlobalAccessRule
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    key string
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    name string
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    postfix string
    Serverless Space API Key Schema Last characters of the key, to identify it field
    spaceId string
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    states ServerlessSpaceApiKeyState[]
    Serverless Space API Key Schema Current state of the API key field
    timeouts ServerlessSpaceApiKeyTimeouts
    account_id str
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collection_access_rules Sequence[ServerlessSpaceApiKeyCollectionAccessRuleArgs]
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    created_at str
    Serverless Space API Key Schema Creation time field
    expires_at str
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    global_access_rule ServerlessSpaceApiKeyGlobalAccessRuleArgs
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    key str
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    name str
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    postfix str
    Serverless Space API Key Schema Last characters of the key, to identify it field
    space_id str
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    states Sequence[ServerlessSpaceApiKeyStateArgs]
    Serverless Space API Key Schema Current state of the API key field
    timeouts ServerlessSpaceApiKeyTimeoutsArgs
    accountId String
    Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
    collectionAccessRules List<Property Map>
    A list of rules granting access to specific collections (max 20). Cannot be used with global_access_rule.
    createdAt String
    Serverless Space API Key Schema Creation time field
    expiresAt String
    Serverless Space API Key Schema Expiration time (RFC3339) of the API key. If not set, the key does not expire field
    globalAccessRule Property Map
    A rule granting access to the entire space. Cannot be used with collection_access_rules. If no rules are provided, global MANAGE access is granted.
    key String
    Serverless Space API Key Schema Secret key, only available after creation (empty after import) field
    name String
    Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces, _ and -) field
    postfix String
    Serverless Space API Key Schema Last characters of the key, to identify it field
    spaceId String
    Serverless Space API Key Schema ID of the serverless space this API key grants access to field
    states List<Property Map>
    Serverless Space API Key Schema Current state of the API key field
    timeouts Property Map

    Supporting Types

    ServerlessSpaceApiKeyCollectionAccessRule, ServerlessSpaceApiKeyCollectionAccessRuleArgs

    AccessType string
    Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
    CollectionName string
    Name of the collection.
    AccessType string
    Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
    CollectionName string
    Name of the collection.
    access_type string
    Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
    collection_name string
    Name of the collection.
    accessType String
    Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
    collectionName String
    Name of the collection.
    accessType string
    Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
    collectionName string
    Name of the collection.
    access_type str
    Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
    collection_name str
    Name of the collection.
    accessType String
    Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
    collectionName String
    Name of the collection.

    ServerlessSpaceApiKeyGlobalAccessRule, ServerlessSpaceApiKeyGlobalAccessRuleArgs

    AccessType string
    Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.
    AccessType string
    Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.
    access_type string
    Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.
    accessType String
    Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.
    accessType string
    Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.
    access_type str
    Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.
    accessType String
    Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.

    ServerlessSpaceApiKeyState, ServerlessSpaceApiKeyStateArgs

    Phase string
    Reason string
    Phase string
    Reason string
    phase string
    reason string
    phase String
    reason String
    phase string
    reason string
    phase str
    reason str
    phase String
    reason String

    ServerlessSpaceApiKeyTimeouts, ServerlessSpaceApiKeyTimeoutsArgs

    Create string
    Create string
    create string
    create String
    create string
    create str
    create String

    Import

    qdrant-cloud_serverless_space_api_key can be imported using a composite ID of <space_id>/<api_key_id>, e.g.

    $ pulumi import qdrant-cloud:index/serverlessSpaceApiKey:ServerlessSpaceApiKey example 12345678-0000-0000-0000-1234567890ab/abcdefgh-0000-0000-0000-1234567890ab
    

    Note that the secret key is only available at creation time, so it is empty after import.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    qdrant-cloud qdrant/terraform-provider-qdrant-cloud
    License
    Notes
    This Pulumi package is based on the qdrant-cloud Terraform Provider.
    qdrant-cloud
    Viewing docs for qdrant-cloud 1.30.0
    published on Thursday, Oct 8, 2026 by qdrant

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial