1. Packages
  2. Vkcs Provider
  3. API Docs
  4. KeymanagerContainer
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.KeymanagerContainer

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Manages a key container resource within VKCS.

    Example Usage

    The container with the TLS certificate and private key which can be used by the loadbalancer HTTPS listener.

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const lbCert = new vkcs.KeymanagerContainer("lbCert", {
        type: "certificate",
        secretRefs: [
            {
                name: "certificate",
                secretRef: vkcs_keymanager_secret.certificate.secret_ref,
            },
            {
                name: "private_key",
                secretRef: vkcs_keymanager_secret.priv_key.secret_ref,
            },
        ],
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    lb_cert = vkcs.KeymanagerContainer("lbCert",
        type="certificate",
        secret_refs=[
            {
                "name": "certificate",
                "secret_ref": vkcs_keymanager_secret["certificate"]["secret_ref"],
            },
            {
                "name": "private_key",
                "secret_ref": vkcs_keymanager_secret["priv_key"]["secret_ref"],
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.NewKeymanagerContainer(ctx, "lbCert", &vkcs.KeymanagerContainerArgs{
    			Type: pulumi.String("certificate"),
    			SecretRefs: vkcs.KeymanagerContainerSecretRefArray{
    				&vkcs.KeymanagerContainerSecretRefArgs{
    					Name:      pulumi.String("certificate"),
    					SecretRef: pulumi.Any(vkcs_keymanager_secret.Certificate.Secret_ref),
    				},
    				&vkcs.KeymanagerContainerSecretRefArgs{
    					Name:      pulumi.String("private_key"),
    					SecretRef: pulumi.Any(vkcs_keymanager_secret.Priv_key.Secret_ref),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var lbCert = new Vkcs.KeymanagerContainer("lbCert", new()
        {
            Type = "certificate",
            SecretRefs = new[]
            {
                new Vkcs.Inputs.KeymanagerContainerSecretRefArgs
                {
                    Name = "certificate",
                    SecretRef = vkcs_keymanager_secret.Certificate.Secret_ref,
                },
                new Vkcs.Inputs.KeymanagerContainerSecretRefArgs
                {
                    Name = "private_key",
                    SecretRef = vkcs_keymanager_secret.Priv_key.Secret_ref,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.KeymanagerContainer;
    import com.pulumi.vkcs.KeymanagerContainerArgs;
    import com.pulumi.vkcs.inputs.KeymanagerContainerSecretRefArgs;
    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) {
            var lbCert = new KeymanagerContainer("lbCert", KeymanagerContainerArgs.builder()
                .type("certificate")
                .secretRefs(            
                    KeymanagerContainerSecretRefArgs.builder()
                        .name("certificate")
                        .secretRef(vkcs_keymanager_secret.certificate().secret_ref())
                        .build(),
                    KeymanagerContainerSecretRefArgs.builder()
                        .name("private_key")
                        .secretRef(vkcs_keymanager_secret.priv_key().secret_ref())
                        .build())
                .build());
    
        }
    }
    
    resources:
      lbCert:
        type: vkcs:KeymanagerContainer
        properties:
          type: certificate
          secretRefs:
            - name: certificate
              secretRef: ${vkcs_keymanager_secret.certificate.secret_ref}
            - name: private_key
              secretRef: ${vkcs_keymanager_secret.priv_key.secret_ref}
    

    Create KeymanagerContainer Resource

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

    Constructor syntax

    new KeymanagerContainer(name: string, args: KeymanagerContainerArgs, opts?: CustomResourceOptions);
    @overload
    def KeymanagerContainer(resource_name: str,
                            args: KeymanagerContainerArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def KeymanagerContainer(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            type: Optional[str] = None,
                            acl: Optional[KeymanagerContainerAclArgs] = None,
                            keymanager_container_id: Optional[str] = None,
                            name: Optional[str] = None,
                            region: Optional[str] = None,
                            secret_refs: Optional[Sequence[KeymanagerContainerSecretRefArgs]] = None,
                            timeouts: Optional[KeymanagerContainerTimeoutsArgs] = None)
    func NewKeymanagerContainer(ctx *Context, name string, args KeymanagerContainerArgs, opts ...ResourceOption) (*KeymanagerContainer, error)
    public KeymanagerContainer(string name, KeymanagerContainerArgs args, CustomResourceOptions? opts = null)
    public KeymanagerContainer(String name, KeymanagerContainerArgs args)
    public KeymanagerContainer(String name, KeymanagerContainerArgs args, CustomResourceOptions options)
    
    type: vkcs:KeymanagerContainer
    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 KeymanagerContainerArgs
    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 KeymanagerContainerArgs
    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 KeymanagerContainerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KeymanagerContainerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KeymanagerContainerArgs
    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 keymanagerContainerResource = new Vkcs.KeymanagerContainer("keymanagerContainerResource", new()
    {
        Type = "string",
        Acl = new Vkcs.Inputs.KeymanagerContainerAclArgs
        {
            Read = new Vkcs.Inputs.KeymanagerContainerAclReadArgs
            {
                CreatedAt = "string",
                ProjectAccess = false,
                UpdatedAt = "string",
                Users = new[]
                {
                    "string",
                },
            },
        },
        KeymanagerContainerId = "string",
        Name = "string",
        Region = "string",
        SecretRefs = new[]
        {
            new Vkcs.Inputs.KeymanagerContainerSecretRefArgs
            {
                SecretRef = "string",
                Name = "string",
            },
        },
        Timeouts = new Vkcs.Inputs.KeymanagerContainerTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := vkcs.NewKeymanagerContainer(ctx, "keymanagerContainerResource", &vkcs.KeymanagerContainerArgs{
    	Type: pulumi.String("string"),
    	Acl: &vkcs.KeymanagerContainerAclArgs{
    		Read: &vkcs.KeymanagerContainerAclReadArgs{
    			CreatedAt:     pulumi.String("string"),
    			ProjectAccess: pulumi.Bool(false),
    			UpdatedAt:     pulumi.String("string"),
    			Users: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	KeymanagerContainerId: pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	Region:                pulumi.String("string"),
    	SecretRefs: vkcs.KeymanagerContainerSecretRefArray{
    		&vkcs.KeymanagerContainerSecretRefArgs{
    			SecretRef: pulumi.String("string"),
    			Name:      pulumi.String("string"),
    		},
    	},
    	Timeouts: &vkcs.KeymanagerContainerTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var keymanagerContainerResource = new KeymanagerContainer("keymanagerContainerResource", KeymanagerContainerArgs.builder()
        .type("string")
        .acl(KeymanagerContainerAclArgs.builder()
            .read(KeymanagerContainerAclReadArgs.builder()
                .createdAt("string")
                .projectAccess(false)
                .updatedAt("string")
                .users("string")
                .build())
            .build())
        .keymanagerContainerId("string")
        .name("string")
        .region("string")
        .secretRefs(KeymanagerContainerSecretRefArgs.builder()
            .secretRef("string")
            .name("string")
            .build())
        .timeouts(KeymanagerContainerTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    keymanager_container_resource = vkcs.KeymanagerContainer("keymanagerContainerResource",
        type="string",
        acl={
            "read": {
                "created_at": "string",
                "project_access": False,
                "updated_at": "string",
                "users": ["string"],
            },
        },
        keymanager_container_id="string",
        name="string",
        region="string",
        secret_refs=[{
            "secret_ref": "string",
            "name": "string",
        }],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const keymanagerContainerResource = new vkcs.KeymanagerContainer("keymanagerContainerResource", {
        type: "string",
        acl: {
            read: {
                createdAt: "string",
                projectAccess: false,
                updatedAt: "string",
                users: ["string"],
            },
        },
        keymanagerContainerId: "string",
        name: "string",
        region: "string",
        secretRefs: [{
            secretRef: "string",
            name: "string",
        }],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: vkcs:KeymanagerContainer
    properties:
        acl:
            read:
                createdAt: string
                projectAccess: false
                updatedAt: string
                users:
                    - string
        keymanagerContainerId: string
        name: string
        region: string
        secretRefs:
            - name: string
              secretRef: string
        timeouts:
            create: string
            delete: string
            update: string
        type: string
    

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

    Type string
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    Acl KeymanagerContainerAcl
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    KeymanagerContainerId string
    string → ID of the resource.
    Name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    Region string
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    SecretRefs List<KeymanagerContainerSecretRef>
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    Timeouts KeymanagerContainerTimeouts
    Type string
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    Acl KeymanagerContainerAclArgs
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    KeymanagerContainerId string
    string → ID of the resource.
    Name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    Region string
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    SecretRefs []KeymanagerContainerSecretRefArgs
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    Timeouts KeymanagerContainerTimeoutsArgs
    type String
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    acl KeymanagerContainerAcl
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    keymanagerContainerId String
    string → ID of the resource.
    name String
    optional string → Human-readable name for the Container. Does not have to be unique.
    region String
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secretRefs List<KeymanagerContainerSecretRef>
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    timeouts KeymanagerContainerTimeouts
    type string
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    acl KeymanagerContainerAcl
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    keymanagerContainerId string
    string → ID of the resource.
    name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    region string
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secretRefs KeymanagerContainerSecretRef[]
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    timeouts KeymanagerContainerTimeouts
    type str
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    acl KeymanagerContainerAclArgs
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    keymanager_container_id str
    string → ID of the resource.
    name str
    optional string → Human-readable name for the Container. Does not have to be unique.
    region str
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secret_refs Sequence[KeymanagerContainerSecretRefArgs]
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    timeouts KeymanagerContainerTimeoutsArgs
    type String
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    acl Property Map
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    keymanagerContainerId String
    string → ID of the resource.
    name String
    optional string → Human-readable name for the Container. Does not have to be unique.
    region String
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secretRefs List<Property Map>
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    timeouts Property Map

    Outputs

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

    Consumers List<KeymanagerContainerConsumer>
    object → The list of the container consumers. The structure is described below.
    ContainerRef string
    string → The container reference / where to find the container.
    CreatedAt string
    string → The date the container ACL was created.
    CreatorId string
    string → The creator of the container.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    string → The status of the container.
    UpdatedAt string
    string → The date the container ACL was last updated.
    Consumers []KeymanagerContainerConsumer
    object → The list of the container consumers. The structure is described below.
    ContainerRef string
    string → The container reference / where to find the container.
    CreatedAt string
    string → The date the container ACL was created.
    CreatorId string
    string → The creator of the container.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    string → The status of the container.
    UpdatedAt string
    string → The date the container ACL was last updated.
    consumers List<KeymanagerContainerConsumer>
    object → The list of the container consumers. The structure is described below.
    containerRef String
    string → The container reference / where to find the container.
    createdAt String
    string → The date the container ACL was created.
    creatorId String
    string → The creator of the container.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    string → The status of the container.
    updatedAt String
    string → The date the container ACL was last updated.
    consumers KeymanagerContainerConsumer[]
    object → The list of the container consumers. The structure is described below.
    containerRef string
    string → The container reference / where to find the container.
    createdAt string
    string → The date the container ACL was created.
    creatorId string
    string → The creator of the container.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    string → The status of the container.
    updatedAt string
    string → The date the container ACL was last updated.
    consumers Sequence[KeymanagerContainerConsumer]
    object → The list of the container consumers. The structure is described below.
    container_ref str
    string → The container reference / where to find the container.
    created_at str
    string → The date the container ACL was created.
    creator_id str
    string → The creator of the container.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    string → The status of the container.
    updated_at str
    string → The date the container ACL was last updated.
    consumers List<Property Map>
    object → The list of the container consumers. The structure is described below.
    containerRef String
    string → The container reference / where to find the container.
    createdAt String
    string → The date the container ACL was created.
    creatorId String
    string → The creator of the container.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    string → The status of the container.
    updatedAt String
    string → The date the container ACL was last updated.

    Look up Existing KeymanagerContainer Resource

    Get an existing KeymanagerContainer 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?: KeymanagerContainerState, opts?: CustomResourceOptions): KeymanagerContainer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl: Optional[KeymanagerContainerAclArgs] = None,
            consumers: Optional[Sequence[KeymanagerContainerConsumerArgs]] = None,
            container_ref: Optional[str] = None,
            created_at: Optional[str] = None,
            creator_id: Optional[str] = None,
            keymanager_container_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            secret_refs: Optional[Sequence[KeymanagerContainerSecretRefArgs]] = None,
            status: Optional[str] = None,
            timeouts: Optional[KeymanagerContainerTimeoutsArgs] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None) -> KeymanagerContainer
    func GetKeymanagerContainer(ctx *Context, name string, id IDInput, state *KeymanagerContainerState, opts ...ResourceOption) (*KeymanagerContainer, error)
    public static KeymanagerContainer Get(string name, Input<string> id, KeymanagerContainerState? state, CustomResourceOptions? opts = null)
    public static KeymanagerContainer get(String name, Output<String> id, KeymanagerContainerState state, CustomResourceOptions options)
    resources:  _:    type: vkcs:KeymanagerContainer    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.
    The following state arguments are supported:
    Acl KeymanagerContainerAcl
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    Consumers List<KeymanagerContainerConsumer>
    object → The list of the container consumers. The structure is described below.
    ContainerRef string
    string → The container reference / where to find the container.
    CreatedAt string
    string → The date the container ACL was created.
    CreatorId string
    string → The creator of the container.
    KeymanagerContainerId string
    string → ID of the resource.
    Name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    Region string
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    SecretRefs List<KeymanagerContainerSecretRef>
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    Status string
    string → The status of the container.
    Timeouts KeymanagerContainerTimeouts
    Type string
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    UpdatedAt string
    string → The date the container ACL was last updated.
    Acl KeymanagerContainerAclArgs
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    Consumers []KeymanagerContainerConsumerArgs
    object → The list of the container consumers. The structure is described below.
    ContainerRef string
    string → The container reference / where to find the container.
    CreatedAt string
    string → The date the container ACL was created.
    CreatorId string
    string → The creator of the container.
    KeymanagerContainerId string
    string → ID of the resource.
    Name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    Region string
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    SecretRefs []KeymanagerContainerSecretRefArgs
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    Status string
    string → The status of the container.
    Timeouts KeymanagerContainerTimeoutsArgs
    Type string
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    UpdatedAt string
    string → The date the container ACL was last updated.
    acl KeymanagerContainerAcl
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    consumers List<KeymanagerContainerConsumer>
    object → The list of the container consumers. The structure is described below.
    containerRef String
    string → The container reference / where to find the container.
    createdAt String
    string → The date the container ACL was created.
    creatorId String
    string → The creator of the container.
    keymanagerContainerId String
    string → ID of the resource.
    name String
    optional string → Human-readable name for the Container. Does not have to be unique.
    region String
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secretRefs List<KeymanagerContainerSecretRef>
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    status String
    string → The status of the container.
    timeouts KeymanagerContainerTimeouts
    type String
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    updatedAt String
    string → The date the container ACL was last updated.
    acl KeymanagerContainerAcl
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    consumers KeymanagerContainerConsumer[]
    object → The list of the container consumers. The structure is described below.
    containerRef string
    string → The container reference / where to find the container.
    createdAt string
    string → The date the container ACL was created.
    creatorId string
    string → The creator of the container.
    keymanagerContainerId string
    string → ID of the resource.
    name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    region string
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secretRefs KeymanagerContainerSecretRef[]
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    status string
    string → The status of the container.
    timeouts KeymanagerContainerTimeouts
    type string
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    updatedAt string
    string → The date the container ACL was last updated.
    acl KeymanagerContainerAclArgs
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    consumers Sequence[KeymanagerContainerConsumerArgs]
    object → The list of the container consumers. The structure is described below.
    container_ref str
    string → The container reference / where to find the container.
    created_at str
    string → The date the container ACL was created.
    creator_id str
    string → The creator of the container.
    keymanager_container_id str
    string → ID of the resource.
    name str
    optional string → Human-readable name for the Container. Does not have to be unique.
    region str
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secret_refs Sequence[KeymanagerContainerSecretRefArgs]
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    status str
    string → The status of the container.
    timeouts KeymanagerContainerTimeoutsArgs
    type str
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    updated_at str
    string → The date the container ACL was last updated.
    acl Property Map
    optional → Allows to control an access to a container. Currently only the read operation is supported. If not specified, the container is accessible project wide. The read structure is described below.
    consumers List<Property Map>
    object → The list of the container consumers. The structure is described below.
    containerRef String
    string → The container reference / where to find the container.
    createdAt String
    string → The date the container ACL was created.
    creatorId String
    string → The creator of the container.
    keymanagerContainerId String
    string → ID of the resource.
    name String
    optional string → Human-readable name for the Container. Does not have to be unique.
    region String
    optional string → The region in which to obtain the KeyManager client. A KeyManager client is needed to create a container. If omitted, the region argument of the provider is used. Changing this creates a new container.
    secretRefs List<Property Map>
    optional → A set of dictionaries containing references to secrets. The structure is described below.
    status String
    string → The status of the container.
    timeouts Property Map
    type String
    required string → Used to indicate the type of container. Must be one of generic, rsa or certificate.
    updatedAt String
    string → The date the container ACL was last updated.

    Supporting Types

    KeymanagerContainerAcl, KeymanagerContainerAclArgs

    Read KeymanagerContainerAclRead
    optional → Block that describes read operation.
    Read KeymanagerContainerAclRead
    optional → Block that describes read operation.
    read KeymanagerContainerAclRead
    optional → Block that describes read operation.
    read KeymanagerContainerAclRead
    optional → Block that describes read operation.
    read KeymanagerContainerAclRead
    optional → Block that describes read operation.
    read Property Map
    optional → Block that describes read operation.

    KeymanagerContainerAclRead, KeymanagerContainerAclReadArgs

    CreatedAt string
    string → The date the container ACL was created.
    ProjectAccess bool
    optional boolean → Whether the container is accessible project wide. Defaults to true.
    UpdatedAt string
    string → The date the container ACL was last updated.
    Users List<string>
    optional set of string → The list of user IDs, which are allowed to access the container, when project_access is set to false.
    CreatedAt string
    string → The date the container ACL was created.
    ProjectAccess bool
    optional boolean → Whether the container is accessible project wide. Defaults to true.
    UpdatedAt string
    string → The date the container ACL was last updated.
    Users []string
    optional set of string → The list of user IDs, which are allowed to access the container, when project_access is set to false.
    createdAt String
    string → The date the container ACL was created.
    projectAccess Boolean
    optional boolean → Whether the container is accessible project wide. Defaults to true.
    updatedAt String
    string → The date the container ACL was last updated.
    users List<String>
    optional set of string → The list of user IDs, which are allowed to access the container, when project_access is set to false.
    createdAt string
    string → The date the container ACL was created.
    projectAccess boolean
    optional boolean → Whether the container is accessible project wide. Defaults to true.
    updatedAt string
    string → The date the container ACL was last updated.
    users string[]
    optional set of string → The list of user IDs, which are allowed to access the container, when project_access is set to false.
    created_at str
    string → The date the container ACL was created.
    project_access bool
    optional boolean → Whether the container is accessible project wide. Defaults to true.
    updated_at str
    string → The date the container ACL was last updated.
    users Sequence[str]
    optional set of string → The list of user IDs, which are allowed to access the container, when project_access is set to false.
    createdAt String
    string → The date the container ACL was created.
    projectAccess Boolean
    optional boolean → Whether the container is accessible project wide. Defaults to true.
    updatedAt String
    string → The date the container ACL was last updated.
    users List<String>
    optional set of string → The list of user IDs, which are allowed to access the container, when project_access is set to false.

    KeymanagerContainerConsumer, KeymanagerContainerConsumerArgs

    Name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    Url string
    Name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    Url string
    name String
    optional string → Human-readable name for the Container. Does not have to be unique.
    url String
    name string
    optional string → Human-readable name for the Container. Does not have to be unique.
    url string
    name str
    optional string → Human-readable name for the Container. Does not have to be unique.
    url str
    name String
    optional string → Human-readable name for the Container. Does not have to be unique.
    url String

    KeymanagerContainerSecretRef, KeymanagerContainerSecretRefArgs

    SecretRef string
    required string → The secret reference / where to find the secret, URL.
    Name string
    optional string → The name of the secret reference. The reference names must correspond the container type, more details are available here.
    SecretRef string
    required string → The secret reference / where to find the secret, URL.
    Name string
    optional string → The name of the secret reference. The reference names must correspond the container type, more details are available here.
    secretRef String
    required string → The secret reference / where to find the secret, URL.
    name String
    optional string → The name of the secret reference. The reference names must correspond the container type, more details are available here.
    secretRef string
    required string → The secret reference / where to find the secret, URL.
    name string
    optional string → The name of the secret reference. The reference names must correspond the container type, more details are available here.
    secret_ref str
    required string → The secret reference / where to find the secret, URL.
    name str
    optional string → The name of the secret reference. The reference names must correspond the container type, more details are available here.
    secretRef String
    required string → The secret reference / where to find the secret, URL.
    name String
    optional string → The name of the secret reference. The reference names must correspond the container type, more details are available here.

    KeymanagerContainerTimeouts, KeymanagerContainerTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    Containers can be imported using the container id (the last part of the container reference), e.g.:

    $ pulumi import vkcs:index/keymanagerContainer:KeymanagerContainer container_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953
    

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

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs