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

vkcs.getKeymanagerContainer

Explore with Pulumi AI

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

    Use this data source to get the ID of an available Key container.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const lbCert = vkcs.getKeymanagerContainer({
        name: "container-tf-example",
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    lb_cert = vkcs.get_keymanager_container(name="container-tf-example")
    
    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.LookupKeymanagerContainer(ctx, &vkcs.LookupKeymanagerContainerArgs{
    			Name: pulumi.StringRef("container-tf-example"),
    		}, nil)
    		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 = Vkcs.GetKeymanagerContainer.Invoke(new()
        {
            Name = "container-tf-example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.VkcsFunctions;
    import com.pulumi.vkcs.inputs.GetKeymanagerContainerArgs;
    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 lbCert = VkcsFunctions.getKeymanagerContainer(GetKeymanagerContainerArgs.builder()
                .name("container-tf-example")
                .build());
    
        }
    }
    
    variables:
      lbCert:
        fn::invoke:
          function: vkcs:getKeymanagerContainer
          arguments:
            name: container-tf-example
    

    Using getKeymanagerContainer

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getKeymanagerContainer(args: GetKeymanagerContainerArgs, opts?: InvokeOptions): Promise<GetKeymanagerContainerResult>
    function getKeymanagerContainerOutput(args: GetKeymanagerContainerOutputArgs, opts?: InvokeOptions): Output<GetKeymanagerContainerResult>
    def get_keymanager_container(name: Optional[str] = None,
                                 region: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetKeymanagerContainerResult
    def get_keymanager_container_output(name: Optional[pulumi.Input[str]] = None,
                                 region: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetKeymanagerContainerResult]
    func LookupKeymanagerContainer(ctx *Context, args *LookupKeymanagerContainerArgs, opts ...InvokeOption) (*LookupKeymanagerContainerResult, error)
    func LookupKeymanagerContainerOutput(ctx *Context, args *LookupKeymanagerContainerOutputArgs, opts ...InvokeOption) LookupKeymanagerContainerResultOutput

    > Note: This function is named LookupKeymanagerContainer in the Go SDK.

    public static class GetKeymanagerContainer 
    {
        public static Task<GetKeymanagerContainerResult> InvokeAsync(GetKeymanagerContainerArgs args, InvokeOptions? opts = null)
        public static Output<GetKeymanagerContainerResult> Invoke(GetKeymanagerContainerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKeymanagerContainerResult> getKeymanagerContainer(GetKeymanagerContainerArgs args, InvokeOptions options)
    public static Output<GetKeymanagerContainerResult> getKeymanagerContainer(GetKeymanagerContainerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vkcs:index/getKeymanagerContainer:getKeymanagerContainer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    optional string → The Container name.
    Region string
    optional string → The region in which to obtain the VKCS Key Manager client. If omitted, the region argument of the provider is used.
    Name string
    optional string → The Container name.
    Region string
    optional string → The region in which to obtain the VKCS Key Manager client. If omitted, the region argument of the provider is used.
    name String
    optional string → The Container name.
    region String
    optional string → The region in which to obtain the VKCS Key Manager client. If omitted, the region argument of the provider is used.
    name string
    optional string → The Container name.
    region string
    optional string → The region in which to obtain the VKCS Key Manager client. If omitted, the region argument of the provider is used.
    name str
    optional string → The Container name.
    region str
    optional string → The region in which to obtain the VKCS Key Manager client. If omitted, the region argument of the provider is used.
    name String
    optional string → The Container name.
    region String
    optional string → The region in which to obtain the VKCS Key Manager client. If omitted, the region argument of the provider is used.

    getKeymanagerContainer Result

    The following output properties are available:

    Acls List<GetKeymanagerContainerAcl>
    list → ACLs assigned to a container.
    Consumers List<GetKeymanagerContainerConsumer>
    list → The list of the container consumers.
    ContainerRef string
    string → The container reference / where to find the container.
    CreatedAt string
    string → The date the container was created.
    CreatorId string
    string → The creator of the container.
    Id string
    string → ID of the resource.
    Name string
    string
    Region string
    SecretRefs List<GetKeymanagerContainerSecretRef>
    set → A set of dictionaries containing references to secrets.
    Status string
    string → The status of the container.
    Type string
    string → The container type.
    UpdatedAt string
    string → The date the container was last updated.
    Acls []GetKeymanagerContainerAcl
    list → ACLs assigned to a container.
    Consumers []GetKeymanagerContainerConsumer
    list → The list of the container consumers.
    ContainerRef string
    string → The container reference / where to find the container.
    CreatedAt string
    string → The date the container was created.
    CreatorId string
    string → The creator of the container.
    Id string
    string → ID of the resource.
    Name string
    string
    Region string
    SecretRefs []GetKeymanagerContainerSecretRef
    set → A set of dictionaries containing references to secrets.
    Status string
    string → The status of the container.
    Type string
    string → The container type.
    UpdatedAt string
    string → The date the container was last updated.
    acls List<GetKeymanagerContainerAcl>
    list → ACLs assigned to a container.
    consumers List<GetKeymanagerContainerConsumer>
    list → The list of the container consumers.
    containerRef String
    string → The container reference / where to find the container.
    createdAt String
    string → The date the container was created.
    creatorId String
    string → The creator of the container.
    id String
    string → ID of the resource.
    name String
    string
    region String
    secretRefs List<GetKeymanagerContainerSecretRef>
    set → A set of dictionaries containing references to secrets.
    status String
    string → The status of the container.
    type String
    string → The container type.
    updatedAt String
    string → The date the container was last updated.
    acls GetKeymanagerContainerAcl[]
    list → ACLs assigned to a container.
    consumers GetKeymanagerContainerConsumer[]
    list → The list of the container consumers.
    containerRef string
    string → The container reference / where to find the container.
    createdAt string
    string → The date the container was created.
    creatorId string
    string → The creator of the container.
    id string
    string → ID of the resource.
    name string
    string
    region string
    secretRefs GetKeymanagerContainerSecretRef[]
    set → A set of dictionaries containing references to secrets.
    status string
    string → The status of the container.
    type string
    string → The container type.
    updatedAt string
    string → The date the container was last updated.
    acls Sequence[GetKeymanagerContainerAcl]
    list → ACLs assigned to a container.
    consumers Sequence[GetKeymanagerContainerConsumer]
    list → The list of the container consumers.
    container_ref str
    string → The container reference / where to find the container.
    created_at str
    string → The date the container was created.
    creator_id str
    string → The creator of the container.
    id str
    string → ID of the resource.
    name str
    string
    region str
    secret_refs Sequence[GetKeymanagerContainerSecretRef]
    set → A set of dictionaries containing references to secrets.
    status str
    string → The status of the container.
    type str
    string → The container type.
    updated_at str
    string → The date the container was last updated.
    acls List<Property Map>
    list → ACLs assigned to a container.
    consumers List<Property Map>
    list → The list of the container consumers.
    containerRef String
    string → The container reference / where to find the container.
    createdAt String
    string → The date the container was created.
    creatorId String
    string → The creator of the container.
    id String
    string → ID of the resource.
    name String
    string
    region String
    secretRefs List<Property Map>
    set → A set of dictionaries containing references to secrets.
    status String
    string → The status of the container.
    type String
    string → The container type.
    updatedAt String
    string → The date the container was last updated.

    Supporting Types

    GetKeymanagerContainerAcl

    Reads List<GetKeymanagerContainerAclRead>
    list → Object that describes read operation.
    Reads []GetKeymanagerContainerAclRead
    list → Object that describes read operation.
    reads List<GetKeymanagerContainerAclRead>
    list → Object that describes read operation.
    reads GetKeymanagerContainerAclRead[]
    list → Object that describes read operation.
    reads Sequence[GetKeymanagerContainerAclRead]
    list → Object that describes read operation.
    reads List<Property Map>
    list → Object that describes read operation.

    GetKeymanagerContainerAclRead

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

    GetKeymanagerContainerConsumer

    Name string
    optional string → The Container name.
    Url string
    string → The consumer URL.
    Name string
    optional string → The Container name.
    Url string
    string → The consumer URL.
    name String
    optional string → The Container name.
    url String
    string → The consumer URL.
    name string
    optional string → The Container name.
    url string
    string → The consumer URL.
    name str
    optional string → The Container name.
    url str
    string → The consumer URL.
    name String
    optional string → The Container name.
    url String
    string → The consumer URL.

    GetKeymanagerContainerSecretRef

    Name string
    optional string → The Container name.
    SecretRef string
    string
    Name string
    optional string → The Container name.
    SecretRef string
    string
    name String
    optional string → The Container name.
    secretRef String
    string
    name string
    optional string → The Container name.
    secretRef string
    string
    name str
    optional string → The Container name.
    secret_ref str
    string
    name String
    optional string → The Container name.
    secretRef String
    string

    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