ibm.CdToolchainToolSecretsmanager
Explore with Pulumi AI
Create, update, and delete cd_toolchain_tool_secretsmanagers with this resource.
See the tool integration page for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cdToolchainToolSecretsmanagerInstance = new ibm.CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerInstance", {
parameters: {
name: "sm_tool_01",
instanceIdType: "instance-crn",
instanceCrn: "crn:v1:bluemix:public:secrets-manager:us-south:a/00000000000000000000000000000000:00000000-0000-0000-0000-000000000000::",
},
toolchainId: ibm_cd_toolchain.cd_toolchain.id,
});
import pulumi
import pulumi_ibm as ibm
cd_toolchain_tool_secretsmanager_instance = ibm.CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerInstance",
parameters={
"name": "sm_tool_01",
"instance_id_type": "instance-crn",
"instance_crn": "crn:v1:bluemix:public:secrets-manager:us-south:a/00000000000000000000000000000000:00000000-0000-0000-0000-000000000000::",
},
toolchain_id=ibm_cd_toolchain["cd_toolchain"]["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.NewCdToolchainToolSecretsmanager(ctx, "cdToolchainToolSecretsmanagerInstance", &ibm.CdToolchainToolSecretsmanagerArgs{
Parameters: &ibm.CdToolchainToolSecretsmanagerParametersArgs{
Name: pulumi.String("sm_tool_01"),
InstanceIdType: pulumi.String("instance-crn"),
InstanceCrn: pulumi.String("crn:v1:bluemix:public:secrets-manager:us-south:a/00000000000000000000000000000000:00000000-0000-0000-0000-000000000000::"),
},
ToolchainId: pulumi.Any(ibm_cd_toolchain.Cd_toolchain.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 cdToolchainToolSecretsmanagerInstance = new Ibm.CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerInstance", new()
{
Parameters = new Ibm.Inputs.CdToolchainToolSecretsmanagerParametersArgs
{
Name = "sm_tool_01",
InstanceIdType = "instance-crn",
InstanceCrn = "crn:v1:bluemix:public:secrets-manager:us-south:a/00000000000000000000000000000000:00000000-0000-0000-0000-000000000000::",
},
ToolchainId = ibm_cd_toolchain.Cd_toolchain.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CdToolchainToolSecretsmanager;
import com.pulumi.ibm.CdToolchainToolSecretsmanagerArgs;
import com.pulumi.ibm.inputs.CdToolchainToolSecretsmanagerParametersArgs;
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 cdToolchainToolSecretsmanagerInstance = new CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerInstance", CdToolchainToolSecretsmanagerArgs.builder()
.parameters(CdToolchainToolSecretsmanagerParametersArgs.builder()
.name("sm_tool_01")
.instanceIdType("instance-crn")
.instanceCrn("crn:v1:bluemix:public:secrets-manager:us-south:a/00000000000000000000000000000000:00000000-0000-0000-0000-000000000000::")
.build())
.toolchainId(ibm_cd_toolchain.cd_toolchain().id())
.build());
}
}
resources:
cdToolchainToolSecretsmanagerInstance:
type: ibm:CdToolchainToolSecretsmanager
properties:
parameters:
name: sm_tool_01
instanceIdType: instance-crn
instanceCrn: 'crn:v1:bluemix:public:secrets-manager:us-south:a/00000000000000000000000000000000:00000000-0000-0000-0000-000000000000::'
toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
Create CdToolchainToolSecretsmanager Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdToolchainToolSecretsmanager(name: string, args: CdToolchainToolSecretsmanagerArgs, opts?: CustomResourceOptions);
@overload
def CdToolchainToolSecretsmanager(resource_name: str,
args: CdToolchainToolSecretsmanagerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdToolchainToolSecretsmanager(resource_name: str,
opts: Optional[ResourceOptions] = None,
parameters: Optional[CdToolchainToolSecretsmanagerParametersArgs] = None,
toolchain_id: Optional[str] = None,
cd_toolchain_tool_secretsmanager_id: Optional[str] = None,
name: Optional[str] = None)
func NewCdToolchainToolSecretsmanager(ctx *Context, name string, args CdToolchainToolSecretsmanagerArgs, opts ...ResourceOption) (*CdToolchainToolSecretsmanager, error)
public CdToolchainToolSecretsmanager(string name, CdToolchainToolSecretsmanagerArgs args, CustomResourceOptions? opts = null)
public CdToolchainToolSecretsmanager(String name, CdToolchainToolSecretsmanagerArgs args)
public CdToolchainToolSecretsmanager(String name, CdToolchainToolSecretsmanagerArgs args, CustomResourceOptions options)
type: ibm:CdToolchainToolSecretsmanager
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 CdToolchainToolSecretsmanagerArgs
- 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 CdToolchainToolSecretsmanagerArgs
- 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 CdToolchainToolSecretsmanagerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdToolchainToolSecretsmanagerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdToolchainToolSecretsmanagerArgs
- 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 cdToolchainToolSecretsmanagerResource = new Ibm.CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerResource", new()
{
Parameters = new Ibm.Inputs.CdToolchainToolSecretsmanagerParametersArgs
{
Name = "string",
InstanceCrn = "string",
InstanceIdType = "string",
InstanceName = "string",
Location = "string",
ResourceGroupName = "string",
},
ToolchainId = "string",
CdToolchainToolSecretsmanagerId = "string",
Name = "string",
});
example, err := ibm.NewCdToolchainToolSecretsmanager(ctx, "cdToolchainToolSecretsmanagerResource", &ibm.CdToolchainToolSecretsmanagerArgs{
Parameters: &ibm.CdToolchainToolSecretsmanagerParametersArgs{
Name: pulumi.String("string"),
InstanceCrn: pulumi.String("string"),
InstanceIdType: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Location: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
},
ToolchainId: pulumi.String("string"),
CdToolchainToolSecretsmanagerId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cdToolchainToolSecretsmanagerResource = new CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerResource", CdToolchainToolSecretsmanagerArgs.builder()
.parameters(CdToolchainToolSecretsmanagerParametersArgs.builder()
.name("string")
.instanceCrn("string")
.instanceIdType("string")
.instanceName("string")
.location("string")
.resourceGroupName("string")
.build())
.toolchainId("string")
.cdToolchainToolSecretsmanagerId("string")
.name("string")
.build());
cd_toolchain_tool_secretsmanager_resource = ibm.CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerResource",
parameters={
"name": "string",
"instance_crn": "string",
"instance_id_type": "string",
"instance_name": "string",
"location": "string",
"resource_group_name": "string",
},
toolchain_id="string",
cd_toolchain_tool_secretsmanager_id="string",
name="string")
const cdToolchainToolSecretsmanagerResource = new ibm.CdToolchainToolSecretsmanager("cdToolchainToolSecretsmanagerResource", {
parameters: {
name: "string",
instanceCrn: "string",
instanceIdType: "string",
instanceName: "string",
location: "string",
resourceGroupName: "string",
},
toolchainId: "string",
cdToolchainToolSecretsmanagerId: "string",
name: "string",
});
type: ibm:CdToolchainToolSecretsmanager
properties:
cdToolchainToolSecretsmanagerId: string
name: string
parameters:
instanceCrn: string
instanceIdType: string
instanceName: string
location: string
name: string
resourceGroupName: string
toolchainId: string
CdToolchainToolSecretsmanager 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 CdToolchainToolSecretsmanager resource accepts the following input properties:
- Parameters
Cd
Toolchain Tool Secretsmanager Parameters - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Cd
Toolchain stringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- Name string
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Secretsmanager Parameters Args - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Cd
Toolchain stringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- Name string
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Secretsmanager Parameters - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- cd
Toolchain StringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- name String
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Secretsmanager Parameters - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- cd
Toolchain stringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- name string
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Secretsmanager Parameters Args - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- toolchain_
id str - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- cd_
toolchain_ strtool_ secretsmanager_ id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- name str
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters Property Map
- Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- cd
Toolchain StringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- name String
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the CdToolchainToolSecretsmanager resource produces the following output properties:
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Id string
- The provider-assigned unique ID for this managed resource.
- Referents
List<Cd
Toolchain Tool Secretsmanager Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (String) Resource group where the tool is located.
- State string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At string - (String) Latest tool update timestamp.
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Id string
- The provider-assigned unique ID for this managed resource.
- Referents
[]Cd
Toolchain Tool Secretsmanager Referent - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (String) Resource group where the tool is located.
- State string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At string - (String) Latest tool update timestamp.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- id String
- The provider-assigned unique ID for this managed resource.
- referents
List<Cd
Toolchain Tool Secretsmanager Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (String) Resource group where the tool is located.
- state String
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At String - (String) Latest tool update timestamp.
- crn string
- (String) Tool CRN.
- href string
- (String) URI representing the tool.
- id string
- The provider-assigned unique ID for this managed resource.
- referents
Cd
Toolchain Tool Secretsmanager Referent[] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group stringId - (String) Resource group where the tool is located.
- state string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- updated
At string - (String) Latest tool update timestamp.
- crn str
- (String) Tool CRN.
- href str
- (String) URI representing the tool.
- id str
- The provider-assigned unique ID for this managed resource.
- referents
Sequence[Cd
Toolchain Tool Secretsmanager Referent] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource_
group_ strid - (String) Resource group where the tool is located.
- state str
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool_
id str - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain_
crn str - (String) CRN of toolchain which the tool is bound to.
- updated_
at str - (String) Latest tool update timestamp.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- id String
- The provider-assigned unique ID for this managed resource.
- referents List<Property Map>
- (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (String) Resource group where the tool is located.
- state String
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At String - (String) Latest tool update timestamp.
Look up Existing CdToolchainToolSecretsmanager Resource
Get an existing CdToolchainToolSecretsmanager 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?: CdToolchainToolSecretsmanagerState, opts?: CustomResourceOptions): CdToolchainToolSecretsmanager
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cd_toolchain_tool_secretsmanager_id: Optional[str] = None,
crn: Optional[str] = None,
href: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[CdToolchainToolSecretsmanagerParametersArgs] = None,
referents: Optional[Sequence[CdToolchainToolSecretsmanagerReferentArgs]] = None,
resource_group_id: Optional[str] = None,
state: Optional[str] = None,
tool_id: Optional[str] = None,
toolchain_crn: Optional[str] = None,
toolchain_id: Optional[str] = None,
updated_at: Optional[str] = None) -> CdToolchainToolSecretsmanager
func GetCdToolchainToolSecretsmanager(ctx *Context, name string, id IDInput, state *CdToolchainToolSecretsmanagerState, opts ...ResourceOption) (*CdToolchainToolSecretsmanager, error)
public static CdToolchainToolSecretsmanager Get(string name, Input<string> id, CdToolchainToolSecretsmanagerState? state, CustomResourceOptions? opts = null)
public static CdToolchainToolSecretsmanager get(String name, Output<String> id, CdToolchainToolSecretsmanagerState state, CustomResourceOptions options)
resources: _: type: ibm:CdToolchainToolSecretsmanager 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.
- Cd
Toolchain stringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Name string
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Secretsmanager Parameters - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- Referents
List<Cd
Toolchain Tool Secretsmanager Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (String) Resource group where the tool is located.
- State string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Updated
At string - (String) Latest tool update timestamp.
- Cd
Toolchain stringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- Crn string
- (String) Tool CRN.
- Href string
- (String) URI representing the tool.
- Name string
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Secretsmanager Parameters Args - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- Referents
[]Cd
Toolchain Tool Secretsmanager Referent Args - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (String) Resource group where the tool is located.
- State string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- Updated
At string - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- name String
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Secretsmanager Parameters - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents
List<Cd
Toolchain Tool Secretsmanager Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (String) Resource group where the tool is located.
- state String
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- updated
At String - (String) Latest tool update timestamp.
- cd
Toolchain stringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- crn string
- (String) Tool CRN.
- href string
- (String) URI representing the tool.
- name string
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Secretsmanager Parameters - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents
Cd
Toolchain Tool Secretsmanager Referent[] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group stringId - (String) Resource group where the tool is located.
- state string
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- updated
At string - (String) Latest tool update timestamp.
- cd_
toolchain_ strtool_ secretsmanager_ id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- crn str
- (String) Tool CRN.
- href str
- (String) URI representing the tool.
- name str
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Secretsmanager Parameters Args - Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents
Sequence[Cd
Toolchain Tool Secretsmanager Referent Args] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource_
group_ strid - (String) Resource group where the tool is located.
- state str
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool_
id str - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain_
crn str - (String) CRN of toolchain which the tool is bound to.
- toolchain_
id str - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- updated_
at str - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Secretsmanager Id - The unique identifier of the cd_toolchain_tool_secretsmanager.
- crn String
- (String) Tool CRN.
- href String
- (String) URI representing the tool.
- name String
- Name of the tool.
- Constraints: The maximum length is
128
characters. The minimum length is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters Property Map
- Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
- referents List<Property Map>
- (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (String) Resource group where the tool is located.
- state String
- (String) Current configuration state of the tool.
- Constraints: Allowable values are:
configured
,configuring
,misconfigured
,unconfigured
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/
.
- Constraints: The maximum length is
- updated
At String - (String) Latest tool update timestamp.
Supporting Types
CdToolchainToolSecretsmanagerParameters, CdToolchainToolSecretsmanagerParametersArgs
- Name string
- The name used to identify this tool integration. Secret references include this name to identify the secrets store where the secrets reside. All secrets store tools integrated into a toolchain should have a unique name to allow secret resolution to function properly.
- Instance
Crn string - The Secrets Manager service instance CRN (Cloud Resource Name), only relevant when using
instance-crn
as theinstance_id_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:secrets-manager:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- Instance
Id stringType - The type of service instance identifier. When absent defaults to
instance-name
.- Constraints: Allowable values are:
instance-name
,instance-crn
.
- Constraints: Allowable values are:
- Instance
Name string - The name of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- Location string
- The IBM Cloud location of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
. - Resource
Group stringName - The name of the resource group where the Secrets Manager service instance is located, only relevant when using
instance-name
as theinstance_id_type
.
- Name string
- The name used to identify this tool integration. Secret references include this name to identify the secrets store where the secrets reside. All secrets store tools integrated into a toolchain should have a unique name to allow secret resolution to function properly.
- Instance
Crn string - The Secrets Manager service instance CRN (Cloud Resource Name), only relevant when using
instance-crn
as theinstance_id_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:secrets-manager:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- Instance
Id stringType - The type of service instance identifier. When absent defaults to
instance-name
.- Constraints: Allowable values are:
instance-name
,instance-crn
.
- Constraints: Allowable values are:
- Instance
Name string - The name of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- Location string
- The IBM Cloud location of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
. - Resource
Group stringName - The name of the resource group where the Secrets Manager service instance is located, only relevant when using
instance-name
as theinstance_id_type
.
- name String
- The name used to identify this tool integration. Secret references include this name to identify the secrets store where the secrets reside. All secrets store tools integrated into a toolchain should have a unique name to allow secret resolution to function properly.
- instance
Crn String - The Secrets Manager service instance CRN (Cloud Resource Name), only relevant when using
instance-crn
as theinstance_id_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:secrets-manager:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- instance
Id StringType - The type of service instance identifier. When absent defaults to
instance-name
.- Constraints: Allowable values are:
instance-name
,instance-crn
.
- Constraints: Allowable values are:
- instance
Name String - The name of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- location String
- The IBM Cloud location of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
. - resource
Group StringName - The name of the resource group where the Secrets Manager service instance is located, only relevant when using
instance-name
as theinstance_id_type
.
- name string
- The name used to identify this tool integration. Secret references include this name to identify the secrets store where the secrets reside. All secrets store tools integrated into a toolchain should have a unique name to allow secret resolution to function properly.
- instance
Crn string - The Secrets Manager service instance CRN (Cloud Resource Name), only relevant when using
instance-crn
as theinstance_id_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:secrets-manager:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- instance
Id stringType - The type of service instance identifier. When absent defaults to
instance-name
.- Constraints: Allowable values are:
instance-name
,instance-crn
.
- Constraints: Allowable values are:
- instance
Name string - The name of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- location string
- The IBM Cloud location of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
. - resource
Group stringName - The name of the resource group where the Secrets Manager service instance is located, only relevant when using
instance-name
as theinstance_id_type
.
- name str
- The name used to identify this tool integration. Secret references include this name to identify the secrets store where the secrets reside. All secrets store tools integrated into a toolchain should have a unique name to allow secret resolution to function properly.
- instance_
crn str - The Secrets Manager service instance CRN (Cloud Resource Name), only relevant when using
instance-crn
as theinstance_id_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:secrets-manager:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- instance_
id_ strtype - The type of service instance identifier. When absent defaults to
instance-name
.- Constraints: Allowable values are:
instance-name
,instance-crn
.
- Constraints: Allowable values are:
- instance_
name str - The name of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- location str
- The IBM Cloud location of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
. - resource_
group_ strname - The name of the resource group where the Secrets Manager service instance is located, only relevant when using
instance-name
as theinstance_id_type
.
- name String
- The name used to identify this tool integration. Secret references include this name to identify the secrets store where the secrets reside. All secrets store tools integrated into a toolchain should have a unique name to allow secret resolution to function properly.
- instance
Crn String - The Secrets Manager service instance CRN (Cloud Resource Name), only relevant when using
instance-crn
as theinstance_id_type
.- Constraints: The value must match regular expression
/^crn:v1:(?:bluemix|staging):public:secrets-manager:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/
.
- Constraints: The value must match regular expression
- instance
Id StringType - The type of service instance identifier. When absent defaults to
instance-name
.- Constraints: Allowable values are:
instance-name
,instance-crn
.
- Constraints: Allowable values are:
- instance
Name String - The name of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
.- Constraints: The value must match regular expression
/\\S/
.
- Constraints: The value must match regular expression
- location String
- The IBM Cloud location of the Secrets Manager service instance, only relevant when using
instance-name
as theinstance_id_type
. - resource
Group StringName - The name of the resource group where the Secrets Manager service instance is located, only relevant when using
instance-name
as theinstance_id_type
.
CdToolchainToolSecretsmanagerReferent, CdToolchainToolSecretsmanagerReferentArgs
Import
You can import the ibm_cd_toolchain_tool_secretsmanager
resource by using id
.
The id
property can be formed from toolchain_id
, and tool_id
in the following format:
<toolchain_id>/<tool_id>
toolchain_id
: A string. ID of the toolchain to bind the tool to.tool_id
: A string. ID of the tool bound to the toolchain.
Syntax
$ pulumi import ibm:index/cdToolchainToolSecretsmanager:CdToolchainToolSecretsmanager cd_toolchain_tool_secretsmanager <toolchain_id>/<tool_id>
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.