Viewing docs for Aiven v6.56.0
published on Friday, Jun 12, 2026 by Pulumi
published on Friday, Jun 12, 2026 by Pulumi
Viewing docs for Aiven v6.56.0
published on Friday, Jun 12, 2026 by Pulumi
published on Friday, Jun 12, 2026 by Pulumi
Gets the OCI CMK accessor for an Aiven project. The accessor is used to authenticate Aiven to your Oracle Cloud Infrastructure (OCI) Vault.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getCmkAccessorOci({
project: "my-project",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_cmk_accessor_oci(project="my-project")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.GetCmkAccessorOci(ctx, &aiven.GetCmkAccessorOciArgs{
Project: "my-project",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var example = Aiven.GetCmkAccessorOci.Invoke(new()
{
Project = "my-project",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetCmkAccessorOciArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = AivenFunctions.getCmkAccessorOci(GetCmkAccessorOciArgs.builder()
.project("my-project")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getCmkAccessorOci
arguments:
project: my-project
pulumi {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
data "aiven_getcmkaccessoroci" "example" {
project = "my-project"
}
Using getCmkAccessorOci
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 getCmkAccessorOci(args: GetCmkAccessorOciArgs, opts?: InvokeOptions): Promise<GetCmkAccessorOciResult>
function getCmkAccessorOciOutput(args: GetCmkAccessorOciOutputArgs, opts?: InvokeOptions): Output<GetCmkAccessorOciResult>def get_cmk_accessor_oci(project: Optional[str] = None,
timeouts: Optional[GetCmkAccessorOciTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetCmkAccessorOciResult
def get_cmk_accessor_oci_output(project: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetCmkAccessorOciTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCmkAccessorOciResult]func GetCmkAccessorOci(ctx *Context, args *GetCmkAccessorOciArgs, opts ...InvokeOption) (*GetCmkAccessorOciResult, error)
func GetCmkAccessorOciOutput(ctx *Context, args *GetCmkAccessorOciOutputArgs, opts ...InvokeOption) GetCmkAccessorOciResultOutput> Note: This function is named GetCmkAccessorOci in the Go SDK.
public static class GetCmkAccessorOci
{
public static Task<GetCmkAccessorOciResult> InvokeAsync(GetCmkAccessorOciArgs args, InvokeOptions? opts = null)
public static Output<GetCmkAccessorOciResult> Invoke(GetCmkAccessorOciInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCmkAccessorOciResult> getCmkAccessorOci(GetCmkAccessorOciArgs args, InvokeOptions options)
public static Output<GetCmkAccessorOciResult> getCmkAccessorOci(GetCmkAccessorOciArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getCmkAccessorOci:getCmkAccessorOci
arguments:
# arguments dictionarydata "aiven_getcmkaccessoroci" "name" {
# arguments
}The following arguments are supported:
- Project string
- Project name.
- Timeouts
Get
Cmk Accessor Oci Timeouts
- Project string
- Project name.
- Timeouts
Get
Cmk Accessor Oci Timeouts
- project String
- Project name.
- timeouts
Get
Cmk Accessor Oci Timeouts
- project string
- Project name.
- timeouts
Get
Cmk Accessor Oci Timeouts
- project str
- Project name.
- timeouts
Get
Cmk Accessor Oci Timeouts
- project String
- Project name.
- timeouts Property Map
getCmkAccessorOci Result
The following output properties are available:
- Access
Group string - The OCI access group that Aiven uses to access your OCI Vault key.
- Access
Tenant string - The OCI access tenant that Aiven uses to access your OCI Vault key.
- Id string
- Resource ID, equal to
project. - Project string
- Project name.
- Timeouts
Get
Cmk Accessor Oci Timeouts
- Access
Group string - The OCI access group that Aiven uses to access your OCI Vault key.
- Access
Tenant string - The OCI access tenant that Aiven uses to access your OCI Vault key.
- Id string
- Resource ID, equal to
project. - Project string
- Project name.
- Timeouts
Get
Cmk Accessor Oci Timeouts
- access_
group string - The OCI access group that Aiven uses to access your OCI Vault key.
- access_
tenant string - The OCI access tenant that Aiven uses to access your OCI Vault key.
- id string
- Resource ID, equal to
project. - project string
- Project name.
- timeouts object
- access
Group String - The OCI access group that Aiven uses to access your OCI Vault key.
- access
Tenant String - The OCI access tenant that Aiven uses to access your OCI Vault key.
- id String
- Resource ID, equal to
project. - project String
- Project name.
- timeouts
Get
Cmk Accessor Oci Timeouts
- access
Group string - The OCI access group that Aiven uses to access your OCI Vault key.
- access
Tenant string - The OCI access tenant that Aiven uses to access your OCI Vault key.
- id string
- Resource ID, equal to
project. - project string
- Project name.
- timeouts
Get
Cmk Accessor Oci Timeouts
- access_
group str - The OCI access group that Aiven uses to access your OCI Vault key.
- access_
tenant str - The OCI access tenant that Aiven uses to access your OCI Vault key.
- id str
- Resource ID, equal to
project. - project str
- Project name.
- timeouts
Get
Cmk Accessor Oci Timeouts
- access
Group String - The OCI access group that Aiven uses to access your OCI Vault key.
- access
Tenant String - The OCI access tenant that Aiven uses to access your OCI Vault key.
- id String
- Resource ID, equal to
project. - project String
- Project name.
- timeouts Property Map
Supporting Types
GetCmkAccessorOciTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v6.56.0
published on Friday, Jun 12, 2026 by Pulumi
published on Friday, Jun 12, 2026 by Pulumi