Viewing docs for opentelekomcloud 1.36.64
published on Thursday, Apr 23, 2026 by opentelekomcloud
published on Thursday, Apr 23, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.36.64
published on Thursday, Apr 23, 2026 by opentelekomcloud
published on Thursday, Apr 23, 2026 by opentelekomcloud
Up-to-date reference of API arguments for CCI Secret you can get at documentation portal
Use this data source to get the list of CCI v2 Secrets under a namespace within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const namespace = config.requireObject<any>("namespace");
const test = opentelekomcloud.getCciSecretsV2({
namespace: namespace,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
namespace = config.require_object("namespace")
test = opentelekomcloud.get_cci_secrets_v2(namespace=namespace)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
namespace := cfg.RequireObject("namespace")
_, err := opentelekomcloud.GetCciSecretsV2(ctx, &opentelekomcloud.GetCciSecretsV2Args{
Namespace: namespace,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var @namespace = config.RequireObject<dynamic>("namespace");
var test = Opentelekomcloud.GetCciSecretsV2.Invoke(new()
{
Namespace = @namespace,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetCciSecretsV2Args;
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 config = ctx.config();
final var namespace = config.get("namespace");
final var test = OpentelekomcloudFunctions.getCciSecretsV2(GetCciSecretsV2Args.builder()
.namespace(namespace)
.build());
}
}
configuration:
namespace:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getCciSecretsV2
arguments:
namespace: ${namespace}
Query a Single Secret by Name
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const namespace = config.requireObject<any>("namespace");
const secretName = config.requireObject<any>("secretName");
const test = opentelekomcloud.getCciSecretsV2({
namespace: namespace,
name: secretName,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
namespace = config.require_object("namespace")
secret_name = config.require_object("secretName")
test = opentelekomcloud.get_cci_secrets_v2(namespace=namespace,
name=secret_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
namespace := cfg.RequireObject("namespace")
secretName := cfg.RequireObject("secretName")
_, err := opentelekomcloud.GetCciSecretsV2(ctx, &opentelekomcloud.GetCciSecretsV2Args{
Namespace: namespace,
Name: pulumi.StringRef(secretName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var @namespace = config.RequireObject<dynamic>("namespace");
var secretName = config.RequireObject<dynamic>("secretName");
var test = Opentelekomcloud.GetCciSecretsV2.Invoke(new()
{
Namespace = @namespace,
Name = secretName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetCciSecretsV2Args;
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 config = ctx.config();
final var namespace = config.get("namespace");
final var secretName = config.get("secretName");
final var test = OpentelekomcloudFunctions.getCciSecretsV2(GetCciSecretsV2Args.builder()
.namespace(namespace)
.name(secretName)
.build());
}
}
configuration:
namespace:
type: dynamic
secretName:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getCciSecretsV2
arguments:
namespace: ${namespace}
name: ${secretName}
Using getCciSecretsV2
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 getCciSecretsV2(args: GetCciSecretsV2Args, opts?: InvokeOptions): Promise<GetCciSecretsV2Result>
function getCciSecretsV2Output(args: GetCciSecretsV2OutputArgs, opts?: InvokeOptions): Output<GetCciSecretsV2Result>def get_cci_secrets_v2(id: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCciSecretsV2Result
def get_cci_secrets_v2_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCciSecretsV2Result]func GetCciSecretsV2(ctx *Context, args *GetCciSecretsV2Args, opts ...InvokeOption) (*GetCciSecretsV2Result, error)
func GetCciSecretsV2Output(ctx *Context, args *GetCciSecretsV2OutputArgs, opts ...InvokeOption) GetCciSecretsV2ResultOutput> Note: This function is named GetCciSecretsV2 in the Go SDK.
public static class GetCciSecretsV2
{
public static Task<GetCciSecretsV2Result> InvokeAsync(GetCciSecretsV2Args args, InvokeOptions? opts = null)
public static Output<GetCciSecretsV2Result> Invoke(GetCciSecretsV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCciSecretsV2Result> getCciSecretsV2(GetCciSecretsV2Args args, InvokeOptions options)
public static Output<GetCciSecretsV2Result> getCciSecretsV2(GetCciSecretsV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getCciSecretsV2:getCciSecretsV2
arguments:
# arguments dictionaryThe following arguments are supported:
getCciSecretsV2 Result
The following output properties are available:
Supporting Types
GetCciSecretsV2Secret
- Annotations Dictionary<string, string>
- The annotations of the Secret.
- Api
Version string - The API version of the Secret.
- Creation
Timestamp string - The creation timestamp of the Secret.
- Data Dictionary<string, string>
- The data of the Secret. Values are base64-encoded strings.
- Immutable bool
- Whether the Secret is immutable.
- Kind string
- The kind of the Secret.
- Labels Dictionary<string, string>
- The labels of the Secret.
- Name string
- Specifies the name of the Secret used to query a single Secret. If omitted, all Secrets under the namespace are returned.
- Namespace string
- Specifies the namespace to which the Secrets belong.
- Resource
Version string - The resource version of the Secret.
- String
Data Dictionary<string, string> - The non-binary string data of the Secret. Values are plain UTF-8 strings.
- Type string
- The type of the Secret.
- Uid string
- The UID of the Secret.
- Annotations map[string]string
- The annotations of the Secret.
- Api
Version string - The API version of the Secret.
- Creation
Timestamp string - The creation timestamp of the Secret.
- Data map[string]string
- The data of the Secret. Values are base64-encoded strings.
- Immutable bool
- Whether the Secret is immutable.
- Kind string
- The kind of the Secret.
- Labels map[string]string
- The labels of the Secret.
- Name string
- Specifies the name of the Secret used to query a single Secret. If omitted, all Secrets under the namespace are returned.
- Namespace string
- Specifies the namespace to which the Secrets belong.
- Resource
Version string - The resource version of the Secret.
- String
Data map[string]string - The non-binary string data of the Secret. Values are plain UTF-8 strings.
- Type string
- The type of the Secret.
- Uid string
- The UID of the Secret.
- annotations Map<String,String>
- The annotations of the Secret.
- api
Version String - The API version of the Secret.
- creation
Timestamp String - The creation timestamp of the Secret.
- data Map<String,String>
- The data of the Secret. Values are base64-encoded strings.
- immutable Boolean
- Whether the Secret is immutable.
- kind String
- The kind of the Secret.
- labels Map<String,String>
- The labels of the Secret.
- name String
- Specifies the name of the Secret used to query a single Secret. If omitted, all Secrets under the namespace are returned.
- namespace String
- Specifies the namespace to which the Secrets belong.
- resource
Version String - The resource version of the Secret.
- string
Data Map<String,String> - The non-binary string data of the Secret. Values are plain UTF-8 strings.
- type String
- The type of the Secret.
- uid String
- The UID of the Secret.
- annotations {[key: string]: string}
- The annotations of the Secret.
- api
Version string - The API version of the Secret.
- creation
Timestamp string - The creation timestamp of the Secret.
- data {[key: string]: string}
- The data of the Secret. Values are base64-encoded strings.
- immutable boolean
- Whether the Secret is immutable.
- kind string
- The kind of the Secret.
- labels {[key: string]: string}
- The labels of the Secret.
- name string
- Specifies the name of the Secret used to query a single Secret. If omitted, all Secrets under the namespace are returned.
- namespace string
- Specifies the namespace to which the Secrets belong.
- resource
Version string - The resource version of the Secret.
- string
Data {[key: string]: string} - The non-binary string data of the Secret. Values are plain UTF-8 strings.
- type string
- The type of the Secret.
- uid string
- The UID of the Secret.
- annotations Mapping[str, str]
- The annotations of the Secret.
- api_
version str - The API version of the Secret.
- creation_
timestamp str - The creation timestamp of the Secret.
- data Mapping[str, str]
- The data of the Secret. Values are base64-encoded strings.
- immutable bool
- Whether the Secret is immutable.
- kind str
- The kind of the Secret.
- labels Mapping[str, str]
- The labels of the Secret.
- name str
- Specifies the name of the Secret used to query a single Secret. If omitted, all Secrets under the namespace are returned.
- namespace str
- Specifies the namespace to which the Secrets belong.
- resource_
version str - The resource version of the Secret.
- string_
data Mapping[str, str] - The non-binary string data of the Secret. Values are plain UTF-8 strings.
- type str
- The type of the Secret.
- uid str
- The UID of the Secret.
- annotations Map<String>
- The annotations of the Secret.
- api
Version String - The API version of the Secret.
- creation
Timestamp String - The creation timestamp of the Secret.
- data Map<String>
- The data of the Secret. Values are base64-encoded strings.
- immutable Boolean
- Whether the Secret is immutable.
- kind String
- The kind of the Secret.
- labels Map<String>
- The labels of the Secret.
- name String
- Specifies the name of the Secret used to query a single Secret. If omitted, all Secrets under the namespace are returned.
- namespace String
- Specifies the namespace to which the Secrets belong.
- resource
Version String - The resource version of the Secret.
- string
Data Map<String> - The non-binary string data of the Secret. Values are plain UTF-8 strings.
- type String
- The type of the Secret.
- uid String
- The UID of the Secret.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
Viewing docs for opentelekomcloud 1.36.64
published on Thursday, Apr 23, 2026 by opentelekomcloud
published on Thursday, Apr 23, 2026 by opentelekomcloud
