ibm.AppConfigIntegrationKms
Explore with Pulumi AI
Create or Delete App Configuration and Key Management services’ integration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const appConfigIntegrationKms = new ibm.AppConfigIntegrationKms("appConfigIntegrationKms", {
guid: "guid",
integrationId: "integration_id",
kmsEndpoint: "kms_endpoint",
kmsInstanceCrn: "kms_instance_crn",
rootKeyId: "root_key_id",
});
import pulumi
import pulumi_ibm as ibm
app_config_integration_kms = ibm.AppConfigIntegrationKms("appConfigIntegrationKms",
guid="guid",
integration_id="integration_id",
kms_endpoint="kms_endpoint",
kms_instance_crn="kms_instance_crn",
root_key_id="root_key_id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewAppConfigIntegrationKms(ctx, "appConfigIntegrationKms", &ibm.AppConfigIntegrationKmsArgs{
Guid: pulumi.String("guid"),
IntegrationId: pulumi.String("integration_id"),
KmsEndpoint: pulumi.String("kms_endpoint"),
KmsInstanceCrn: pulumi.String("kms_instance_crn"),
RootKeyId: pulumi.String("root_key_id"),
})
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 appConfigIntegrationKms = new Ibm.AppConfigIntegrationKms("appConfigIntegrationKms", new()
{
Guid = "guid",
IntegrationId = "integration_id",
KmsEndpoint = "kms_endpoint",
KmsInstanceCrn = "kms_instance_crn",
RootKeyId = "root_key_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.AppConfigIntegrationKms;
import com.pulumi.ibm.AppConfigIntegrationKmsArgs;
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) {
var appConfigIntegrationKms = new AppConfigIntegrationKms("appConfigIntegrationKms", AppConfigIntegrationKmsArgs.builder()
.guid("guid")
.integrationId("integration_id")
.kmsEndpoint("kms_endpoint")
.kmsInstanceCrn("kms_instance_crn")
.rootKeyId("root_key_id")
.build());
}
}
resources:
appConfigIntegrationKms:
type: ibm:AppConfigIntegrationKms
properties:
guid: guid
integrationId: integration_id
kmsEndpoint: kms_endpoint
kmsInstanceCrn: kms_instance_crn
rootKeyId: root_key_id
Syntax
terraform import ibm_app_config_integration_kms.sample <guid/integrationId>
Example
terraform import ibm_app_config_integration_kms.sample 272111153-c118-4116-8116-b811fbc31132/sample_integration_kms
Create AppConfigIntegrationKms Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppConfigIntegrationKms(name: string, args: AppConfigIntegrationKmsArgs, opts?: CustomResourceOptions);
@overload
def AppConfigIntegrationKms(resource_name: str,
args: AppConfigIntegrationKmsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppConfigIntegrationKms(resource_name: str,
opts: Optional[ResourceOptions] = None,
guid: Optional[str] = None,
integration_id: Optional[str] = None,
kms_endpoint: Optional[str] = None,
kms_instance_crn: Optional[str] = None,
root_key_id: Optional[str] = None,
app_config_integration_kms_id: Optional[str] = None)
func NewAppConfigIntegrationKms(ctx *Context, name string, args AppConfigIntegrationKmsArgs, opts ...ResourceOption) (*AppConfigIntegrationKms, error)
public AppConfigIntegrationKms(string name, AppConfigIntegrationKmsArgs args, CustomResourceOptions? opts = null)
public AppConfigIntegrationKms(String name, AppConfigIntegrationKmsArgs args)
public AppConfigIntegrationKms(String name, AppConfigIntegrationKmsArgs args, CustomResourceOptions options)
type: ibm:AppConfigIntegrationKms
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppConfigIntegrationKmsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppConfigIntegrationKmsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppConfigIntegrationKmsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppConfigIntegrationKmsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppConfigIntegrationKmsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appConfigIntegrationKmsResource = new Ibm.AppConfigIntegrationKms("appConfigIntegrationKmsResource", new()
{
Guid = "string",
IntegrationId = "string",
KmsEndpoint = "string",
KmsInstanceCrn = "string",
RootKeyId = "string",
AppConfigIntegrationKmsId = "string",
});
example, err := ibm.NewAppConfigIntegrationKms(ctx, "appConfigIntegrationKmsResource", &ibm.AppConfigIntegrationKmsArgs{
Guid: pulumi.String("string"),
IntegrationId: pulumi.String("string"),
KmsEndpoint: pulumi.String("string"),
KmsInstanceCrn: pulumi.String("string"),
RootKeyId: pulumi.String("string"),
AppConfigIntegrationKmsId: pulumi.String("string"),
})
var appConfigIntegrationKmsResource = new AppConfigIntegrationKms("appConfigIntegrationKmsResource", AppConfigIntegrationKmsArgs.builder()
.guid("string")
.integrationId("string")
.kmsEndpoint("string")
.kmsInstanceCrn("string")
.rootKeyId("string")
.appConfigIntegrationKmsId("string")
.build());
app_config_integration_kms_resource = ibm.AppConfigIntegrationKms("appConfigIntegrationKmsResource",
guid="string",
integration_id="string",
kms_endpoint="string",
kms_instance_crn="string",
root_key_id="string",
app_config_integration_kms_id="string")
const appConfigIntegrationKmsResource = new ibm.AppConfigIntegrationKms("appConfigIntegrationKmsResource", {
guid: "string",
integrationId: "string",
kmsEndpoint: "string",
kmsInstanceCrn: "string",
rootKeyId: "string",
appConfigIntegrationKmsId: "string",
});
type: ibm:AppConfigIntegrationKms
properties:
appConfigIntegrationKmsId: string
guid: string
integrationId: string
kmsEndpoint: string
kmsInstanceCrn: string
rootKeyId: string
AppConfigIntegrationKms Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppConfigIntegrationKms resource accepts the following input properties:
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Integration
Id string - The integration ID.
- Kms
Endpoint string - The API endpoint of Key Management service.
- Kms
Instance stringCrn - The CRN of Key Management Service.
- Root
Key stringId - The ID of root key of KMS instance.
- App
Config stringIntegration Kms Id
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Integration
Id string - The integration ID.
- Kms
Endpoint string - The API endpoint of Key Management service.
- Kms
Instance stringCrn - The CRN of Key Management Service.
- Root
Key stringId - The ID of root key of KMS instance.
- App
Config stringIntegration Kms Id
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- integration
Id String - The integration ID.
- kms
Endpoint String - The API endpoint of Key Management service.
- kms
Instance StringCrn - The CRN of Key Management Service.
- root
Key StringId - The ID of root key of KMS instance.
- app
Config StringIntegration Kms Id
- guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- integration
Id string - The integration ID.
- kms
Endpoint string - The API endpoint of Key Management service.
- kms
Instance stringCrn - The CRN of Key Management Service.
- root
Key stringId - The ID of root key of KMS instance.
- app
Config stringIntegration Kms Id
- guid str
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- integration_
id str - The integration ID.
- kms_
endpoint str - The API endpoint of Key Management service.
- kms_
instance_ strcrn - The CRN of Key Management Service.
- root_
key_ strid - The ID of root key of KMS instance.
- app_
config_ strintegration_ kms_ id
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- integration
Id String - The integration ID.
- kms
Endpoint String - The API endpoint of Key Management service.
- kms
Instance StringCrn - The CRN of Key Management Service.
- root
Key StringId - The ID of root key of KMS instance.
- app
Config StringIntegration Kms Id
Outputs
All input properties are implicitly available as output properties. Additionally, the AppConfigIntegrationKms resource produces the following output properties:
- Created
Time string - (Timestamp) The creation time of the feature flag.
- Href string
- (String) The feature flag URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Type string - (String) This will be KMS always.
- Kms
Schema stringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- Updated
Time string - (Timestamp) The last modified time of the feature flag data.
- Created
Time string - (Timestamp) The creation time of the feature flag.
- Href string
- (String) The feature flag URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Type string - (String) This will be KMS always.
- Kms
Schema stringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- Updated
Time string - (Timestamp) The last modified time of the feature flag data.
- created
Time String - (Timestamp) The creation time of the feature flag.
- href String
- (String) The feature flag URL.
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Type String - (String) This will be KMS always.
- kms
Schema StringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- updated
Time String - (Timestamp) The last modified time of the feature flag data.
- created
Time string - (Timestamp) The creation time of the feature flag.
- href string
- (String) The feature flag URL.
- id string
- The provider-assigned unique ID for this managed resource.
- integration
Type string - (String) This will be KMS always.
- kms
Schema stringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- updated
Time string - (Timestamp) The last modified time of the feature flag data.
- created_
time str - (Timestamp) The creation time of the feature flag.
- href str
- (String) The feature flag URL.
- id str
- The provider-assigned unique ID for this managed resource.
- integration_
type str - (String) This will be KMS always.
- kms_
schema_ strtype - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- updated_
time str - (Timestamp) The last modified time of the feature flag data.
- created
Time String - (Timestamp) The creation time of the feature flag.
- href String
- (String) The feature flag URL.
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Type String - (String) This will be KMS always.
- kms
Schema StringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- updated
Time String - (Timestamp) The last modified time of the feature flag data.
Look up Existing AppConfigIntegrationKms Resource
Get an existing AppConfigIntegrationKms resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppConfigIntegrationKmsState, opts?: CustomResourceOptions): AppConfigIntegrationKms
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_config_integration_kms_id: Optional[str] = None,
created_time: Optional[str] = None,
guid: Optional[str] = None,
href: Optional[str] = None,
integration_id: Optional[str] = None,
integration_type: Optional[str] = None,
kms_endpoint: Optional[str] = None,
kms_instance_crn: Optional[str] = None,
kms_schema_type: Optional[str] = None,
root_key_id: Optional[str] = None,
updated_time: Optional[str] = None) -> AppConfigIntegrationKms
func GetAppConfigIntegrationKms(ctx *Context, name string, id IDInput, state *AppConfigIntegrationKmsState, opts ...ResourceOption) (*AppConfigIntegrationKms, error)
public static AppConfigIntegrationKms Get(string name, Input<string> id, AppConfigIntegrationKmsState? state, CustomResourceOptions? opts = null)
public static AppConfigIntegrationKms get(String name, Output<String> id, AppConfigIntegrationKmsState state, CustomResourceOptions options)
resources: _: type: ibm:AppConfigIntegrationKms get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Config stringIntegration Kms Id - Created
Time string - (Timestamp) The creation time of the feature flag.
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Href string
- (String) The feature flag URL.
- Integration
Id string - The integration ID.
- Integration
Type string - (String) This will be KMS always.
- Kms
Endpoint string - The API endpoint of Key Management service.
- Kms
Instance stringCrn - The CRN of Key Management Service.
- Kms
Schema stringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- Root
Key stringId - The ID of root key of KMS instance.
- Updated
Time string - (Timestamp) The last modified time of the feature flag data.
- App
Config stringIntegration Kms Id - Created
Time string - (Timestamp) The creation time of the feature flag.
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Href string
- (String) The feature flag URL.
- Integration
Id string - The integration ID.
- Integration
Type string - (String) This will be KMS always.
- Kms
Endpoint string - The API endpoint of Key Management service.
- Kms
Instance stringCrn - The CRN of Key Management Service.
- Kms
Schema stringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- Root
Key stringId - The ID of root key of KMS instance.
- Updated
Time string - (Timestamp) The last modified time of the feature flag data.
- app
Config StringIntegration Kms Id - created
Time String - (Timestamp) The creation time of the feature flag.
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href String
- (String) The feature flag URL.
- integration
Id String - The integration ID.
- integration
Type String - (String) This will be KMS always.
- kms
Endpoint String - The API endpoint of Key Management service.
- kms
Instance StringCrn - The CRN of Key Management Service.
- kms
Schema StringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- root
Key StringId - The ID of root key of KMS instance.
- updated
Time String - (Timestamp) The last modified time of the feature flag data.
- app
Config stringIntegration Kms Id - created
Time string - (Timestamp) The creation time of the feature flag.
- guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href string
- (String) The feature flag URL.
- integration
Id string - The integration ID.
- integration
Type string - (String) This will be KMS always.
- kms
Endpoint string - The API endpoint of Key Management service.
- kms
Instance stringCrn - The CRN of Key Management Service.
- kms
Schema stringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- root
Key stringId - The ID of root key of KMS instance.
- updated
Time string - (Timestamp) The last modified time of the feature flag data.
- app_
config_ strintegration_ kms_ id - created_
time str - (Timestamp) The creation time of the feature flag.
- guid str
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href str
- (String) The feature flag URL.
- integration_
id str - The integration ID.
- integration_
type str - (String) This will be KMS always.
- kms_
endpoint str - The API endpoint of Key Management service.
- kms_
instance_ strcrn - The CRN of Key Management Service.
- kms_
schema_ strtype - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- root_
key_ strid - The ID of root key of KMS instance.
- updated_
time str - (Timestamp) The last modified time of the feature flag data.
- app
Config StringIntegration Kms Id - created
Time String - (Timestamp) The creation time of the feature flag.
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href String
- (String) The feature flag URL.
- integration
Id String - The integration ID.
- integration
Type String - (String) This will be KMS always.
- kms
Endpoint String - The API endpoint of Key Management service.
- kms
Instance StringCrn - The CRN of Key Management Service.
- kms
Schema StringType - (String) The field indicating type of KMS instance used (eg:- KP, HPCP).
- root
Key StringId - The ID of root key of KMS instance.
- updated
Time String - (Timestamp) The last modified time of the feature flag data.
Import
The ibm_app_config_integration_kms
resource can be imported by using guid
of the App Configuration instance and integrationId
. Get the guid
from the service instance credentials section of the dashboard.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.