ibm.CodeEngineSecret
Explore with Pulumi AI
Create, update, and delete code_engine_secrets with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const codeEngineSecretInstance = new ibm.CodeEngineSecret("codeEngineSecretInstance", {
data: {
key1: "value1",
key2: "value2",
},
format: "generic",
projectId: "15314cc3-85b4-4338-903f-c28cdee6d005",
});
import pulumi
import pulumi_ibm as ibm
code_engine_secret_instance = ibm.CodeEngineSecret("codeEngineSecretInstance",
data={
"key1": "value1",
"key2": "value2",
},
format="generic",
project_id="15314cc3-85b4-4338-903f-c28cdee6d005")
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.NewCodeEngineSecret(ctx, "codeEngineSecretInstance", &ibm.CodeEngineSecretArgs{
Data: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("value2"),
},
Format: pulumi.String("generic"),
ProjectId: pulumi.String("15314cc3-85b4-4338-903f-c28cdee6d005"),
})
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 codeEngineSecretInstance = new Ibm.CodeEngineSecret("codeEngineSecretInstance", new()
{
Data =
{
{ "key1", "value1" },
{ "key2", "value2" },
},
Format = "generic",
ProjectId = "15314cc3-85b4-4338-903f-c28cdee6d005",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CodeEngineSecret;
import com.pulumi.ibm.CodeEngineSecretArgs;
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 codeEngineSecretInstance = new CodeEngineSecret("codeEngineSecretInstance", CodeEngineSecretArgs.builder()
.data(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "value2")
))
.format("generic")
.projectId("15314cc3-85b4-4338-903f-c28cdee6d005")
.build());
}
}
resources:
codeEngineSecretInstance:
type: ibm:CodeEngineSecret
properties:
data:
key1: value1
key2: value2
format: generic
projectId: 15314cc3-85b4-4338-903f-c28cdee6d005
Create CodeEngineSecret Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CodeEngineSecret(name: string, args: CodeEngineSecretArgs, opts?: CustomResourceOptions);
@overload
def CodeEngineSecret(resource_name: str,
args: CodeEngineSecretArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CodeEngineSecret(resource_name: str,
opts: Optional[ResourceOptions] = None,
format: Optional[str] = None,
project_id: Optional[str] = None,
code_engine_secret_id: Optional[str] = None,
data: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
service_access: Optional[CodeEngineSecretServiceAccessArgs] = None,
service_operator: Optional[CodeEngineSecretServiceOperatorArgs] = None)
func NewCodeEngineSecret(ctx *Context, name string, args CodeEngineSecretArgs, opts ...ResourceOption) (*CodeEngineSecret, error)
public CodeEngineSecret(string name, CodeEngineSecretArgs args, CustomResourceOptions? opts = null)
public CodeEngineSecret(String name, CodeEngineSecretArgs args)
public CodeEngineSecret(String name, CodeEngineSecretArgs args, CustomResourceOptions options)
type: ibm:CodeEngineSecret
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 CodeEngineSecretArgs
- 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 CodeEngineSecretArgs
- 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 CodeEngineSecretArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CodeEngineSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CodeEngineSecretArgs
- 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 codeEngineSecretResource = new Ibm.CodeEngineSecret("codeEngineSecretResource", new()
{
Format = "string",
ProjectId = "string",
CodeEngineSecretId = "string",
Data =
{
{ "string", "string" },
},
Name = "string",
ServiceAccess = new Ibm.Inputs.CodeEngineSecretServiceAccessArgs
{
ResourceKey = new Ibm.Inputs.CodeEngineSecretServiceAccessResourceKeyArgs
{
Id = "string",
Name = "string",
},
ServiceInstance = new Ibm.Inputs.CodeEngineSecretServiceAccessServiceInstanceArgs
{
Id = "string",
Type = "string",
},
Role = new Ibm.Inputs.CodeEngineSecretServiceAccessRoleArgs
{
Crn = "string",
Name = "string",
},
Serviceid = new Ibm.Inputs.CodeEngineSecretServiceAccessServiceidArgs
{
Crn = "string",
Id = "string",
},
},
ServiceOperator = new Ibm.Inputs.CodeEngineSecretServiceOperatorArgs
{
ResourceGroupIds = new[]
{
"string",
},
Serviceid = new Ibm.Inputs.CodeEngineSecretServiceOperatorServiceidArgs
{
Crn = "string",
Id = "string",
},
ApikeyId = "string",
UserManaged = false,
},
});
example, err := ibm.NewCodeEngineSecret(ctx, "codeEngineSecretResource", &ibm.CodeEngineSecretArgs{
Format: pulumi.String("string"),
ProjectId: pulumi.String("string"),
CodeEngineSecretId: pulumi.String("string"),
Data: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
ServiceAccess: &ibm.CodeEngineSecretServiceAccessArgs{
ResourceKey: &ibm.CodeEngineSecretServiceAccessResourceKeyArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
ServiceInstance: &ibm.CodeEngineSecretServiceAccessServiceInstanceArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
Role: &ibm.CodeEngineSecretServiceAccessRoleArgs{
Crn: pulumi.String("string"),
Name: pulumi.String("string"),
},
Serviceid: &ibm.CodeEngineSecretServiceAccessServiceidArgs{
Crn: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
ServiceOperator: &ibm.CodeEngineSecretServiceOperatorArgs{
ResourceGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Serviceid: &ibm.CodeEngineSecretServiceOperatorServiceidArgs{
Crn: pulumi.String("string"),
Id: pulumi.String("string"),
},
ApikeyId: pulumi.String("string"),
UserManaged: pulumi.Bool(false),
},
})
var codeEngineSecretResource = new CodeEngineSecret("codeEngineSecretResource", CodeEngineSecretArgs.builder()
.format("string")
.projectId("string")
.codeEngineSecretId("string")
.data(Map.of("string", "string"))
.name("string")
.serviceAccess(CodeEngineSecretServiceAccessArgs.builder()
.resourceKey(CodeEngineSecretServiceAccessResourceKeyArgs.builder()
.id("string")
.name("string")
.build())
.serviceInstance(CodeEngineSecretServiceAccessServiceInstanceArgs.builder()
.id("string")
.type("string")
.build())
.role(CodeEngineSecretServiceAccessRoleArgs.builder()
.crn("string")
.name("string")
.build())
.serviceid(CodeEngineSecretServiceAccessServiceidArgs.builder()
.crn("string")
.id("string")
.build())
.build())
.serviceOperator(CodeEngineSecretServiceOperatorArgs.builder()
.resourceGroupIds("string")
.serviceid(CodeEngineSecretServiceOperatorServiceidArgs.builder()
.crn("string")
.id("string")
.build())
.apikeyId("string")
.userManaged(false)
.build())
.build());
code_engine_secret_resource = ibm.CodeEngineSecret("codeEngineSecretResource",
format="string",
project_id="string",
code_engine_secret_id="string",
data={
"string": "string",
},
name="string",
service_access={
"resource_key": {
"id": "string",
"name": "string",
},
"service_instance": {
"id": "string",
"type": "string",
},
"role": {
"crn": "string",
"name": "string",
},
"serviceid": {
"crn": "string",
"id": "string",
},
},
service_operator={
"resource_group_ids": ["string"],
"serviceid": {
"crn": "string",
"id": "string",
},
"apikey_id": "string",
"user_managed": False,
})
const codeEngineSecretResource = new ibm.CodeEngineSecret("codeEngineSecretResource", {
format: "string",
projectId: "string",
codeEngineSecretId: "string",
data: {
string: "string",
},
name: "string",
serviceAccess: {
resourceKey: {
id: "string",
name: "string",
},
serviceInstance: {
id: "string",
type: "string",
},
role: {
crn: "string",
name: "string",
},
serviceid: {
crn: "string",
id: "string",
},
},
serviceOperator: {
resourceGroupIds: ["string"],
serviceid: {
crn: "string",
id: "string",
},
apikeyId: "string",
userManaged: false,
},
});
type: ibm:CodeEngineSecret
properties:
codeEngineSecretId: string
data:
string: string
format: string
name: string
projectId: string
serviceAccess:
resourceKey:
id: string
name: string
role:
crn: string
name: string
serviceInstance:
id: string
type: string
serviceid:
crn: string
id: string
serviceOperator:
apikeyId: string
resourceGroupIds:
- string
serviceid:
crn: string
id: string
userManaged: false
CodeEngineSecret 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 CodeEngineSecret resource accepts the following input properties:
- Format string
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Code
Engine stringSecret Id - The unique identifier of the code_engine_secret.
- Data Dictionary<string, string>
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - Name string
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- Service
Access CodeEngine Secret Service Access - Properties for Service Access Secrets. Nested schema for service_access:
- Service
Operator CodeEngine Secret Service Operator - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- Format string
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Code
Engine stringSecret Id - The unique identifier of the code_engine_secret.
- Data map[string]string
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - Name string
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- Service
Access CodeEngine Secret Service Access Args - Properties for Service Access Secrets. Nested schema for service_access:
- Service
Operator CodeEngine Secret Service Operator Args - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- format String
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code
Engine StringSecret Id - The unique identifier of the code_engine_secret.
- data Map<String,String>
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - name String
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- service
Access CodeEngine Secret Service Access - Properties for Service Access Secrets. Nested schema for service_access:
- service
Operator CodeEngine Secret Service Operator - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- format string
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code
Engine stringSecret Id - The unique identifier of the code_engine_secret.
- data {[key: string]: string}
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - name string
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- service
Access CodeEngine Secret Service Access - Properties for Service Access Secrets. Nested schema for service_access:
- service
Operator CodeEngine Secret Service Operator - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- format str
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- project_
id str - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code_
engine_ strsecret_ id - The unique identifier of the code_engine_secret.
- data Mapping[str, str]
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - name str
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- service_
access CodeEngine Secret Service Access Args - Properties for Service Access Secrets. Nested schema for service_access:
- service_
operator CodeEngine Secret Service Operator Args - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- format String
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code
Engine StringSecret Id - The unique identifier of the code_engine_secret.
- data Map<String>
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - name String
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- service
Access Property Map - Properties for Service Access Secrets. Nested schema for service_access:
- service
Operator Property Map - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeEngineSecret resource produces the following output properties:
- Created
At string - (String) The timestamp when the resource was created.
- Entity
Tag string - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_secret.
- Href string
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the secret.
- Secret
Id string - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Created
At string - (String) The timestamp when the resource was created.
- Entity
Tag string - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_secret.
- Href string
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the secret.
- Secret
Id string - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At String - (String) The timestamp when the resource was created.
- entity
Tag String - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_secret.
- href String
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the secret.
- secret
Id String - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At string - (String) The timestamp when the resource was created.
- entity
Tag string - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag string
- ETag identifier for code_engine_secret.
- href string
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type string - (String) The type of the secret.
- secret
Id string - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created_
at str - (String) The timestamp when the resource was created.
- entity_
tag str - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag str
- ETag identifier for code_engine_secret.
- href str
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource_
type str - (String) The type of the secret.
- secret_
id str - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At String - (String) The timestamp when the resource was created.
- entity
Tag String - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_secret.
- href String
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the secret.
- secret
Id String - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
Look up Existing CodeEngineSecret Resource
Get an existing CodeEngineSecret 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?: CodeEngineSecretState, opts?: CustomResourceOptions): CodeEngineSecret
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
code_engine_secret_id: Optional[str] = None,
created_at: Optional[str] = None,
data: Optional[Mapping[str, str]] = None,
entity_tag: Optional[str] = None,
etag: Optional[str] = None,
format: Optional[str] = None,
href: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resource_type: Optional[str] = None,
secret_id: Optional[str] = None,
service_access: Optional[CodeEngineSecretServiceAccessArgs] = None,
service_operator: Optional[CodeEngineSecretServiceOperatorArgs] = None) -> CodeEngineSecret
func GetCodeEngineSecret(ctx *Context, name string, id IDInput, state *CodeEngineSecretState, opts ...ResourceOption) (*CodeEngineSecret, error)
public static CodeEngineSecret Get(string name, Input<string> id, CodeEngineSecretState? state, CustomResourceOptions? opts = null)
public static CodeEngineSecret get(String name, Output<String> id, CodeEngineSecretState state, CustomResourceOptions options)
resources: _: type: ibm:CodeEngineSecret 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.
- Code
Engine stringSecret Id - The unique identifier of the code_engine_secret.
- Created
At string - (String) The timestamp when the resource was created.
- Data Dictionary<string, string>
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - Entity
Tag string - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_secret.
- Format string
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- Href string
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Name string
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the secret.
- Secret
Id string - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Service
Access CodeEngine Secret Service Access - Properties for Service Access Secrets. Nested schema for service_access:
- Service
Operator CodeEngine Secret Service Operator - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- Code
Engine stringSecret Id - The unique identifier of the code_engine_secret.
- Created
At string - (String) The timestamp when the resource was created.
- Data map[string]string
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - Entity
Tag string - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_secret.
- Format string
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- Href string
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Name string
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the secret.
- Secret
Id string - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Service
Access CodeEngine Secret Service Access Args - Properties for Service Access Secrets. Nested schema for service_access:
- Service
Operator CodeEngine Secret Service Operator Args - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- code
Engine StringSecret Id - The unique identifier of the code_engine_secret.
- created
At String - (String) The timestamp when the resource was created.
- data Map<String,String>
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - entity
Tag String - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_secret.
- format String
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- href String
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name String
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the secret.
- secret
Id String - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- service
Access CodeEngine Secret Service Access - Properties for Service Access Secrets. Nested schema for service_access:
- service
Operator CodeEngine Secret Service Operator - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- code
Engine stringSecret Id - The unique identifier of the code_engine_secret.
- created
At string - (String) The timestamp when the resource was created.
- data {[key: string]: string}
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - entity
Tag string - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag string
- ETag identifier for code_engine_secret.
- format string
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- href string
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name string
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type string - (String) The type of the secret.
- secret
Id string - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- service
Access CodeEngine Secret Service Access - Properties for Service Access Secrets. Nested schema for service_access:
- service
Operator CodeEngine Secret Service Operator - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- code_
engine_ strsecret_ id - The unique identifier of the code_engine_secret.
- created_
at str - (String) The timestamp when the resource was created.
- data Mapping[str, str]
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - entity_
tag str - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag str
- ETag identifier for code_engine_secret.
- format str
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- href str
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name str
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region str
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource_
type str - (String) The type of the secret.
- secret_
id str - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- service_
access CodeEngine Secret Service Access Args - Properties for Service Access Secrets. Nested schema for service_access:
- service_
operator CodeEngine Secret Service Operator Args - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
- code
Engine StringSecret Id - The unique identifier of the code_engine_secret.
- created
At String - (String) The timestamp when the resource was created.
- data Map<String>
- Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters,
-
,_
or.
and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters. - entity
Tag String - (String) The version of the secret instance, which is used to achieve optimistic locking.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_secret.
- format String
- Specify the format of the secret.
- Constraints: Allowable values are:
generic
,ssh_auth
,basic_auth
,tls
,service_access
,registry
,service_operator
,other
. The value must match regular expression/^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/
.
- Constraints: Allowable values are:
- href String
- (String) When you provision a new secret, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name String
- The name of the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the secret.
- secret
Id String - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- service
Access Property Map - Properties for Service Access Secrets. Nested schema for service_access:
- service
Operator Property Map - Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
Supporting Types
CodeEngineSecretServiceAccess, CodeEngineSecretServiceAccessArgs
- Resource
Key CodeEngine Secret Service Access Resource Key - The service credential associated with the secret. Nested schema for resource_key:
- Service
Instance CodeEngine Secret Service Access Service Instance - The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
- Role
Code
Engine Secret Service Access Role - A reference to the Role and Role CRN for service binding. Nested schema for role:
- Serviceid
Code
Engine Secret Service Access Serviceid - A reference to a Service ID. Nested schema for serviceid:
- Resource
Key CodeEngine Secret Service Access Resource Key - The service credential associated with the secret. Nested schema for resource_key:
- Service
Instance CodeEngine Secret Service Access Service Instance - The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
- Role
Code
Engine Secret Service Access Role - A reference to the Role and Role CRN for service binding. Nested schema for role:
- Serviceid
Code
Engine Secret Service Access Serviceid - A reference to a Service ID. Nested schema for serviceid:
- resource
Key CodeEngine Secret Service Access Resource Key - The service credential associated with the secret. Nested schema for resource_key:
- service
Instance CodeEngine Secret Service Access Service Instance - The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
- role
Code
Engine Secret Service Access Role - A reference to the Role and Role CRN for service binding. Nested schema for role:
- serviceid
Code
Engine Secret Service Access Serviceid - A reference to a Service ID. Nested schema for serviceid:
- resource
Key CodeEngine Secret Service Access Resource Key - The service credential associated with the secret. Nested schema for resource_key:
- service
Instance CodeEngine Secret Service Access Service Instance - The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
- role
Code
Engine Secret Service Access Role - A reference to the Role and Role CRN for service binding. Nested schema for role:
- serviceid
Code
Engine Secret Service Access Serviceid - A reference to a Service ID. Nested schema for serviceid:
- resource_
key CodeEngine Secret Service Access Resource Key - The service credential associated with the secret. Nested schema for resource_key:
- service_
instance CodeEngine Secret Service Access Service Instance - The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
- role
Code
Engine Secret Service Access Role - A reference to the Role and Role CRN for service binding. Nested schema for role:
- serviceid
Code
Engine Secret Service Access Serviceid - A reference to a Service ID. Nested schema for serviceid:
- resource
Key Property Map - The service credential associated with the secret. Nested schema for resource_key:
- service
Instance Property Map - The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
- role Property Map
- A reference to the Role and Role CRN for service binding. Nested schema for role:
- serviceid Property Map
- A reference to a Service ID. Nested schema for serviceid:
CodeEngineSecretServiceAccessResourceKey, CodeEngineSecretServiceAccessResourceKeyArgs
CodeEngineSecretServiceAccessRole, CodeEngineSecretServiceAccessRoleArgs
- Crn string
- CRN of the IAM Role for this service access secret.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^[A-Z][a-zA-Z() ]*[a-z)]$|^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- Name string
- Role of the service credential.
- Constraints: The default value is
Writer
.
- Constraints: The default value is
- Crn string
- CRN of the IAM Role for this service access secret.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^[A-Z][a-zA-Z() ]*[a-z)]$|^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- Name string
- Role of the service credential.
- Constraints: The default value is
Writer
.
- Constraints: The default value is
- crn String
- CRN of the IAM Role for this service access secret.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^[A-Z][a-zA-Z() ]*[a-z)]$|^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- name String
- Role of the service credential.
- Constraints: The default value is
Writer
.
- Constraints: The default value is
- crn string
- CRN of the IAM Role for this service access secret.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^[A-Z][a-zA-Z() ]*[a-z)]$|^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- name string
- Role of the service credential.
- Constraints: The default value is
Writer
.
- Constraints: The default value is
- crn str
- CRN of the IAM Role for this service access secret.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^[A-Z][a-zA-Z() ]*[a-z)]$|^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- name str
- Role of the service credential.
- Constraints: The default value is
Writer
.
- Constraints: The default value is
- crn String
- CRN of the IAM Role for this service access secret.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^[A-Z][a-zA-Z() ]*[a-z)]$|^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- name String
- Role of the service credential.
- Constraints: The default value is
Writer
.
- Constraints: The default value is
CodeEngineSecretServiceAccessServiceInstance, CodeEngineSecretServiceAccessServiceInstanceArgs
- Id string
- ID of the IBM Cloud service instance associated with the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-z0-9][\\-a-z0-9]*[a-z0-9]$/
.
- Constraints: The maximum length is
- Type string
- Type of IBM Cloud service associated with the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Id string
- ID of the IBM Cloud service instance associated with the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-z0-9][\\-a-z0-9]*[a-z0-9]$/
.
- Constraints: The maximum length is
- Type string
- Type of IBM Cloud service associated with the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- id String
- ID of the IBM Cloud service instance associated with the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-z0-9][\\-a-z0-9]*[a-z0-9]$/
.
- Constraints: The maximum length is
- type String
- Type of IBM Cloud service associated with the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- id string
- ID of the IBM Cloud service instance associated with the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-z0-9][\\-a-z0-9]*[a-z0-9]$/
.
- Constraints: The maximum length is
- type string
- Type of IBM Cloud service associated with the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- id str
- ID of the IBM Cloud service instance associated with the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-z0-9][\\-a-z0-9]*[a-z0-9]$/
.
- Constraints: The maximum length is
- type str
- Type of IBM Cloud service associated with the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- id String
- ID of the IBM Cloud service instance associated with the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-z0-9][\\-a-z0-9]*[a-z0-9]$/
.
- Constraints: The maximum length is
- type String
- Type of IBM Cloud service associated with the secret.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
CodeEngineSecretServiceAccessServiceid, CodeEngineSecretServiceAccessServiceidArgs
- Crn string
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- Id string
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Crn string
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- Id string
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn String
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id String
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn string
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id string
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn str
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id str
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn String
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id String
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
CodeEngineSecretServiceOperator, CodeEngineSecretServiceOperatorArgs
- Resource
Group List<string>Ids - The list of resource groups (by ID) that the operator secret can bind services in.
- Constraints: The list items must match regular expression
/^[a-z0-9]*$/
. The maximum length is100
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Serviceid
Code
Engine Secret Service Operator Serviceid - A reference to a Service ID. Nested schema for serviceid:
- Apikey
Id string - The ID of the apikey associated with the operator secret.
- Constraints: The maximum length is
43
characters. The minimum length is43
characters. The value must match regular expression/^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- User
Managed bool - Specifies whether the operator secret is user managed.
- Resource
Group []stringIds - The list of resource groups (by ID) that the operator secret can bind services in.
- Constraints: The list items must match regular expression
/^[a-z0-9]*$/
. The maximum length is100
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Serviceid
Code
Engine Secret Service Operator Serviceid - A reference to a Service ID. Nested schema for serviceid:
- Apikey
Id string - The ID of the apikey associated with the operator secret.
- Constraints: The maximum length is
43
characters. The minimum length is43
characters. The value must match regular expression/^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- User
Managed bool - Specifies whether the operator secret is user managed.
- resource
Group List<String>Ids - The list of resource groups (by ID) that the operator secret can bind services in.
- Constraints: The list items must match regular expression
/^[a-z0-9]*$/
. The maximum length is100
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- serviceid
Code
Engine Secret Service Operator Serviceid - A reference to a Service ID. Nested schema for serviceid:
- apikey
Id String - The ID of the apikey associated with the operator secret.
- Constraints: The maximum length is
43
characters. The minimum length is43
characters. The value must match regular expression/^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- user
Managed Boolean - Specifies whether the operator secret is user managed.
- resource
Group string[]Ids - The list of resource groups (by ID) that the operator secret can bind services in.
- Constraints: The list items must match regular expression
/^[a-z0-9]*$/
. The maximum length is100
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- serviceid
Code
Engine Secret Service Operator Serviceid - A reference to a Service ID. Nested schema for serviceid:
- apikey
Id string - The ID of the apikey associated with the operator secret.
- Constraints: The maximum length is
43
characters. The minimum length is43
characters. The value must match regular expression/^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- user
Managed boolean - Specifies whether the operator secret is user managed.
- resource_
group_ Sequence[str]ids - The list of resource groups (by ID) that the operator secret can bind services in.
- Constraints: The list items must match regular expression
/^[a-z0-9]*$/
. The maximum length is100
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- serviceid
Code
Engine Secret Service Operator Serviceid - A reference to a Service ID. Nested schema for serviceid:
- apikey_
id str - The ID of the apikey associated with the operator secret.
- Constraints: The maximum length is
43
characters. The minimum length is43
characters. The value must match regular expression/^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- user_
managed bool - Specifies whether the operator secret is user managed.
- resource
Group List<String>Ids - The list of resource groups (by ID) that the operator secret can bind services in.
- Constraints: The list items must match regular expression
/^[a-z0-9]*$/
. The maximum length is100
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- serviceid Property Map
- A reference to a Service ID. Nested schema for serviceid:
- apikey
Id String - The ID of the apikey associated with the operator secret.
- Constraints: The maximum length is
43
characters. The minimum length is43
characters. The value must match regular expression/^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- user
Managed Boolean - Specifies whether the operator secret is user managed.
CodeEngineSecretServiceOperatorServiceid, CodeEngineSecretServiceOperatorServiceidArgs
- Crn string
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- Id string
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Crn string
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- Id string
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn String
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id String
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn string
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id string
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn str
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id str
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- crn String
- CRN value of a Service ID.
- Constraints: The maximum length is
253
characters. The minimum length is0
characters. The value must match regular expression/^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/
.
- Constraints: The maximum length is
- id String
- The ID of the Service ID.
- Constraints: The maximum length is
46
characters. The minimum length is46
characters. The value must match regular expression/^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
Import
You can import the ibm_code_engine_secret
resource by using name
.
The name
property can be formed from project_id
, and name
in the following format:
<project_id>/<name>
project_id
: A string in the format15314cc3-85b4-4338-903f-c28cdee6d005
. The ID of the project.name
: A string in the formatmy-secret
. The name of the secret.
Syntax
```sh $ pulumi import ibm:index/codeEngineSecret:CodeEngineSecret code_engine_secret <project_id>/<name> ```
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.