1. Packages
  2. Ibm Provider
  3. API Docs
  4. IamTrustedProfile
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.IamTrustedProfile

Explore with Pulumi AI

Create, update, and delete iam_trusted_profiles with this resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const iamTrustedProfileInstance = new ibm.IamTrustedProfile("iamTrustedProfileInstance", {});
Copy
import pulumi
import pulumi_ibm as ibm

iam_trusted_profile_instance = ibm.IamTrustedProfile("iamTrustedProfileInstance")
Copy
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.NewIamTrustedProfile(ctx, "iamTrustedProfileInstance", nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var iamTrustedProfileInstance = new Ibm.IamTrustedProfile("iamTrustedProfileInstance");

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IamTrustedProfile;
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 iamTrustedProfileInstance = new IamTrustedProfile("iamTrustedProfileInstance");

    }
}
Copy
resources:
  iamTrustedProfileInstance:
    type: ibm:IamTrustedProfile
Copy

Create IamTrustedProfile Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IamTrustedProfile(name: string, args?: IamTrustedProfileArgs, opts?: CustomResourceOptions);
@overload
def IamTrustedProfile(resource_name: str,
                      args: Optional[IamTrustedProfileArgs] = None,
                      opts: Optional[ResourceOptions] = None)

@overload
def IamTrustedProfile(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      description: Optional[str] = None,
                      iam_trusted_profile_id: Optional[str] = None,
                      name: Optional[str] = None)
func NewIamTrustedProfile(ctx *Context, name string, args *IamTrustedProfileArgs, opts ...ResourceOption) (*IamTrustedProfile, error)
public IamTrustedProfile(string name, IamTrustedProfileArgs? args = null, CustomResourceOptions? opts = null)
public IamTrustedProfile(String name, IamTrustedProfileArgs args)
public IamTrustedProfile(String name, IamTrustedProfileArgs args, CustomResourceOptions options)
type: ibm:IamTrustedProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args IamTrustedProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args IamTrustedProfileArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args IamTrustedProfileArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args IamTrustedProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IamTrustedProfileArgs
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 iamTrustedProfileResource = new Ibm.IamTrustedProfile("iamTrustedProfileResource", new()
{
    Description = "string",
    IamTrustedProfileId = "string",
    Name = "string",
});
Copy
example, err := ibm.NewIamTrustedProfile(ctx, "iamTrustedProfileResource", &ibm.IamTrustedProfileArgs{
	Description:         pulumi.String("string"),
	IamTrustedProfileId: pulumi.String("string"),
	Name:                pulumi.String("string"),
})
Copy
var iamTrustedProfileResource = new IamTrustedProfile("iamTrustedProfileResource", IamTrustedProfileArgs.builder()
    .description("string")
    .iamTrustedProfileId("string")
    .name("string")
    .build());
Copy
iam_trusted_profile_resource = ibm.IamTrustedProfile("iamTrustedProfileResource",
    description="string",
    iam_trusted_profile_id="string",
    name="string")
Copy
const iamTrustedProfileResource = new ibm.IamTrustedProfile("iamTrustedProfileResource", {
    description: "string",
    iamTrustedProfileId: "string",
    name: "string",
});
Copy
type: ibm:IamTrustedProfile
properties:
    description: string
    iamTrustedProfileId: string
    name: string
Copy

IamTrustedProfile 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 IamTrustedProfile resource accepts the following input properties:

Description string
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
IamTrustedProfileId string
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
Name string
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
Description string
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
IamTrustedProfileId string
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
Name string
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
description String
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
iamTrustedProfileId String
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
name String
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
description string
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
iamTrustedProfileId string
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
name string
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
description str
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
iam_trusted_profile_id str
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
name str
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
description String
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
iamTrustedProfileId String
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
name String
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.

Outputs

All input properties are implicitly available as output properties. Additionally, the IamTrustedProfile resource produces the following output properties:

AccountId string
ID of the account that this trusted profile belong to.
AssignmentId string
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
CreatedAt string
(String) If set contains a date time string of the creation date in ISO format.
Crn string
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
EntityTag string
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
Histories List<IamTrustedProfileHistory>
(List) History of the trusted profile. Nested schema for history:
IamId string
(String) The iam_id of this trusted profile.
Id string
The provider-assigned unique ID for this managed resource.
ImsAccountId double
(Integer) IMS acount ID of the trusted profile.
ImsUserId double
(Integer) IMS user ID of the trusted profile.
ModifiedAt string
(String) If set contains a date time string of the last modification date in ISO format.
ProfileId string
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
TemplateId string
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
AccountId string
ID of the account that this trusted profile belong to.
AssignmentId string
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
CreatedAt string
(String) If set contains a date time string of the creation date in ISO format.
Crn string
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
EntityTag string
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
Histories []IamTrustedProfileHistory
(List) History of the trusted profile. Nested schema for history:
IamId string
(String) The iam_id of this trusted profile.
Id string
The provider-assigned unique ID for this managed resource.
ImsAccountId float64
(Integer) IMS acount ID of the trusted profile.
ImsUserId float64
(Integer) IMS user ID of the trusted profile.
ModifiedAt string
(String) If set contains a date time string of the last modification date in ISO format.
ProfileId string
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
TemplateId string
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
accountId String
ID of the account that this trusted profile belong to.
assignmentId String
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
createdAt String
(String) If set contains a date time string of the creation date in ISO format.
crn String
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
entityTag String
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories List<IamTrustedProfileHistory>
(List) History of the trusted profile. Nested schema for history:
iamId String
(String) The iam_id of this trusted profile.
id String
The provider-assigned unique ID for this managed resource.
imsAccountId Double
(Integer) IMS acount ID of the trusted profile.
imsUserId Double
(Integer) IMS user ID of the trusted profile.
modifiedAt String
(String) If set contains a date time string of the last modification date in ISO format.
profileId String
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
templateId String
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
accountId string
ID of the account that this trusted profile belong to.
assignmentId string
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
createdAt string
(String) If set contains a date time string of the creation date in ISO format.
crn string
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
entityTag string
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories IamTrustedProfileHistory[]
(List) History of the trusted profile. Nested schema for history:
iamId string
(String) The iam_id of this trusted profile.
id string
The provider-assigned unique ID for this managed resource.
imsAccountId number
(Integer) IMS acount ID of the trusted profile.
imsUserId number
(Integer) IMS user ID of the trusted profile.
modifiedAt string
(String) If set contains a date time string of the last modification date in ISO format.
profileId string
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
templateId string
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
account_id str
ID of the account that this trusted profile belong to.
assignment_id str
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
created_at str
(String) If set contains a date time string of the creation date in ISO format.
crn str
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
entity_tag str
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories Sequence[IamTrustedProfileHistory]
(List) History of the trusted profile. Nested schema for history:
iam_id str
(String) The iam_id of this trusted profile.
id str
The provider-assigned unique ID for this managed resource.
ims_account_id float
(Integer) IMS acount ID of the trusted profile.
ims_user_id float
(Integer) IMS user ID of the trusted profile.
modified_at str
(String) If set contains a date time string of the last modification date in ISO format.
profile_id str
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
template_id str
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
accountId String
ID of the account that this trusted profile belong to.
assignmentId String
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
createdAt String
(String) If set contains a date time string of the creation date in ISO format.
crn String
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
entityTag String
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories List<Property Map>
(List) History of the trusted profile. Nested schema for history:
iamId String
(String) The iam_id of this trusted profile.
id String
The provider-assigned unique ID for this managed resource.
imsAccountId Number
(Integer) IMS acount ID of the trusted profile.
imsUserId Number
(Integer) IMS user ID of the trusted profile.
modifiedAt String
(String) If set contains a date time string of the last modification date in ISO format.
profileId String
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
templateId String
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.

Look up Existing IamTrustedProfile Resource

Get an existing IamTrustedProfile 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?: IamTrustedProfileState, opts?: CustomResourceOptions): IamTrustedProfile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        assignment_id: Optional[str] = None,
        created_at: Optional[str] = None,
        crn: Optional[str] = None,
        description: Optional[str] = None,
        entity_tag: Optional[str] = None,
        histories: Optional[Sequence[IamTrustedProfileHistoryArgs]] = None,
        iam_id: Optional[str] = None,
        iam_trusted_profile_id: Optional[str] = None,
        ims_account_id: Optional[float] = None,
        ims_user_id: Optional[float] = None,
        modified_at: Optional[str] = None,
        name: Optional[str] = None,
        profile_id: Optional[str] = None,
        template_id: Optional[str] = None) -> IamTrustedProfile
func GetIamTrustedProfile(ctx *Context, name string, id IDInput, state *IamTrustedProfileState, opts ...ResourceOption) (*IamTrustedProfile, error)
public static IamTrustedProfile Get(string name, Input<string> id, IamTrustedProfileState? state, CustomResourceOptions? opts = null)
public static IamTrustedProfile get(String name, Output<String> id, IamTrustedProfileState state, CustomResourceOptions options)
resources:  _:    type: ibm:IamTrustedProfile    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AccountId string
ID of the account that this trusted profile belong to.
AssignmentId string
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
CreatedAt string
(String) If set contains a date time string of the creation date in ISO format.
Crn string
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
Description string
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
EntityTag string
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
Histories List<IamTrustedProfileHistory>
(List) History of the trusted profile. Nested schema for history:
IamId string
(String) The iam_id of this trusted profile.
IamTrustedProfileId string
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
ImsAccountId double
(Integer) IMS acount ID of the trusted profile.
ImsUserId double
(Integer) IMS user ID of the trusted profile.
ModifiedAt string
(String) If set contains a date time string of the last modification date in ISO format.
Name string
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
ProfileId string
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
TemplateId string
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
AccountId string
ID of the account that this trusted profile belong to.
AssignmentId string
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
CreatedAt string
(String) If set contains a date time string of the creation date in ISO format.
Crn string
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
Description string
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
EntityTag string
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
Histories []IamTrustedProfileHistoryArgs
(List) History of the trusted profile. Nested schema for history:
IamId string
(String) The iam_id of this trusted profile.
IamTrustedProfileId string
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
ImsAccountId float64
(Integer) IMS acount ID of the trusted profile.
ImsUserId float64
(Integer) IMS user ID of the trusted profile.
ModifiedAt string
(String) If set contains a date time string of the last modification date in ISO format.
Name string
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
ProfileId string
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
TemplateId string
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
accountId String
ID of the account that this trusted profile belong to.
assignmentId String
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
createdAt String
(String) If set contains a date time string of the creation date in ISO format.
crn String
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
description String
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
entityTag String
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories List<IamTrustedProfileHistory>
(List) History of the trusted profile. Nested schema for history:
iamId String
(String) The iam_id of this trusted profile.
iamTrustedProfileId String
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
imsAccountId Double
(Integer) IMS acount ID of the trusted profile.
imsUserId Double
(Integer) IMS user ID of the trusted profile.
modifiedAt String
(String) If set contains a date time string of the last modification date in ISO format.
name String
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
profileId String
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
templateId String
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
accountId string
ID of the account that this trusted profile belong to.
assignmentId string
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
createdAt string
(String) If set contains a date time string of the creation date in ISO format.
crn string
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
description string
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
entityTag string
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories IamTrustedProfileHistory[]
(List) History of the trusted profile. Nested schema for history:
iamId string
(String) The iam_id of this trusted profile.
iamTrustedProfileId string
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
imsAccountId number
(Integer) IMS acount ID of the trusted profile.
imsUserId number
(Integer) IMS user ID of the trusted profile.
modifiedAt string
(String) If set contains a date time string of the last modification date in ISO format.
name string
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
profileId string
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
templateId string
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
account_id str
ID of the account that this trusted profile belong to.
assignment_id str
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
created_at str
(String) If set contains a date time string of the creation date in ISO format.
crn str
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
description str
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
entity_tag str
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories Sequence[IamTrustedProfileHistoryArgs]
(List) History of the trusted profile. Nested schema for history:
iam_id str
(String) The iam_id of this trusted profile.
iam_trusted_profile_id str
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
ims_account_id float
(Integer) IMS acount ID of the trusted profile.
ims_user_id float
(Integer) IMS user ID of the trusted profile.
modified_at str
(String) If set contains a date time string of the last modification date in ISO format.
name str
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
profile_id str
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
template_id str
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
accountId String
ID of the account that this trusted profile belong to.
assignmentId String
(String) ID of the assignment that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.
createdAt String
(String) If set contains a date time string of the creation date in ISO format.
crn String
(String) Cloud Resource Name of the item. Example Cloud Resource Name: 'crn:v1:bluemix:public:iam-identity:us-south:a/myaccount::profile:Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
description String
The optional description of the trusted profile. The 'description' property is only available if a description was provided during a create of a trusted profile.
entityTag String
(String) Version of the trusted profile details object. You need to specify this value when updating the trusted profile to avoid stale updates.
histories List<Property Map>
(List) History of the trusted profile. Nested schema for history:
iamId String
(String) The iam_id of this trusted profile.
iamTrustedProfileId String
(String) the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
imsAccountId Number
(Integer) IMS acount ID of the trusted profile.
imsUserId Number
(Integer) IMS user ID of the trusted profile.
modifiedAt String
(String) If set contains a date time string of the last modification date in ISO format.
name String
Name of the trusted profile. The name is checked for uniqueness. Therefore trusted profiles with the same names can not exist in the same account.
profileId String
the unique identifier of the trusted profile. Example:'Profile-94497d0d-2ac3-41bf-a993-a49d1b14627c'.
templateId String
(String) ID of the IAM template that was used to create an enterprise-managed trusted profile in your account. When returned, this indicates that the trusted profile is created from and managed by a template in the root enterprise account.

Supporting Types

IamTrustedProfileHistory
, IamTrustedProfileHistoryArgs

Action This property is required. string
(String) Action of the history entry.
IamId This property is required. string
(String) The iam_id of this trusted profile.
IamIdAccount This property is required. string
(String) Account of the identity which triggered the action.
Message This property is required. string
(String) Message which summarizes the executed action.
Params This property is required. List<string>
(List) Params of the history entry.
Timestamp This property is required. string
(String) Timestamp when the action was triggered.
Action This property is required. string
(String) Action of the history entry.
IamId This property is required. string
(String) The iam_id of this trusted profile.
IamIdAccount This property is required. string
(String) Account of the identity which triggered the action.
Message This property is required. string
(String) Message which summarizes the executed action.
Params This property is required. []string
(List) Params of the history entry.
Timestamp This property is required. string
(String) Timestamp when the action was triggered.
action This property is required. String
(String) Action of the history entry.
iamId This property is required. String
(String) The iam_id of this trusted profile.
iamIdAccount This property is required. String
(String) Account of the identity which triggered the action.
message This property is required. String
(String) Message which summarizes the executed action.
params This property is required. List<String>
(List) Params of the history entry.
timestamp This property is required. String
(String) Timestamp when the action was triggered.
action This property is required. string
(String) Action of the history entry.
iamId This property is required. string
(String) The iam_id of this trusted profile.
iamIdAccount This property is required. string
(String) Account of the identity which triggered the action.
message This property is required. string
(String) Message which summarizes the executed action.
params This property is required. string[]
(List) Params of the history entry.
timestamp This property is required. string
(String) Timestamp when the action was triggered.
action This property is required. str
(String) Action of the history entry.
iam_id This property is required. str
(String) The iam_id of this trusted profile.
iam_id_account This property is required. str
(String) Account of the identity which triggered the action.
message This property is required. str
(String) Message which summarizes the executed action.
params This property is required. Sequence[str]
(List) Params of the history entry.
timestamp This property is required. str
(String) Timestamp when the action was triggered.
action This property is required. String
(String) Action of the history entry.
iamId This property is required. String
(String) The iam_id of this trusted profile.
iamIdAccount This property is required. String
(String) Account of the identity which triggered the action.
message This property is required. String
(String) Message which summarizes the executed action.
params This property is required. List<String>
(List) Params of the history entry.
timestamp This property is required. String
(String) Timestamp when the action was triggered.

Import

You can import the ibm_iam_trusted_profile resource by using profile_id. ID of the account that this trusted profile belong to.

Syntax

```sh
$ pulumi import ibm:index/iamTrustedProfile:IamTrustedProfile iam_trusted_profile <account_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.