published on Friday, Sep 18, 2026 by kong
published on Friday, Sep 18, 2026 by kong
AIGatewayConfigStoreSecret Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myAigatewayconfigstoresecret = new konnect.AiGatewayConfigStoreSecret("my_aigatewayconfigstoresecret", {
configStoreId: "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
gatewayId: "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
key: "my-secret-key",
value: "my-secret-value",
});
import pulumi
import pulumi_konnect as konnect
my_aigatewayconfigstoresecret = konnect.AiGatewayConfigStoreSecret("my_aigatewayconfigstoresecret",
config_store_id="5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
gateway_id="5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
key="my-secret-key",
value="my-secret-value")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := konnect.NewAiGatewayConfigStoreSecret(ctx, "my_aigatewayconfigstoresecret", &konnect.AiGatewayConfigStoreSecretArgs{
ConfigStoreId: pulumi.String("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
GatewayId: pulumi.String("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
Key: pulumi.String("my-secret-key"),
Value: pulumi.String("my-secret-value"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Konnect = Pulumi.Konnect;
return await Deployment.RunAsync(() =>
{
var myAigatewayconfigstoresecret = new Konnect.AiGatewayConfigStoreSecret("my_aigatewayconfigstoresecret", new()
{
ConfigStoreId = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
GatewayId = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
Key = "my-secret-key",
Value = "my-secret-value",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.AiGatewayConfigStoreSecret;
import com.pulumi.konnect.AiGatewayConfigStoreSecretArgs;
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 myAigatewayconfigstoresecret = new AiGatewayConfigStoreSecret("myAigatewayconfigstoresecret", AiGatewayConfigStoreSecretArgs.builder()
.configStoreId("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7")
.gatewayId("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7")
.key("my-secret-key")
.value("my-secret-value")
.build());
}
}
resources:
myAigatewayconfigstoresecret:
type: konnect:AiGatewayConfigStoreSecret
name: my_aigatewayconfigstoresecret
properties:
configStoreId: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
gatewayId: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
key: my-secret-key
value: my-secret-value
Example coming soon!
Create AiGatewayConfigStoreSecret Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiGatewayConfigStoreSecret(name: string, args: AiGatewayConfigStoreSecretArgs, opts?: CustomResourceOptions);@overload
def AiGatewayConfigStoreSecret(resource_name: str,
args: AiGatewayConfigStoreSecretArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiGatewayConfigStoreSecret(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_store_id: Optional[str] = None,
gateway_id: Optional[str] = None,
key: Optional[str] = None,
value: Optional[str] = None)func NewAiGatewayConfigStoreSecret(ctx *Context, name string, args AiGatewayConfigStoreSecretArgs, opts ...ResourceOption) (*AiGatewayConfigStoreSecret, error)public AiGatewayConfigStoreSecret(string name, AiGatewayConfigStoreSecretArgs args, CustomResourceOptions? opts = null)
public AiGatewayConfigStoreSecret(String name, AiGatewayConfigStoreSecretArgs args)
public AiGatewayConfigStoreSecret(String name, AiGatewayConfigStoreSecretArgs args, CustomResourceOptions options)
type: konnect:AiGatewayConfigStoreSecret
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "konnect_ai_gateway_config_store_secret" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AiGatewayConfigStoreSecretArgs
- 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 AiGatewayConfigStoreSecretArgs
- 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 AiGatewayConfigStoreSecretArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiGatewayConfigStoreSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiGatewayConfigStoreSecretArgs
- 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 aiGatewayConfigStoreSecretResource = new Konnect.AiGatewayConfigStoreSecret("aiGatewayConfigStoreSecretResource", new()
{
ConfigStoreId = "string",
GatewayId = "string",
Key = "string",
Value = "string",
});
example, err := konnect.NewAiGatewayConfigStoreSecret(ctx, "aiGatewayConfigStoreSecretResource", &konnect.AiGatewayConfigStoreSecretArgs{
ConfigStoreId: pulumi.String("string"),
GatewayId: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
})
resource "konnect_ai_gateway_config_store_secret" "aiGatewayConfigStoreSecretResource" {
lifecycle {
create_before_destroy = true
}
config_store_id = "string"
gateway_id = "string"
key = "string"
value = "string"
}
var aiGatewayConfigStoreSecretResource = new AiGatewayConfigStoreSecret("aiGatewayConfigStoreSecretResource", AiGatewayConfigStoreSecretArgs.builder()
.configStoreId("string")
.gatewayId("string")
.key("string")
.value("string")
.build());
ai_gateway_config_store_secret_resource = konnect.AiGatewayConfigStoreSecret("aiGatewayConfigStoreSecretResource",
config_store_id="string",
gateway_id="string",
key="string",
value="string")
const aiGatewayConfigStoreSecretResource = new konnect.AiGatewayConfigStoreSecret("aiGatewayConfigStoreSecretResource", {
configStoreId: "string",
gatewayId: "string",
key: "string",
value: "string",
});
type: konnect:AiGatewayConfigStoreSecret
properties:
configStoreId: string
gatewayId: string
key: string
value: string
AiGatewayConfigStoreSecret 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 AiGatewayConfigStoreSecret resource accepts the following input properties:
- Config
Store stringId - The unique ID of the AI Gateway Config Store.
- Gateway
Id string - The unique ID of the AI Gateway.
- Key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- Value string
- The secret value. Once stored, this value cannot be retrieved.
- Config
Store stringId - The unique ID of the AI Gateway Config Store.
- Gateway
Id string - The unique ID of the AI Gateway.
- Key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- Value string
- The secret value. Once stored, this value cannot be retrieved.
- config_
store_ stringid - The unique ID of the AI Gateway Config Store.
- gateway_
id string - The unique ID of the AI Gateway.
- key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- value string
- The secret value. Once stored, this value cannot be retrieved.
- config
Store StringId - The unique ID of the AI Gateway Config Store.
- gateway
Id String - The unique ID of the AI Gateway.
- key String
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- value String
- The secret value. Once stored, this value cannot be retrieved.
- config
Store stringId - The unique ID of the AI Gateway Config Store.
- gateway
Id string - The unique ID of the AI Gateway.
- key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- value string
- The secret value. Once stored, this value cannot be retrieved.
- config_
store_ strid - The unique ID of the AI Gateway Config Store.
- gateway_
id str - The unique ID of the AI Gateway.
- key str
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- value str
- The secret value. Once stored, this value cannot be retrieved.
- config
Store StringId - The unique ID of the AI Gateway Config Store.
- gateway
Id String - The unique ID of the AI Gateway.
- key String
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- value String
- The secret value. Once stored, this value cannot be retrieved.
Outputs
All input properties are implicitly available as output properties. Additionally, the AiGatewayConfigStoreSecret resource produces the following output properties:
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
Look up Existing AiGatewayConfigStoreSecret Resource
Get an existing AiGatewayConfigStoreSecret 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?: AiGatewayConfigStoreSecretState, opts?: CustomResourceOptions): AiGatewayConfigStoreSecret@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_store_id: Optional[str] = None,
created_at: Optional[str] = None,
gateway_id: Optional[str] = None,
key: Optional[str] = None,
updated_at: Optional[str] = None,
value: Optional[str] = None) -> AiGatewayConfigStoreSecretfunc GetAiGatewayConfigStoreSecret(ctx *Context, name string, id IDInput, state *AiGatewayConfigStoreSecretState, opts ...ResourceOption) (*AiGatewayConfigStoreSecret, error)public static AiGatewayConfigStoreSecret Get(string name, Input<string> id, AiGatewayConfigStoreSecretState? state, CustomResourceOptions? opts = null)public static AiGatewayConfigStoreSecret get(String name, Output<String> id, AiGatewayConfigStoreSecretState state, CustomResourceOptions options)resources: _: type: konnect:AiGatewayConfigStoreSecret get: id: ${id}import {
to = konnect_ai_gateway_config_store_secret.example
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.
- Config
Store stringId - The unique ID of the AI Gateway Config Store.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Gateway
Id string - The unique ID of the AI Gateway.
- Key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Value string
- The secret value. Once stored, this value cannot be retrieved.
- Config
Store stringId - The unique ID of the AI Gateway Config Store.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Gateway
Id string - The unique ID of the AI Gateway.
- Key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Value string
- The secret value. Once stored, this value cannot be retrieved.
- config_
store_ stringid - The unique ID of the AI Gateway Config Store.
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- gateway_
id string - The unique ID of the AI Gateway.
- key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- value string
- The secret value. Once stored, this value cannot be retrieved.
- config
Store StringId - The unique ID of the AI Gateway Config Store.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- gateway
Id String - The unique ID of the AI Gateway.
- key String
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- value String
- The secret value. Once stored, this value cannot be retrieved.
- config
Store stringId - The unique ID of the AI Gateway Config Store.
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- gateway
Id string - The unique ID of the AI Gateway.
- key string
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- value string
- The secret value. Once stored, this value cannot be retrieved.
- config_
store_ strid - The unique ID of the AI Gateway Config Store.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- gateway_
id str - The unique ID of the AI Gateway.
- key str
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- value str
- The secret value. Once stored, this value cannot be retrieved.
- config
Store StringId - The unique ID of the AI Gateway Config Store.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- gateway
Id String - The unique ID of the AI Gateway.
- key String
- The unique key identifying the secret within the Config Store. Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- value String
- The secret value. Once stored, this value cannot be retrieved.
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = konnect_ai_gateway_config_store_secret.my_konnect_ai_gateway_config_store_secret
id = jsonencode({
config_store_id = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
gateway_id = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
key = "my-secret-key"
})
}
The pulumi import command can be used, for example:
$ pulumi import konnect:index/aiGatewayConfigStoreSecret:AiGatewayConfigStoreSecret my_konnect_ai_gateway_config_store_secret '{"config_store_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7", "gateway_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7", "key": "my-secret-key"}'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
published on Friday, Sep 18, 2026 by kong