Viewing docs for ibm 2.3.0
published on Friday, Jun 19, 2026 by ibm-cloud
published on Friday, Jun 19, 2026 by ibm-cloud
Viewing docs for ibm 2.3.0
published on Friday, Jun 19, 2026 by ibm-cloud
published on Friday, Jun 19, 2026 by ibm-cloud
Retrieve the KMS (Key Management Service) settings integrated with IBM Cloud Schematics for a given location. This enables retrieval of BYOK (Bring Your Own Key) and KYOK (Keep Your Own Key) configuration details per geographic region. For more information, about Schematics KMS settings, see Securing your data in Schematics.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const schematicsKms = ibm.getSchematicsKms({
location: "us-south",
});
import pulumi
import pulumi_ibm as ibm
schematics_kms = ibm.get_schematics_kms(location="us-south")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetSchematicsKms(ctx, &ibm.GetSchematicsKmsArgs{
Location: pulumi.StringRef("us-south"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var schematicsKms = Ibm.GetSchematicsKms.Invoke(new()
{
Location = "us-south",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetSchematicsKmsArgs;
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 schematicsKms = IbmFunctions.getSchematicsKms(GetSchematicsKmsArgs.builder()
.location("us-south")
.build());
}
}
variables:
schematicsKms:
fn::invoke:
function: ibm:getSchematicsKms
arguments:
location: us-south
Example coming soon!
Using getSchematicsKms
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 getSchematicsKms(args: GetSchematicsKmsArgs, opts?: InvokeOptions): Promise<GetSchematicsKmsResult>
function getSchematicsKmsOutput(args: GetSchematicsKmsOutputArgs, opts?: InvokeOptions): Output<GetSchematicsKmsResult>def get_schematics_kms(id: Optional[str] = None,
location: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchematicsKmsResult
def get_schematics_kms_output(id: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchematicsKmsResult]func GetSchematicsKms(ctx *Context, args *GetSchematicsKmsArgs, opts ...InvokeOption) (*GetSchematicsKmsResult, error)
func GetSchematicsKmsOutput(ctx *Context, args *GetSchematicsKmsOutputArgs, opts ...InvokeOption) GetSchematicsKmsResultOutput> Note: This function is named GetSchematicsKms in the Go SDK.
public static class GetSchematicsKms
{
public static Task<GetSchematicsKmsResult> InvokeAsync(GetSchematicsKmsArgs args, InvokeOptions? opts = null)
public static Output<GetSchematicsKmsResult> Invoke(GetSchematicsKmsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchematicsKmsResult> getSchematicsKms(GetSchematicsKmsArgs args, InvokeOptions options)
public static Output<GetSchematicsKmsResult> getSchematicsKms(GetSchematicsKmsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getSchematicsKms:getSchematicsKms
arguments:
# arguments dictionarydata "ibm_getschematicskms" "name" {
# arguments
}The following arguments are supported:
getSchematicsKms Result
The following output properties are available:
- Encryption
Scheme string - (String) The encryption scheme values. Allowable values:
byok,kyok. - Id string
- The unique identifier of the schematics_kms.
- Location string
- Primary
Crks List<GetSchematics Kms Primary Crk> - (List) The primary kms instance details. Nested scheme for primary_crk:
- Resource
Group string - (String) The kms instance resource group to integrate.
- Secondary
Crks List<GetSchematics Kms Secondary Crk> - (List) The secondary kms instance details. Nested scheme for secondary_crk:
- Encryption
Scheme string - (String) The encryption scheme values. Allowable values:
byok,kyok. - Id string
- The unique identifier of the schematics_kms.
- Location string
- Primary
Crks []GetSchematics Kms Primary Crk - (List) The primary kms instance details. Nested scheme for primary_crk:
- Resource
Group string - (String) The kms instance resource group to integrate.
- Secondary
Crks []GetSchematics Kms Secondary Crk - (List) The secondary kms instance details. Nested scheme for secondary_crk:
- encryption_
scheme string - (String) The encryption scheme values. Allowable values:
byok,kyok. - id string
- The unique identifier of the schematics_kms.
- location string
- primary_
crks list(object) - (List) The primary kms instance details. Nested scheme for primary_crk:
- resource_
group string - (String) The kms instance resource group to integrate.
- secondary_
crks list(object) - (List) The secondary kms instance details. Nested scheme for secondary_crk:
- encryption
Scheme String - (String) The encryption scheme values. Allowable values:
byok,kyok. - id String
- The unique identifier of the schematics_kms.
- location String
- primary
Crks List<GetSchematics Kms Primary Crk> - (List) The primary kms instance details. Nested scheme for primary_crk:
- resource
Group String - (String) The kms instance resource group to integrate.
- secondary
Crks List<GetSchematics Kms Secondary Crk> - (List) The secondary kms instance details. Nested scheme for secondary_crk:
- encryption
Scheme string - (String) The encryption scheme values. Allowable values:
byok,kyok. - id string
- The unique identifier of the schematics_kms.
- location string
- primary
Crks GetSchematics Kms Primary Crk[] - (List) The primary kms instance details. Nested scheme for primary_crk:
- resource
Group string - (String) The kms instance resource group to integrate.
- secondary
Crks GetSchematics Kms Secondary Crk[] - (List) The secondary kms instance details. Nested scheme for secondary_crk:
- encryption_
scheme str - (String) The encryption scheme values. Allowable values:
byok,kyok. - id str
- The unique identifier of the schematics_kms.
- location str
- primary_
crks Sequence[GetSchematics Kms Primary Crk] - (List) The primary kms instance details. Nested scheme for primary_crk:
- resource_
group str - (String) The kms instance resource group to integrate.
- secondary_
crks Sequence[GetSchematics Kms Secondary Crk] - (List) The secondary kms instance details. Nested scheme for secondary_crk:
- encryption
Scheme String - (String) The encryption scheme values. Allowable values:
byok,kyok. - id String
- The unique identifier of the schematics_kms.
- location String
- primary
Crks List<Property Map> - (List) The primary kms instance details. Nested scheme for primary_crk:
- resource
Group String - (String) The kms instance resource group to integrate.
- secondary
Crks List<Property Map> - (List) The secondary kms instance details. Nested scheme for secondary_crk:
Supporting Types
GetSchematicsKmsPrimaryCrk
- Key
Crn string - (String) The CRN of the secondary key.
- Kms
Name string - (String) The secondary kms instance name.
- Kms
Private stringEndpoint - (String) The secondary kms instance private endpoint.
- Key
Crn string - (String) The CRN of the secondary key.
- Kms
Name string - (String) The secondary kms instance name.
- Kms
Private stringEndpoint - (String) The secondary kms instance private endpoint.
- key_
crn string - (String) The CRN of the secondary key.
- kms_
name string - (String) The secondary kms instance name.
- kms_
private_ stringendpoint - (String) The secondary kms instance private endpoint.
- key
Crn String - (String) The CRN of the secondary key.
- kms
Name String - (String) The secondary kms instance name.
- kms
Private StringEndpoint - (String) The secondary kms instance private endpoint.
- key
Crn string - (String) The CRN of the secondary key.
- kms
Name string - (String) The secondary kms instance name.
- kms
Private stringEndpoint - (String) The secondary kms instance private endpoint.
- key_
crn str - (String) The CRN of the secondary key.
- kms_
name str - (String) The secondary kms instance name.
- kms_
private_ strendpoint - (String) The secondary kms instance private endpoint.
- key
Crn String - (String) The CRN of the secondary key.
- kms
Name String - (String) The secondary kms instance name.
- kms
Private StringEndpoint - (String) The secondary kms instance private endpoint.
GetSchematicsKmsSecondaryCrk
- Key
Crn string - (String) The CRN of the secondary key.
- Kms
Name string - (String) The secondary kms instance name.
- Kms
Private stringEndpoint - (String) The secondary kms instance private endpoint.
- Key
Crn string - (String) The CRN of the secondary key.
- Kms
Name string - (String) The secondary kms instance name.
- Kms
Private stringEndpoint - (String) The secondary kms instance private endpoint.
- key_
crn string - (String) The CRN of the secondary key.
- kms_
name string - (String) The secondary kms instance name.
- kms_
private_ stringendpoint - (String) The secondary kms instance private endpoint.
- key
Crn String - (String) The CRN of the secondary key.
- kms
Name String - (String) The secondary kms instance name.
- kms
Private StringEndpoint - (String) The secondary kms instance private endpoint.
- key
Crn string - (String) The CRN of the secondary key.
- kms
Name string - (String) The secondary kms instance name.
- kms
Private stringEndpoint - (String) The secondary kms instance private endpoint.
- key_
crn str - (String) The CRN of the secondary key.
- kms_
name str - (String) The secondary kms instance name.
- kms_
private_ strendpoint - (String) The secondary kms instance private endpoint.
- key
Crn String - (String) The CRN of the secondary key.
- kms
Name String - (String) The secondary kms instance name.
- kms
Private StringEndpoint - (String) The secondary kms instance private endpoint.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
Viewing docs for ibm 2.3.0
published on Friday, Jun 19, 2026 by ibm-cloud
published on Friday, Jun 19, 2026 by ibm-cloud