Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud
Use this data source to get information about a single container in the Barbican Key Manager service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const container = ovh.getCloudKeyManagerContainer({
serviceName: "Public cloud project ID",
containerId: "00000000-0000-0000-0000-000000000000",
});
export const containerName = container.then(container => container.name);
import pulumi
import pulumi_ovh as ovh
container = ovh.get_cloud_key_manager_container(service_name="Public cloud project ID",
container_id="00000000-0000-0000-0000-000000000000")
pulumi.export("containerName", container.name)
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
container, err := ovh.LookupCloudKeyManagerContainer(ctx, &ovh.LookupCloudKeyManagerContainerArgs{
ServiceName: "Public cloud project ID",
ContainerId: "00000000-0000-0000-0000-000000000000",
}, nil)
if err != nil {
return err
}
ctx.Export("containerName", container.Name)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var container = Ovh.GetCloudKeyManagerContainer.Invoke(new()
{
ServiceName = "Public cloud project ID",
ContainerId = "00000000-0000-0000-0000-000000000000",
});
return new Dictionary<string, object?>
{
["containerName"] = container.Apply(getCloudKeyManagerContainerResult => getCloudKeyManagerContainerResult.Name),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OvhFunctions;
import com.pulumi.ovh.inputs.GetCloudKeyManagerContainerArgs;
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 container = OvhFunctions.getCloudKeyManagerContainer(GetCloudKeyManagerContainerArgs.builder()
.serviceName("Public cloud project ID")
.containerId("00000000-0000-0000-0000-000000000000")
.build());
ctx.export("containerName", container.name());
}
}
variables:
container:
fn::invoke:
function: ovh:getCloudKeyManagerContainer
arguments:
serviceName: Public cloud project ID
containerId: 00000000-0000-0000-0000-000000000000
outputs:
containerName: ${container.name}
Example coming soon!
Using getCloudKeyManagerContainer
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 getCloudKeyManagerContainer(args: GetCloudKeyManagerContainerArgs, opts?: InvokeOptions): Promise<GetCloudKeyManagerContainerResult>
function getCloudKeyManagerContainerOutput(args: GetCloudKeyManagerContainerOutputArgs, opts?: InvokeOptions): Output<GetCloudKeyManagerContainerResult>def get_cloud_key_manager_container(container_id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudKeyManagerContainerResult
def get_cloud_key_manager_container_output(container_id: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudKeyManagerContainerResult]func LookupCloudKeyManagerContainer(ctx *Context, args *LookupCloudKeyManagerContainerArgs, opts ...InvokeOption) (*LookupCloudKeyManagerContainerResult, error)
func LookupCloudKeyManagerContainerOutput(ctx *Context, args *LookupCloudKeyManagerContainerOutputArgs, opts ...InvokeOption) LookupCloudKeyManagerContainerResultOutput> Note: This function is named LookupCloudKeyManagerContainer in the Go SDK.
public static class GetCloudKeyManagerContainer
{
public static Task<GetCloudKeyManagerContainerResult> InvokeAsync(GetCloudKeyManagerContainerArgs args, InvokeOptions? opts = null)
public static Output<GetCloudKeyManagerContainerResult> Invoke(GetCloudKeyManagerContainerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudKeyManagerContainerResult> getCloudKeyManagerContainer(GetCloudKeyManagerContainerArgs args, InvokeOptions options)
public static Output<GetCloudKeyManagerContainerResult> getCloudKeyManagerContainer(GetCloudKeyManagerContainerArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudKeyManagerContainer:getCloudKeyManagerContainer
arguments:
# arguments dictionarydata "ovh_get_cloud_key_manager_container" "name" {
# arguments
}The following arguments are supported:
- Container
Id string - ID of the container.
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- Container
Id string - ID of the container.
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container_
id string - ID of the container.
- service_
name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Id String - ID of the container.
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Id string - ID of the container.
- service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container_
id str - ID of the container.
- service_
name str - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Id String - ID of the container.
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
getCloudKeyManagerContainer Result
The following output properties are available:
- Checksum string
- Computed hash representing the current resource state.
- Container
Id string - Created
At string - Creation date of the container.
- Current
State GetCloud Key Manager Container Current State - Current state of the container as reported by OpenStack Barbican:
- Id string
- ID of the container.
- Location
Get
Cloud Key Manager Container Location - Location of the container:
- Name string
- Name of the secret reference.
- Resource
Status string - Container readiness status.
- Service
Name string - Type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA. - Updated
At string - Last update date of the container.
- Checksum string
- Computed hash representing the current resource state.
- Container
Id string - Created
At string - Creation date of the container.
- Current
State GetCloud Key Manager Container Current State - Current state of the container as reported by OpenStack Barbican:
- Id string
- ID of the container.
- Location
Get
Cloud Key Manager Container Location - Location of the container:
- Name string
- Name of the secret reference.
- Resource
Status string - Container readiness status.
- Service
Name string - Type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA. - Updated
At string - Last update date of the container.
- checksum string
- Computed hash representing the current resource state.
- container_
id string - created_
at string - Creation date of the container.
- current_
state object - Current state of the container as reported by OpenStack Barbican:
- id string
- ID of the container.
- location object
- Location of the container:
- name string
- Name of the secret reference.
- resource_
status string - Container readiness status.
- service_
name string - type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA. - updated_
at string - Last update date of the container.
- checksum String
- Computed hash representing the current resource state.
- container
Id String - created
At String - Creation date of the container.
- current
State GetCloud Key Manager Container Current State - Current state of the container as reported by OpenStack Barbican:
- id String
- ID of the container.
- location
Get
Cloud Key Manager Container Location - Location of the container:
- name String
- Name of the secret reference.
- resource
Status String - Container readiness status.
- service
Name String - type String
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA. - updated
At String - Last update date of the container.
- checksum string
- Computed hash representing the current resource state.
- container
Id string - created
At string - Creation date of the container.
- current
State GetCloud Key Manager Container Current State - Current state of the container as reported by OpenStack Barbican:
- id string
- ID of the container.
- location
Get
Cloud Key Manager Container Location - Location of the container:
- name string
- Name of the secret reference.
- resource
Status string - Container readiness status.
- service
Name string - type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA. - updated
At string - Last update date of the container.
- checksum str
- Computed hash representing the current resource state.
- container_
id str - created_
at str - Creation date of the container.
- current_
state GetCloud Key Manager Container Current State - Current state of the container as reported by OpenStack Barbican:
- id str
- ID of the container.
- location
Get
Cloud Key Manager Container Location - Location of the container:
- name str
- Name of the secret reference.
- resource_
status str - Container readiness status.
- service_
name str - type str
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA. - updated_
at str - Last update date of the container.
- checksum String
- Computed hash representing the current resource state.
- container
Id String - created
At String - Creation date of the container.
- current
State Property Map - Current state of the container as reported by OpenStack Barbican:
- id String
- ID of the container.
- location Property Map
- Location of the container:
- name String
- Name of the secret reference.
- resource
Status String - Container readiness status.
- service
Name String - type String
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA. - updated
At String - Last update date of the container.
Supporting Types
GetCloudKeyManagerContainerCurrentState
- Container
Ref string - OpenStack reference URL.
- Location
Get
Cloud Key Manager Container Current State Location - Location of the container:
- Name string
- Name of the secret reference.
- Secret
Refs List<GetCloud Key Manager Container Current State Secret Ref> - List of secret references:
- Status string
- Status of the container. Possible values:
ACTIVE,ERROR. - Type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA.
- Container
Ref string - OpenStack reference URL.
- Location
Get
Cloud Key Manager Container Current State Location - Location of the container:
- Name string
- Name of the secret reference.
- Secret
Refs []GetCloud Key Manager Container Current State Secret Ref - List of secret references:
- Status string
- Status of the container. Possible values:
ACTIVE,ERROR. - Type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA.
- container_
ref string - OpenStack reference URL.
- location object
- Location of the container:
- name string
- Name of the secret reference.
- secret_
refs list(object) - List of secret references:
- status string
- Status of the container. Possible values:
ACTIVE,ERROR. - type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA.
- container
Ref String - OpenStack reference URL.
- location
Get
Cloud Key Manager Container Current State Location - Location of the container:
- name String
- Name of the secret reference.
- secret
Refs List<GetCloud Key Manager Container Current State Secret Ref> - List of secret references:
- status String
- Status of the container. Possible values:
ACTIVE,ERROR. - type String
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA.
- container
Ref string - OpenStack reference URL.
- location
Get
Cloud Key Manager Container Current State Location - Location of the container:
- name string
- Name of the secret reference.
- secret
Refs GetCloud Key Manager Container Current State Secret Ref[] - List of secret references:
- status string
- Status of the container. Possible values:
ACTIVE,ERROR. - type string
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA.
- container_
ref str - OpenStack reference URL.
- location
Get
Cloud Key Manager Container Current State Location - Location of the container:
- name str
- Name of the secret reference.
- secret_
refs Sequence[GetCloud Key Manager Container Current State Secret Ref] - List of secret references:
- status str
- Status of the container. Possible values:
ACTIVE,ERROR. - type str
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA.
- container
Ref String - OpenStack reference URL.
- location Property Map
- Location of the container:
- name String
- Name of the secret reference.
- secret
Refs List<Property Map> - List of secret references:
- status String
- Status of the container. Possible values:
ACTIVE,ERROR. - type String
- Type of the container. Possible values:
CERTIFICATE,GENERIC,RSA.
GetCloudKeyManagerContainerCurrentStateLocation
- Availability
Zone string - Availability zone of the container.
- Region string
- Region of the container.
- Availability
Zone string - Availability zone of the container.
- Region string
- Region of the container.
- availability_
zone string - Availability zone of the container.
- region string
- Region of the container.
- availability
Zone String - Availability zone of the container.
- region String
- Region of the container.
- availability
Zone string - Availability zone of the container.
- region string
- Region of the container.
- availability_
zone str - Availability zone of the container.
- region str
- Region of the container.
- availability
Zone String - Availability zone of the container.
- region String
- Region of the container.
GetCloudKeyManagerContainerCurrentStateSecretRef
GetCloudKeyManagerContainerLocation
- Availability
Zone string - Availability zone of the container.
- Region string
- Region of the container.
- Availability
Zone string - Availability zone of the container.
- Region string
- Region of the container.
- availability_
zone string - Availability zone of the container.
- region string
- Region of the container.
- availability
Zone String - Availability zone of the container.
- region String
- Region of the container.
- availability
Zone string - Availability zone of the container.
- region string
- Region of the container.
- availability_
zone str - Availability zone of the container.
- region str
- Region of the container.
- availability
Zone String - Availability zone of the container.
- region String
- Region of the container.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud