published on Thursday, Oct 8, 2026 by qdrant
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:
- 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 List<Pulumi.Rules Qdrant Cloud. Inputs. Serverless Space Api Key Collection Access Rule> - 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 Pulumi.Rule Qdrant Cloud. Inputs. Serverless Space Api Key Global Access Rule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess is granted. - Name string
- Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces,
_and-) field - Timeouts
Pulumi.
Qdrant Cloud. Inputs. Serverless Space Api Key Timeouts
- 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 []ServerlessRules Space Api Key Collection Access Rule Args - 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 ServerlessRule Space Api Key Global Access Rule Args - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess is granted. - Name string
- Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces,
_and-) field - Timeouts
Serverless
Space Api Key Timeouts Args
- 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_ list(object)rules - 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_ objectrule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess is granted. - name string
- Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces,
_and-) field - timeouts object
- 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 List<ServerlessRules Space Api Key Collection Access Rule> - 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 ServerlessRule Space Api Key Global Access Rule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess is granted. - name String
- Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces,
_and-) field - timeouts
Serverless
Space Api Key Timeouts
- 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 ServerlessRules Space Api Key Collection Access Rule[] - 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 ServerlessRule Space Api Key Global Access Rule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess is granted. - name string
- Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces,
_and-) field - timeouts
Serverless
Space Api Key Timeouts
- 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_ Sequence[Serverlessrules Space Api Key Collection Access Rule Args] - 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_ Serverlessrule Space Api Key Global Access Rule Args - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess is granted. - name str
- Serverless Space API Key Schema Name of the API key (4-128 characters: letters, numbers, spaces,
_and-) field - timeouts
Serverless
Space Api Key Timeouts Args
- 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 List<Property Map>Rules - 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 Property MapRule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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:
- 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<Pulumi.
Qdrant Cloud. Outputs. Serverless Space Api Key State> - 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
[]Serverless
Space Api Key State Type - 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
- 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<Serverless
Space Api Key State> - 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
Serverless
Space Api Key State[] - 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[Serverless
Space Api Key State] - 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<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) -> ServerlessSpaceApiKeyfunc 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.
- Account
Id string - Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
- Collection
Access List<Pulumi.Rules Qdrant Cloud. Inputs. Serverless Space Api Key Collection Access Rule> - 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 Pulumi.Rule Qdrant Cloud. Inputs. Serverless Space Api Key Global Access Rule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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<Pulumi.
Qdrant Cloud. Inputs. Serverless Space Api Key State> - Serverless Space API Key Schema Current state of the API key field
- Timeouts
Pulumi.
Qdrant Cloud. Inputs. Serverless Space Api Key Timeouts
- Account
Id string - Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
- Collection
Access []ServerlessRules Space Api Key Collection Access Rule Args - 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 ServerlessRule Space Api Key Global Access Rule Args - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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
[]Serverless
Space Api Key State Type Args - Serverless Space API Key Schema Current state of the API key field
- Timeouts
Serverless
Space Api Key Timeouts Args
- account_
id string - Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
- collection_
access_ list(object)rules - 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_ objectrule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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
- account
Id String - Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
- collection
Access List<ServerlessRules Space Api Key Collection Access Rule> - 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 ServerlessRule Space Api Key Global Access Rule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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<Serverless
Space Api Key State> - Serverless Space API Key Schema Current state of the API key field
- timeouts
Serverless
Space Api Key Timeouts
- account
Id string - Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
- collection
Access ServerlessRules Space Api Key Collection Access Rule[] - 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 ServerlessRule Space Api Key Global Access Rule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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
Serverless
Space Api Key State[] - Serverless Space API Key Schema Current state of the API key field
- timeouts
Serverless
Space Api Key Timeouts
- account_
id str - Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
- collection_
access_ Sequence[Serverlessrules Space Api Key Collection Access Rule Args] - 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_ Serverlessrule Space Api Key Global Access Rule Args - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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[Serverless
Space Api Key State Args] - Serverless Space API Key Schema Current state of the API key field
- timeouts
Serverless
Space Api Key Timeouts Args
- account
Id String - Serverless Space API Key Schema Account ID (defaults to the provider account ID) field
- collection
Access List<Property Map>Rules - 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 Property MapRule - A rule granting access to the entire space. Cannot be used with
collection_access_rules. If no rules are provided, globalMANAGEaccess 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<Property Map>
- Serverless Space API Key Schema Current state of the API key field
- timeouts Property Map
Supporting Types
ServerlessSpaceApiKeyCollectionAccessRule, ServerlessSpaceApiKeyCollectionAccessRuleArgs
- Access
Type string - Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
- Collection
Name 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.
- access_
type string - Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
- collection_
name 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.
- access
Type string - Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
- collection
Name 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.
- access
Type String - Access type for the collection. Must be one of: COLLECTIONACCESSRULEACCESSTYPEREADONLY, COLLECTIONACCESSRULEACCESSTYPEREADWRITE.
- collection
Name String - Name of the collection.
ServerlessSpaceApiKeyGlobalAccessRule, ServerlessSpaceApiKeyGlobalAccessRuleArgs
- Access
Type 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.
- access_
type 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.
- access
Type 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.
- access
Type String - Access type for the entire space. Must be one of: GLOBALACCESSRULEACCESSTYPEMANAGE, GLOBALACCESSRULEACCESSTYPEMETRICSREADONLY, GLOBALACCESSRULEACCESSTYPEREADONLY.
ServerlessSpaceApiKeyState, ServerlessSpaceApiKeyStateArgs
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-cloudTerraform Provider.
published on Thursday, Oct 8, 2026 by qdrant