published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 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,
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.
Constructor example
The following reference example uses placeholder values for all input properties.
var secretsmanagerInstanceResource = new Stackit.SecretsmanagerInstance("secretsmanagerInstanceResource", new()
{
ProjectId = "string",
Acls = new[]
{
"string",
},
Name = "string",
});
example, err := stackit.NewSecretsmanagerInstance(ctx, "secretsmanagerInstanceResource", &stackit.SecretsmanagerInstanceArgs{
ProjectId: pulumi.String("string"),
Acls: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var secretsmanagerInstanceResource = new SecretsmanagerInstance("secretsmanagerInstanceResource", SecretsmanagerInstanceArgs.builder()
.projectId("string")
.acls("string")
.name("string")
.build());
secretsmanager_instance_resource = stackit.SecretsmanagerInstance("secretsmanagerInstanceResource",
project_id="string",
acls=["string"],
name="string")
const secretsmanagerInstanceResource = new stackit.SecretsmanagerInstance("secretsmanagerInstanceResource", {
projectId: "string",
acls: ["string"],
name: "string",
});
type: stackit:SecretsmanagerInstance
properties:
acls:
- string
name: string
projectId: string
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 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
- name str
- 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,
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- name String
- Instance name.
- project
Id String - STACKIT project ID to which the instance is associated.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
