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 list all secrets in the Barbican Key Manager service for a public cloud project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const all = ovh.getCloudKeyManagerSecrets({
serviceName: "Public cloud project ID",
});
export const secretIds = all.then(all => .map(s => (s.id)));
import pulumi
import pulumi_ovh as ovh
all = ovh.get_cloud_key_manager_secrets(service_name="Public cloud project ID")
pulumi.export("secretIds", [s.id for s in all.secrets])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var all = Ovh.GetCloudKeyManagerSecrets.Invoke(new()
{
ServiceName = "Public cloud project ID",
});
return new Dictionary<string, object?>
{
["secretIds"] = .Select(s =>
{
return s.Id;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getCloudKeyManagerSecrets
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 getCloudKeyManagerSecrets(args: GetCloudKeyManagerSecretsArgs, opts?: InvokeOptions): Promise<GetCloudKeyManagerSecretsResult>
function getCloudKeyManagerSecretsOutput(args: GetCloudKeyManagerSecretsOutputArgs, opts?: InvokeOptions): Output<GetCloudKeyManagerSecretsResult>def get_cloud_key_manager_secrets(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudKeyManagerSecretsResult
def get_cloud_key_manager_secrets_output(service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudKeyManagerSecretsResult]func GetCloudKeyManagerSecrets(ctx *Context, args *GetCloudKeyManagerSecretsArgs, opts ...InvokeOption) (*GetCloudKeyManagerSecretsResult, error)
func GetCloudKeyManagerSecretsOutput(ctx *Context, args *GetCloudKeyManagerSecretsOutputArgs, opts ...InvokeOption) GetCloudKeyManagerSecretsResultOutput> Note: This function is named GetCloudKeyManagerSecrets in the Go SDK.
public static class GetCloudKeyManagerSecrets
{
public static Task<GetCloudKeyManagerSecretsResult> InvokeAsync(GetCloudKeyManagerSecretsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudKeyManagerSecretsResult> Invoke(GetCloudKeyManagerSecretsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudKeyManagerSecretsResult> getCloudKeyManagerSecrets(GetCloudKeyManagerSecretsArgs args, InvokeOptions options)
public static Output<GetCloudKeyManagerSecretsResult> getCloudKeyManagerSecrets(GetCloudKeyManagerSecretsArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudKeyManagerSecrets:getCloudKeyManagerSecrets
arguments:
# arguments dictionarydata "ovh_get_cloud_key_manager_secrets" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service_
name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service_
name str - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
getCloudKeyManagerSecrets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Secrets
List<Get
Cloud Key Manager Secrets Secret> - List of secrets. Each secret has the following attributes:
- Service
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Secrets
[]Get
Cloud Key Manager Secrets Secret - List of secrets. Each secret has the following attributes:
- Service
Name string
- id string
- The provider-assigned unique ID for this managed resource.
- secrets list(object)
- List of secrets. Each secret has the following attributes:
- service_
name string
- id String
- The provider-assigned unique ID for this managed resource.
- secrets
List<Get
Cloud Key Manager Secrets Secret> - List of secrets. Each secret has the following attributes:
- service
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- secrets
Get
Cloud Key Manager Secrets Secret[] - List of secrets. Each secret has the following attributes:
- service
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- secrets
Sequence[Get
Cloud Key Manager Secrets Secret] - List of secrets. Each secret has the following attributes:
- service_
name str
- id String
- The provider-assigned unique ID for this managed resource.
- secrets List<Property Map>
- List of secrets. Each secret has the following attributes:
- service
Name String
Supporting Types
GetCloudKeyManagerSecretsSecret
- Checksum string
- Computed hash representing the current resource state.
- Created
At string - Creation date of the secret.
- Current
State GetCloud Key Manager Secrets Secret Current State - Current state of the secret as reported by OpenStack Barbican.
- Id string
- ID of the secret.
- Location
Get
Cloud Key Manager Secrets Secret Location - Location of the secret:
- Name string
- Name of the secret.
- Resource
Status string - Secret readiness status.
- Secret
Type string - Type of the secret.
- Updated
At string - Last update date of the secret.
- Checksum string
- Computed hash representing the current resource state.
- Created
At string - Creation date of the secret.
- Current
State GetCloud Key Manager Secrets Secret Current State - Current state of the secret as reported by OpenStack Barbican.
- Id string
- ID of the secret.
- Location
Get
Cloud Key Manager Secrets Secret Location - Location of the secret:
- Name string
- Name of the secret.
- Resource
Status string - Secret readiness status.
- Secret
Type string - Type of the secret.
- Updated
At string - Last update date of the secret.
- checksum string
- Computed hash representing the current resource state.
- created_
at string - Creation date of the secret.
- current_
state object - Current state of the secret as reported by OpenStack Barbican.
- id string
- ID of the secret.
- location object
- Location of the secret:
- name string
- Name of the secret.
- resource_
status string - Secret readiness status.
- secret_
type string - Type of the secret.
- updated_
at string - Last update date of the secret.
- checksum String
- Computed hash representing the current resource state.
- created
At String - Creation date of the secret.
- current
State GetCloud Key Manager Secrets Secret Current State - Current state of the secret as reported by OpenStack Barbican.
- id String
- ID of the secret.
- location
Get
Cloud Key Manager Secrets Secret Location - Location of the secret:
- name String
- Name of the secret.
- resource
Status String - Secret readiness status.
- secret
Type String - Type of the secret.
- updated
At String - Last update date of the secret.
- checksum string
- Computed hash representing the current resource state.
- created
At string - Creation date of the secret.
- current
State GetCloud Key Manager Secrets Secret Current State - Current state of the secret as reported by OpenStack Barbican.
- id string
- ID of the secret.
- location
Get
Cloud Key Manager Secrets Secret Location - Location of the secret:
- name string
- Name of the secret.
- resource
Status string - Secret readiness status.
- secret
Type string - Type of the secret.
- updated
At string - Last update date of the secret.
- checksum str
- Computed hash representing the current resource state.
- created_
at str - Creation date of the secret.
- current_
state GetCloud Key Manager Secrets Secret Current State - Current state of the secret as reported by OpenStack Barbican.
- id str
- ID of the secret.
- location
Get
Cloud Key Manager Secrets Secret Location - Location of the secret:
- name str
- Name of the secret.
- resource_
status str - Secret readiness status.
- secret_
type str - Type of the secret.
- updated_
at str - Last update date of the secret.
- checksum String
- Computed hash representing the current resource state.
- created
At String - Creation date of the secret.
- current
State Property Map - Current state of the secret as reported by OpenStack Barbican.
- id String
- ID of the secret.
- location Property Map
- Location of the secret:
- name String
- Name of the secret.
- resource
Status String - Secret readiness status.
- secret
Type String - Type of the secret.
- updated
At String - Last update date of the secret.
GetCloudKeyManagerSecretsSecretCurrentState
- Algorithm string
- Bit
Length int - Expiration string
- Location
Get
Cloud Key Manager Secrets Secret Current State Location - Location of the secret:
- Metadata Dictionary<string, string>
- Mode string
- Name string
- Name of the secret.
- Payload
Content stringType - Secret
Ref string - Secret
Type string - Type of the secret.
- Status string
- Algorithm string
- Bit
Length int - Expiration string
- Location
Get
Cloud Key Manager Secrets Secret Current State Location - Location of the secret:
- Metadata map[string]string
- Mode string
- Name string
- Name of the secret.
- Payload
Content stringType - Secret
Ref string - Secret
Type string - Type of the secret.
- Status string
- algorithm string
- bit_
length number - expiration string
- location object
- Location of the secret:
- metadata map(string)
- mode string
- name string
- Name of the secret.
- payload_
content_ stringtype - secret_
ref string - secret_
type string - Type of the secret.
- status string
- algorithm String
- bit
Length Integer - expiration String
- location
Get
Cloud Key Manager Secrets Secret Current State Location - Location of the secret:
- metadata Map<String,String>
- mode String
- name String
- Name of the secret.
- payload
Content StringType - secret
Ref String - secret
Type String - Type of the secret.
- status String
- algorithm string
- bit
Length number - expiration string
- location
Get
Cloud Key Manager Secrets Secret Current State Location - Location of the secret:
- metadata {[key: string]: string}
- mode string
- name string
- Name of the secret.
- payload
Content stringType - secret
Ref string - secret
Type string - Type of the secret.
- status string
- algorithm str
- bit_
length int - expiration str
- location
Get
Cloud Key Manager Secrets Secret Current State Location - Location of the secret:
- metadata Mapping[str, str]
- mode str
- name str
- Name of the secret.
- payload_
content_ strtype - secret_
ref str - secret_
type str - Type of the secret.
- status str
- algorithm String
- bit
Length Number - expiration String
- location Property Map
- Location of the secret:
- metadata Map<String>
- mode String
- name String
- Name of the secret.
- payload
Content StringType - secret
Ref String - secret
Type String - Type of the secret.
- status String
GetCloudKeyManagerSecretsSecretCurrentStateLocation
- Availability
Zone string - Availability zone of the secret.
- Region string
- Region of the secret.
- Availability
Zone string - Availability zone of the secret.
- Region string
- Region of the secret.
- availability_
zone string - Availability zone of the secret.
- region string
- Region of the secret.
- availability
Zone String - Availability zone of the secret.
- region String
- Region of the secret.
- availability
Zone string - Availability zone of the secret.
- region string
- Region of the secret.
- availability_
zone str - Availability zone of the secret.
- region str
- Region of the secret.
- availability
Zone String - Availability zone of the secret.
- region String
- Region of the secret.
GetCloudKeyManagerSecretsSecretLocation
- Availability
Zone string - Availability zone of the secret.
- Region string
- Region of the secret.
- Availability
Zone string - Availability zone of the secret.
- Region string
- Region of the secret.
- availability_
zone string - Availability zone of the secret.
- region string
- Region of the secret.
- availability
Zone String - Availability zone of the secret.
- region String
- Region of the secret.
- availability
Zone string - Availability zone of the secret.
- region string
- Region of the secret.
- availability_
zone str - Availability zone of the secret.
- region str
- Region of the secret.
- availability
Zone String - Availability zone of the secret.
- region String
- Region of the secret.
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