published on Tuesday, Mar 31, 2026 by stackitcloud
published on Tuesday, Mar 31, 2026 by stackitcloud
Secrets Manager instance resource schema. Must have a region specified in the provider configuration.
Example Usage
resource "stackit_secretsmanager_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-instance"
acls = ["XXX.XXX.XXX.X/XX", "XX.XXX.XX.X/XX"]
}
# Only use the import statement, if you want to import an existing secretsmanager instance
import {
to = stackit_secretsmanager_instance.import-example
id = "${var.project_id},${var.secret_instance_id}"
}
Create SecretsmanagerInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretsmanagerInstance(name: string, args: SecretsmanagerInstanceArgs, opts?: CustomResourceOptions);@overload
def SecretsmanagerInstance(resource_name: str,
args: SecretsmanagerInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecretsmanagerInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
acls: Optional[Sequence[str]] = None,
kms_key: Optional[SecretsmanagerInstanceKmsKeyArgs] = None,
name: Optional[str] = None)func NewSecretsmanagerInstance(ctx *Context, name string, args SecretsmanagerInstanceArgs, opts ...ResourceOption) (*SecretsmanagerInstance, error)public SecretsmanagerInstance(string name, SecretsmanagerInstanceArgs args, CustomResourceOptions? opts = null)
public SecretsmanagerInstance(String name, SecretsmanagerInstanceArgs args)
public SecretsmanagerInstance(String name, SecretsmanagerInstanceArgs args, CustomResourceOptions options)
type: stackit:SecretsmanagerInstance
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 SecretsmanagerInstanceArgs
- 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 SecretsmanagerInstanceArgs
- 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 SecretsmanagerInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretsmanagerInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecretsmanagerInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SecretsmanagerInstance 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 SecretsmanagerInstance resource accepts the following input properties:
- Project
Id string - STACKIT project ID to which the instance is associated.
- Acls List<string>
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- Kms
Key SecretsmanagerInstance Kms Key - The STACKIT-KMS key for secret encryption and decryption.
- Name string
- Instance name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Acls []string
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- Kms
Key SecretsmanagerInstance Kms Key Args - The STACKIT-KMS key for secret encryption and decryption.
- Name string
- Instance name.
- project
Id String - STACKIT project ID to which the instance is associated.
- acls List<String>
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- kms
Key SecretsmanagerInstance Kms Key - The STACKIT-KMS key for secret encryption and decryption.
- name String
- Instance name.
- project
Id string - STACKIT project ID to which the instance is associated.
- acls string[]
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- kms
Key SecretsmanagerInstance Kms Key - The STACKIT-KMS key for secret encryption and decryption.
- name string
- Instance name.
- project_
id str - STACKIT project ID to which the instance is associated.
- acls Sequence[str]
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- kms_
key SecretsmanagerInstance Kms Key Args - The STACKIT-KMS key for secret encryption and decryption.
- name str
- Instance name.
- project
Id String - STACKIT project ID to which the instance is associated.
- acls List<String>
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- kms
Key Property Map - The STACKIT-KMS key for secret encryption and decryption.
- name String
- Instance name.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretsmanagerInstance resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - ID of the Secrets Manager instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - ID of the Secrets Manager instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - ID of the Secrets Manager instance.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - ID of the Secrets Manager instance.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - ID of the Secrets Manager instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - ID of the Secrets Manager instance.
Look up Existing SecretsmanagerInstance Resource
Get an existing SecretsmanagerInstance 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?: SecretsmanagerInstanceState, opts?: CustomResourceOptions): SecretsmanagerInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acls: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
kms_key: Optional[SecretsmanagerInstanceKmsKeyArgs] = None,
name: Optional[str] = None,
project_id: Optional[str] = None) -> SecretsmanagerInstancefunc GetSecretsmanagerInstance(ctx *Context, name string, id IDInput, state *SecretsmanagerInstanceState, opts ...ResourceOption) (*SecretsmanagerInstance, error)public static SecretsmanagerInstance Get(string name, Input<string> id, SecretsmanagerInstanceState? state, CustomResourceOptions? opts = null)public static SecretsmanagerInstance get(String name, Output<String> id, SecretsmanagerInstanceState state, CustomResourceOptions options)resources: _: type: stackit:SecretsmanagerInstance 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.
- Acls List<string>
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- Instance
Id string - ID of the Secrets Manager instance.
- Kms
Key SecretsmanagerInstance Kms Key - The STACKIT-KMS key for secret encryption and decryption.
- Name string
- Instance name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Acls []string
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- Instance
Id string - ID of the Secrets Manager instance.
- Kms
Key SecretsmanagerInstance Kms Key Args - The STACKIT-KMS key for secret encryption and decryption.
- Name string
- Instance name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- acls List<String>
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- instance
Id String - ID of the Secrets Manager instance.
- kms
Key SecretsmanagerInstance Kms Key - The STACKIT-KMS key for secret encryption and decryption.
- name String
- Instance name.
- project
Id String - STACKIT project ID to which the instance is associated.
- acls string[]
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- instance
Id string - ID of the Secrets Manager instance.
- kms
Key SecretsmanagerInstance Kms Key - The STACKIT-KMS key for secret encryption and decryption.
- name string
- Instance name.
- project
Id string - STACKIT project ID to which the instance is associated.
- acls Sequence[str]
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- instance_
id str - ID of the Secrets Manager instance.
- kms_
key SecretsmanagerInstance Kms Key Args - The STACKIT-KMS key for secret encryption and decryption.
- name str
- Instance name.
- project_
id str - STACKIT project ID to which the instance is associated.
- acls List<String>
- The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- instance
Id String - ID of the Secrets Manager instance.
- kms
Key Property Map - The STACKIT-KMS key for secret encryption and decryption.
- name String
- Instance name.
- project
Id String - STACKIT project ID to which the instance is associated.
Supporting Types
SecretsmanagerInstanceKmsKey, SecretsmanagerInstanceKmsKeyArgs
- Key
Id string - UUID of the key within the STACKIT-KMS to use for the encryption.
- Key
Ring stringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- Key
Version int - Version of the key within the STACKIT-KMS to use for the encryption.
- Service
Account stringEmail - Service-Account linked to the Key within the STACKIT-KMS.
- Key
Id string - UUID of the key within the STACKIT-KMS to use for the encryption.
- Key
Ring stringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- Key
Version int - Version of the key within the STACKIT-KMS to use for the encryption.
- Service
Account stringEmail - Service-Account linked to the Key within the STACKIT-KMS.
- key
Id String - UUID of the key within the STACKIT-KMS to use for the encryption.
- key
Ring StringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- key
Version Integer - Version of the key within the STACKIT-KMS to use for the encryption.
- service
Account StringEmail - Service-Account linked to the Key within the STACKIT-KMS.
- key
Id string - UUID of the key within the STACKIT-KMS to use for the encryption.
- key
Ring stringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- key
Version number - Version of the key within the STACKIT-KMS to use for the encryption.
- service
Account stringEmail - Service-Account linked to the Key within the STACKIT-KMS.
- key_
id str - UUID of the key within the STACKIT-KMS to use for the encryption.
- key_
ring_ strid - UUID of the keyring where the key is located within the STACKTI-KMS.
- key_
version int - Version of the key within the STACKIT-KMS to use for the encryption.
- service_
account_ stremail - Service-Account linked to the Key within the STACKIT-KMS.
- key
Id String - UUID of the key within the STACKIT-KMS to use for the encryption.
- key
Ring StringId - UUID of the keyring where the key is located within the STACKTI-KMS.
- key
Version Number - Version of the key within the STACKIT-KMS to use for the encryption.
- service
Account StringEmail - Service-Account linked to the Key within the STACKIT-KMS.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Tuesday, Mar 31, 2026 by stackitcloud
