1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. oos
  5. SecretParameter
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.oos.SecretParameter

Explore with Pulumi AI

Provides a Operation Orchestration Service (OOS) Secret Parameter resource.

For information about Operation Orchestration Service (OOS) Secret Parameter and how to use it, see What is Secret Parameter.

NOTE: Available since v1.147.0+.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = alicloud.resourcemanager.getResourceGroups({});
const exampleKey = new alicloud.kms.Key("example", {
    description: "terraform-example",
    status: "Enabled",
    pendingWindowInDays: 7,
});
const exampleSecretParameter = new alicloud.oos.SecretParameter("example", {
    secretParameterName: "terraform-example",
    value: "terraform-example",
    type: "Secret",
    keyId: exampleKey.id,
    description: "terraform-example",
    tags: {
        Created: "TF",
        For: "OosSecretParameter",
    },
    resourceGroupId: example.then(example => example.groups?.[0]?.id),
});
Copy
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.resourcemanager.get_resource_groups()
example_key = alicloud.kms.Key("example",
    description="terraform-example",
    status="Enabled",
    pending_window_in_days=7)
example_secret_parameter = alicloud.oos.SecretParameter("example",
    secret_parameter_name="terraform-example",
    value="terraform-example",
    type="Secret",
    key_id=example_key.id,
    description="terraform-example",
    tags={
        "Created": "TF",
        "For": "OosSecretParameter",
    },
    resource_group_id=example.groups[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/kms"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
		if err != nil {
			return err
		}
		exampleKey, err := kms.NewKey(ctx, "example", &kms.KeyArgs{
			Description:         pulumi.String("terraform-example"),
			Status:              pulumi.String("Enabled"),
			PendingWindowInDays: pulumi.Int(7),
		})
		if err != nil {
			return err
		}
		_, err = oos.NewSecretParameter(ctx, "example", &oos.SecretParameterArgs{
			SecretParameterName: pulumi.String("terraform-example"),
			Value:               pulumi.String("terraform-example"),
			Type:                pulumi.String("Secret"),
			KeyId:               exampleKey.ID(),
			Description:         pulumi.String("terraform-example"),
			Tags: pulumi.StringMap{
				"Created": pulumi.String("TF"),
				"For":     pulumi.String("OosSecretParameter"),
			},
			ResourceGroupId: pulumi.String(example.Groups[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var example = AliCloud.ResourceManager.GetResourceGroups.Invoke();

    var exampleKey = new AliCloud.Kms.Key("example", new()
    {
        Description = "terraform-example",
        Status = "Enabled",
        PendingWindowInDays = 7,
    });

    var exampleSecretParameter = new AliCloud.Oos.SecretParameter("example", new()
    {
        SecretParameterName = "terraform-example",
        Value = "terraform-example",
        Type = "Secret",
        KeyId = exampleKey.Id,
        Description = "terraform-example",
        Tags = 
        {
            { "Created", "TF" },
            { "For", "OosSecretParameter" },
        },
        ResourceGroupId = example.Apply(getResourceGroupsResult => getResourceGroupsResult.Groups[0]?.Id),
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.kms.Key;
import com.pulumi.alicloud.kms.KeyArgs;
import com.pulumi.alicloud.oos.SecretParameter;
import com.pulumi.alicloud.oos.SecretParameterArgs;
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) {
        final var example = ResourcemanagerFunctions.getResourceGroups();

        var exampleKey = new Key("exampleKey", KeyArgs.builder()
            .description("terraform-example")
            .status("Enabled")
            .pendingWindowInDays(7)
            .build());

        var exampleSecretParameter = new SecretParameter("exampleSecretParameter", SecretParameterArgs.builder()
            .secretParameterName("terraform-example")
            .value("terraform-example")
            .type("Secret")
            .keyId(exampleKey.id())
            .description("terraform-example")
            .tags(Map.ofEntries(
                Map.entry("Created", "TF"),
                Map.entry("For", "OosSecretParameter")
            ))
            .resourceGroupId(example.applyValue(getResourceGroupsResult -> getResourceGroupsResult.groups()[0].id()))
            .build());

    }
}
Copy
resources:
  exampleKey:
    type: alicloud:kms:Key
    name: example
    properties:
      description: terraform-example
      status: Enabled
      pendingWindowInDays: 7
  exampleSecretParameter:
    type: alicloud:oos:SecretParameter
    name: example
    properties:
      secretParameterName: terraform-example
      value: terraform-example
      type: Secret
      keyId: ${exampleKey.id}
      description: terraform-example
      tags:
        Created: TF
        For: OosSecretParameter
      resourceGroupId: ${example.groups[0].id}
variables:
  example:
    fn::invoke:
      function: alicloud:resourcemanager:getResourceGroups
      arguments: {}
Copy

Create SecretParameter Resource

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

Constructor syntax

new SecretParameter(name: string, args: SecretParameterArgs, opts?: CustomResourceOptions);
@overload
def SecretParameter(resource_name: str,
                    args: SecretParameterArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def SecretParameter(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    secret_parameter_name: Optional[str] = None,
                    value: Optional[str] = None,
                    constraints: Optional[str] = None,
                    description: Optional[str] = None,
                    dkms_instance_id: Optional[str] = None,
                    key_id: Optional[str] = None,
                    resource_group_id: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    type: Optional[str] = None)
func NewSecretParameter(ctx *Context, name string, args SecretParameterArgs, opts ...ResourceOption) (*SecretParameter, error)
public SecretParameter(string name, SecretParameterArgs args, CustomResourceOptions? opts = null)
public SecretParameter(String name, SecretParameterArgs args)
public SecretParameter(String name, SecretParameterArgs args, CustomResourceOptions options)
type: alicloud:oos:SecretParameter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SecretParameterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SecretParameterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SecretParameterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SecretParameterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SecretParameterArgs
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 secretParameterResource = new AliCloud.Oos.SecretParameter("secretParameterResource", new()
{
    SecretParameterName = "string",
    Value = "string",
    Constraints = "string",
    Description = "string",
    DkmsInstanceId = "string",
    KeyId = "string",
    ResourceGroupId = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Type = "string",
});
Copy
example, err := oos.NewSecretParameter(ctx, "secretParameterResource", &oos.SecretParameterArgs{
	SecretParameterName: pulumi.String("string"),
	Value:               pulumi.String("string"),
	Constraints:         pulumi.String("string"),
	Description:         pulumi.String("string"),
	DkmsInstanceId:      pulumi.String("string"),
	KeyId:               pulumi.String("string"),
	ResourceGroupId:     pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Type: pulumi.String("string"),
})
Copy
var secretParameterResource = new SecretParameter("secretParameterResource", SecretParameterArgs.builder()
    .secretParameterName("string")
    .value("string")
    .constraints("string")
    .description("string")
    .dkmsInstanceId("string")
    .keyId("string")
    .resourceGroupId("string")
    .tags(Map.of("string", "string"))
    .type("string")
    .build());
Copy
secret_parameter_resource = alicloud.oos.SecretParameter("secretParameterResource",
    secret_parameter_name="string",
    value="string",
    constraints="string",
    description="string",
    dkms_instance_id="string",
    key_id="string",
    resource_group_id="string",
    tags={
        "string": "string",
    },
    type="string")
Copy
const secretParameterResource = new alicloud.oos.SecretParameter("secretParameterResource", {
    secretParameterName: "string",
    value: "string",
    constraints: "string",
    description: "string",
    dkmsInstanceId: "string",
    keyId: "string",
    resourceGroupId: "string",
    tags: {
        string: "string",
    },
    type: "string",
});
Copy
type: alicloud:oos:SecretParameter
properties:
    constraints: string
    description: string
    dkmsInstanceId: string
    keyId: string
    resourceGroupId: string
    secretParameterName: string
    tags:
        string: string
    type: string
    value: string
Copy

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

SecretParameterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
Value This property is required. string
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
Constraints Changes to this property will trigger replacement. string
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
Description string
The description of the encryption parameter. The description must be 1 to 200 characters in length.
DkmsInstanceId Changes to this property will trigger replacement. string
The ID of the KMS instance.
KeyId Changes to this property will trigger replacement. string
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
ResourceGroupId string
The ID of the Resource Group.
Tags Dictionary<string, string>
A mapping of tags to assign to the resource.
Type Changes to this property will trigger replacement. string
The data type of the encryption parameter. Valid values: Secret.
SecretParameterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
Value This property is required. string
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
Constraints Changes to this property will trigger replacement. string
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
Description string
The description of the encryption parameter. The description must be 1 to 200 characters in length.
DkmsInstanceId Changes to this property will trigger replacement. string
The ID of the KMS instance.
KeyId Changes to this property will trigger replacement. string
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
ResourceGroupId string
The ID of the Resource Group.
Tags map[string]string
A mapping of tags to assign to the resource.
Type Changes to this property will trigger replacement. string
The data type of the encryption parameter. Valid values: Secret.
secretParameterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
value This property is required. String
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. String
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
description String
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkmsInstanceId Changes to this property will trigger replacement. String
The ID of the KMS instance.
keyId Changes to this property will trigger replacement. String
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resourceGroupId String
The ID of the Resource Group.
tags Map<String,String>
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. String
The data type of the encryption parameter. Valid values: Secret.
secretParameterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
value This property is required. string
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. string
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
description string
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkmsInstanceId Changes to this property will trigger replacement. string
The ID of the KMS instance.
keyId Changes to this property will trigger replacement. string
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resourceGroupId string
The ID of the Resource Group.
tags {[key: string]: string}
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. string
The data type of the encryption parameter. Valid values: Secret.
secret_parameter_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
value This property is required. str
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. str
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
description str
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkms_instance_id Changes to this property will trigger replacement. str
The ID of the KMS instance.
key_id Changes to this property will trigger replacement. str
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resource_group_id str
The ID of the Resource Group.
tags Mapping[str, str]
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. str
The data type of the encryption parameter. Valid values: Secret.
secretParameterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
value This property is required. String
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. String
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
description String
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkmsInstanceId Changes to this property will trigger replacement. String
The ID of the KMS instance.
keyId Changes to this property will trigger replacement. String
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resourceGroupId String
The ID of the Resource Group.
tags Map<String>
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. String
The data type of the encryption parameter. Valid values: Secret.

Outputs

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

CreateTime string
Parameter creation time
Id string
The provider-assigned unique ID for this managed resource.
CreateTime string
Parameter creation time
Id string
The provider-assigned unique ID for this managed resource.
createTime String
Parameter creation time
id String
The provider-assigned unique ID for this managed resource.
createTime string
Parameter creation time
id string
The provider-assigned unique ID for this managed resource.
create_time str
Parameter creation time
id str
The provider-assigned unique ID for this managed resource.
createTime String
Parameter creation time
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SecretParameter Resource

Get an existing SecretParameter 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?: SecretParameterState, opts?: CustomResourceOptions): SecretParameter
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        constraints: Optional[str] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        dkms_instance_id: Optional[str] = None,
        key_id: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        secret_parameter_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        type: Optional[str] = None,
        value: Optional[str] = None) -> SecretParameter
func GetSecretParameter(ctx *Context, name string, id IDInput, state *SecretParameterState, opts ...ResourceOption) (*SecretParameter, error)
public static SecretParameter Get(string name, Input<string> id, SecretParameterState? state, CustomResourceOptions? opts = null)
public static SecretParameter get(String name, Output<String> id, SecretParameterState state, CustomResourceOptions options)
resources:  _:    type: alicloud:oos:SecretParameter    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Constraints Changes to this property will trigger replacement. string
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
CreateTime string
Parameter creation time
Description string
The description of the encryption parameter. The description must be 1 to 200 characters in length.
DkmsInstanceId Changes to this property will trigger replacement. string
The ID of the KMS instance.
KeyId Changes to this property will trigger replacement. string
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
ResourceGroupId string
The ID of the Resource Group.
SecretParameterName Changes to this property will trigger replacement. string
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
Tags Dictionary<string, string>
A mapping of tags to assign to the resource.
Type Changes to this property will trigger replacement. string
The data type of the encryption parameter. Valid values: Secret.
Value string
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
Constraints Changes to this property will trigger replacement. string
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
CreateTime string
Parameter creation time
Description string
The description of the encryption parameter. The description must be 1 to 200 characters in length.
DkmsInstanceId Changes to this property will trigger replacement. string
The ID of the KMS instance.
KeyId Changes to this property will trigger replacement. string
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
ResourceGroupId string
The ID of the Resource Group.
SecretParameterName Changes to this property will trigger replacement. string
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
Tags map[string]string
A mapping of tags to assign to the resource.
Type Changes to this property will trigger replacement. string
The data type of the encryption parameter. Valid values: Secret.
Value string
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. String
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
createTime String
Parameter creation time
description String
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkmsInstanceId Changes to this property will trigger replacement. String
The ID of the KMS instance.
keyId Changes to this property will trigger replacement. String
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resourceGroupId String
The ID of the Resource Group.
secretParameterName Changes to this property will trigger replacement. String
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
tags Map<String,String>
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. String
The data type of the encryption parameter. Valid values: Secret.
value String
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. string
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
createTime string
Parameter creation time
description string
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkmsInstanceId Changes to this property will trigger replacement. string
The ID of the KMS instance.
keyId Changes to this property will trigger replacement. string
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resourceGroupId string
The ID of the Resource Group.
secretParameterName Changes to this property will trigger replacement. string
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
tags {[key: string]: string}
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. string
The data type of the encryption parameter. Valid values: Secret.
value string
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. str
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
create_time str
Parameter creation time
description str
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkms_instance_id Changes to this property will trigger replacement. str
The ID of the KMS instance.
key_id Changes to this property will trigger replacement. str
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resource_group_id str
The ID of the Resource Group.
secret_parameter_name Changes to this property will trigger replacement. str
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
tags Mapping[str, str]
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. str
The data type of the encryption parameter. Valid values: Secret.
value str
The value of the encryption parameter. The value must be 1 to 4096 characters in length.
constraints Changes to this property will trigger replacement. String
The constraints of the encryption parameter. By default, this parameter is null. Valid values:

  • AllowedValues: The value that is allowed for the encryption parameter. It must be an array string.
  • AllowedPattern: The pattern that is allowed for the encryption parameter. It must be a regular expression.
  • MinLength: The minimum length of the encryption parameter.
  • MaxLength: The maximum length of the encryption parameter.
createTime String
Parameter creation time
description String
The description of the encryption parameter. The description must be 1 to 200 characters in length.
dkmsInstanceId Changes to this property will trigger replacement. String
The ID of the KMS instance.
keyId Changes to this property will trigger replacement. String
The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resourceGroupId String
The ID of the Resource Group.
secretParameterName Changes to this property will trigger replacement. String
The name of the encryption parameter. The name must be 2 to 180 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/) and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
tags Map<String>
A mapping of tags to assign to the resource.
type Changes to this property will trigger replacement. String
The data type of the encryption parameter. Valid values: Secret.
value String
The value of the encryption parameter. The value must be 1 to 4096 characters in length.

Import

Operation Orchestration Service (OOS) Secret Parameter can be imported using the id, e.g.

$ pulumi import alicloud:oos/secretParameter:SecretParameter example <id>
Copy

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

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.