oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.Identity.DomainsMyOauth2clientCredential

This resource provides the My O Auth2 Client Credential resource in Oracle Cloud Infrastructure Identity Domains service.

Add a user’s oauth2 client credential

Example Usage

Coming soon!

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Identity.DomainsMyOauth2clientCredential;
import com.pulumi.oci.Identity.DomainsMyOauth2clientCredentialArgs;
import com.pulumi.oci.Identity.inputs.DomainsMyOauth2clientCredentialScopeArgs;
import com.pulumi.oci.Identity.inputs.DomainsMyOauth2clientCredentialTagArgs;
import com.pulumi.oci.Identity.inputs.DomainsMyOauth2clientCredentialUserArgs;
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 testMyOauth2clientCredential = new DomainsMyOauth2clientCredential("testMyOauth2clientCredential", DomainsMyOauth2clientCredentialArgs.builder()        
            .idcsEndpoint(data.oci_identity_domain().test_domain().url())
            .schemas("urn:ietf:params:scim:schemas:oracle:idcs:oauth2ClientCredential")
            .scopes(DomainsMyOauth2clientCredentialScopeArgs.builder()
                .audience(var_.my_oauth2client_credential_scopes_audience())
                .scope(var_.my_oauth2client_credential_scopes_scope())
                .build())
            .authorization(var_.my_oauth2client_credential_authorization())
            .description(var_.my_oauth2client_credential_description())
            .expiresOn(var_.my_oauth2client_credential_expires_on())
            .id(var_.my_oauth2client_credential_id())
            .isResetSecret(var_.my_oauth2client_credential_is_reset_secret())
            .ocid(var_.my_oauth2client_credential_ocid())
            .resourceTypeSchemaVersion(var_.my_oauth2client_credential_resource_type_schema_version())
            .status(var_.my_oauth2client_credential_status())
            .tags(DomainsMyOauth2clientCredentialTagArgs.builder()
                .key(var_.my_oauth2client_credential_tags_key())
                .value(var_.my_oauth2client_credential_tags_value())
                .build())
            .user(DomainsMyOauth2clientCredentialUserArgs.builder()
                .ocid(var_.my_oauth2client_credential_user_ocid())
                .value(var_.my_oauth2client_credential_user_value())
                .build())
            .build());

    }
}

Coming soon!

Coming soon!

resources:
  testMyOauth2clientCredential:
    type: oci:Identity:DomainsMyOauth2clientCredential
    properties:
      #Required
      idcsEndpoint: ${data.oci_identity_domain.test_domain.url}
      schemas:
        - urn:ietf:params:scim:schemas:oracle:idcs:oauth2ClientCredential
      scopes:
        - audience: ${var.my_oauth2client_credential_scopes_audience}
          scope: ${var.my_oauth2client_credential_scopes_scope}
      #Optional
      authorization: ${var.my_oauth2client_credential_authorization}
      description: ${var.my_oauth2client_credential_description}
      expiresOn: ${var.my_oauth2client_credential_expires_on}
      id: ${var.my_oauth2client_credential_id}
      isResetSecret: ${var.my_oauth2client_credential_is_reset_secret}
      ocid: ${var.my_oauth2client_credential_ocid}
      resourceTypeSchemaVersion: ${var.my_oauth2client_credential_resource_type_schema_version}
      status: ${var.my_oauth2client_credential_status}
      tags:
        - key: ${var.my_oauth2client_credential_tags_key}
          value: ${var.my_oauth2client_credential_tags_value}
      user:
        ocid: ${var.my_oauth2client_credential_user_ocid}
        value: ${var.my_oauth2client_credential_user_value}

Create DomainsMyOauth2clientCredential Resource

new DomainsMyOauth2clientCredential(name: string, args: DomainsMyOauth2clientCredentialArgs, opts?: CustomResourceOptions);
@overload
def DomainsMyOauth2clientCredential(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    authorization: Optional[str] = None,
                                    description: Optional[str] = None,
                                    expires_on: Optional[str] = None,
                                    idcs_endpoint: Optional[str] = None,
                                    is_reset_secret: Optional[bool] = None,
                                    name: Optional[str] = None,
                                    ocid: Optional[str] = None,
                                    resource_type_schema_version: Optional[str] = None,
                                    schemas: Optional[Sequence[str]] = None,
                                    scopes: Optional[Sequence[_identity.DomainsMyOauth2clientCredentialScopeArgs]] = None,
                                    status: Optional[str] = None,
                                    tags: Optional[Sequence[_identity.DomainsMyOauth2clientCredentialTagArgs]] = None,
                                    user: Optional[_identity.DomainsMyOauth2clientCredentialUserArgs] = None)
@overload
def DomainsMyOauth2clientCredential(resource_name: str,
                                    args: DomainsMyOauth2clientCredentialArgs,
                                    opts: Optional[ResourceOptions] = None)
func NewDomainsMyOauth2clientCredential(ctx *Context, name string, args DomainsMyOauth2clientCredentialArgs, opts ...ResourceOption) (*DomainsMyOauth2clientCredential, error)
public DomainsMyOauth2clientCredential(string name, DomainsMyOauth2clientCredentialArgs args, CustomResourceOptions? opts = null)
public DomainsMyOauth2clientCredential(String name, DomainsMyOauth2clientCredentialArgs args)
public DomainsMyOauth2clientCredential(String name, DomainsMyOauth2clientCredentialArgs args, CustomResourceOptions options)
type: oci:Identity:DomainsMyOauth2clientCredential
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DomainsMyOauth2clientCredentialArgs
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 DomainsMyOauth2clientCredentialArgs
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 DomainsMyOauth2clientCredentialArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DomainsMyOauth2clientCredentialArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DomainsMyOauth2clientCredentialArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DomainsMyOauth2clientCredential Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DomainsMyOauth2clientCredential resource accepts the following input properties:

IdcsEndpoint string

The basic endpoint for the identity domain

Schemas List<string>

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

Scopes List<DomainsMyOauth2clientCredentialScopeArgs>

Scopes

Authorization string

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

Description string

Description

ExpiresOn string

User credential expires on

IsResetSecret bool

Specifies if secret need to be reset

Name string

(Updatable) User name

Ocid string

User's ocid

ResourceTypeSchemaVersion string

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

Status string

User credential status

Tags List<DomainsMyOauth2clientCredentialTagArgs>

A list of tags on this resource.

User DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

IdcsEndpoint string

The basic endpoint for the identity domain

Schemas []string

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

Scopes []DomainsMyOauth2clientCredentialScopeArgs

Scopes

Authorization string

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

Description string

Description

ExpiresOn string

User credential expires on

IsResetSecret bool

Specifies if secret need to be reset

Name string

(Updatable) User name

Ocid string

User's ocid

ResourceTypeSchemaVersion string

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

Status string

User credential status

Tags []DomainsMyOauth2clientCredentialTagArgs

A list of tags on this resource.

User DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

idcsEndpoint String

The basic endpoint for the identity domain

schemas List<String>

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes List<DomainsMyOauth2clientCredentialScopeArgs>

Scopes

authorization String

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

description String

Description

expiresOn String

User credential expires on

isResetSecret Boolean

Specifies if secret need to be reset

name String

(Updatable) User name

ocid String

User's ocid

resourceTypeSchemaVersion String

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

status String

User credential status

tags List<DomainsMyOauth2clientCredentialTagArgs>

A list of tags on this resource.

user DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

idcsEndpoint string

The basic endpoint for the identity domain

schemas string[]

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes DomainsMyOauth2clientCredentialScopeArgs[]

Scopes

authorization string

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

description string

Description

expiresOn string

User credential expires on

isResetSecret boolean

Specifies if secret need to be reset

name string

(Updatable) User name

ocid string

User's ocid

resourceTypeSchemaVersion string

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

status string

User credential status

tags DomainsMyOauth2clientCredentialTagArgs[]

A list of tags on this resource.

user DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

idcs_endpoint str

The basic endpoint for the identity domain

schemas Sequence[str]

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes DomainsMyOauth2clientCredentialScopeArgs]

Scopes

authorization str

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

description str

Description

expires_on str

User credential expires on

is_reset_secret bool

Specifies if secret need to be reset

name str

(Updatable) User name

ocid str

User's ocid

resource_type_schema_version str

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

status str

User credential status

tags DomainsMyOauth2clientCredentialTagArgs]

A list of tags on this resource.

user DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

idcsEndpoint String

The basic endpoint for the identity domain

schemas List<String>

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes List<Property Map>

Scopes

authorization String

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

description String

Description

expiresOn String

User credential expires on

isResetSecret Boolean

Specifies if secret need to be reset

name String

(Updatable) User name

ocid String

User's ocid

resourceTypeSchemaVersion String

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

status String

User credential status

tags List<Property Map>

A list of tags on this resource.

user Property Map

User linked to oauth2 client credential

Outputs

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

CompartmentOcid string

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

DeleteInProgress bool

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

DomainOcid string

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

Id string

The provider-assigned unique ID for this managed resource.

IdcsCreatedBies List<DomainsMyOauth2clientCredentialIdcsCreatedBy>

(Updatable) The User or App who created the Resource

IdcsLastModifiedBies List<DomainsMyOauth2clientCredentialIdcsLastModifiedBy>

(Updatable) The User or App who modified the Resource

IdcsLastUpgradedInRelease string

(Updatable) The release number when the resource was upgraded.

IdcsPreventedOperations List<string>

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

Metas List<DomainsMyOauth2clientCredentialMeta>

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

TenancyOcid string

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

CompartmentOcid string

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

DeleteInProgress bool

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

DomainOcid string

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

Id string

The provider-assigned unique ID for this managed resource.

IdcsCreatedBies []DomainsMyOauth2clientCredentialIdcsCreatedBy

(Updatable) The User or App who created the Resource

IdcsLastModifiedBies []DomainsMyOauth2clientCredentialIdcsLastModifiedBy

(Updatable) The User or App who modified the Resource

IdcsLastUpgradedInRelease string

(Updatable) The release number when the resource was upgraded.

IdcsPreventedOperations []string

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

Metas []DomainsMyOauth2clientCredentialMeta

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

TenancyOcid string

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

compartmentOcid String

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

deleteInProgress Boolean

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

domainOcid String

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

id String

The provider-assigned unique ID for this managed resource.

idcsCreatedBies List<DomainsMyOauth2clientCredentialIdcsCreatedBy>

(Updatable) The User or App who created the Resource

idcsLastModifiedBies List<DomainsMyOauth2clientCredentialIdcsLastModifiedBy>

(Updatable) The User or App who modified the Resource

idcsLastUpgradedInRelease String

(Updatable) The release number when the resource was upgraded.

idcsPreventedOperations List<String>

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

metas List<DomainsMyOauth2clientCredentialMeta>

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

tenancyOcid String

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

compartmentOcid string

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

deleteInProgress boolean

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

domainOcid string

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

id string

The provider-assigned unique ID for this managed resource.

idcsCreatedBies DomainsMyOauth2clientCredentialIdcsCreatedBy[]

(Updatable) The User or App who created the Resource

idcsLastModifiedBies DomainsMyOauth2clientCredentialIdcsLastModifiedBy[]

(Updatable) The User or App who modified the Resource

idcsLastUpgradedInRelease string

(Updatable) The release number when the resource was upgraded.

idcsPreventedOperations string[]

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

metas DomainsMyOauth2clientCredentialMeta[]

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

tenancyOcid string

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

compartment_ocid str

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

delete_in_progress bool

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

domain_ocid str

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

id str

The provider-assigned unique ID for this managed resource.

idcs_created_bies DomainsMyOauth2clientCredentialIdcsCreatedBy]

(Updatable) The User or App who created the Resource

idcs_last_modified_bies DomainsMyOauth2clientCredentialIdcsLastModifiedBy]

(Updatable) The User or App who modified the Resource

idcs_last_upgraded_in_release str

(Updatable) The release number when the resource was upgraded.

idcs_prevented_operations Sequence[str]

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

metas DomainsMyOauth2clientCredentialMeta]

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

tenancy_ocid str

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

compartmentOcid String

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

deleteInProgress Boolean

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

domainOcid String

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

id String

The provider-assigned unique ID for this managed resource.

idcsCreatedBies List<Property Map>

(Updatable) The User or App who created the Resource

idcsLastModifiedBies List<Property Map>

(Updatable) The User or App who modified the Resource

idcsLastUpgradedInRelease String

(Updatable) The release number when the resource was upgraded.

idcsPreventedOperations List<String>

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

metas List<Property Map>

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

tenancyOcid String

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

Look up Existing DomainsMyOauth2clientCredential Resource

Get an existing DomainsMyOauth2clientCredential 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?: DomainsMyOauth2clientCredentialState, opts?: CustomResourceOptions): DomainsMyOauth2clientCredential
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authorization: Optional[str] = None,
        compartment_ocid: Optional[str] = None,
        delete_in_progress: Optional[bool] = None,
        description: Optional[str] = None,
        domain_ocid: Optional[str] = None,
        expires_on: Optional[str] = None,
        idcs_created_bies: Optional[Sequence[_identity.DomainsMyOauth2clientCredentialIdcsCreatedByArgs]] = None,
        idcs_endpoint: Optional[str] = None,
        idcs_last_modified_bies: Optional[Sequence[_identity.DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs]] = None,
        idcs_last_upgraded_in_release: Optional[str] = None,
        idcs_prevented_operations: Optional[Sequence[str]] = None,
        is_reset_secret: Optional[bool] = None,
        metas: Optional[Sequence[_identity.DomainsMyOauth2clientCredentialMetaArgs]] = None,
        name: Optional[str] = None,
        ocid: Optional[str] = None,
        resource_type_schema_version: Optional[str] = None,
        schemas: Optional[Sequence[str]] = None,
        scopes: Optional[Sequence[_identity.DomainsMyOauth2clientCredentialScopeArgs]] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[_identity.DomainsMyOauth2clientCredentialTagArgs]] = None,
        tenancy_ocid: Optional[str] = None,
        user: Optional[_identity.DomainsMyOauth2clientCredentialUserArgs] = None) -> DomainsMyOauth2clientCredential
func GetDomainsMyOauth2clientCredential(ctx *Context, name string, id IDInput, state *DomainsMyOauth2clientCredentialState, opts ...ResourceOption) (*DomainsMyOauth2clientCredential, error)
public static DomainsMyOauth2clientCredential Get(string name, Input<string> id, DomainsMyOauth2clientCredentialState? state, CustomResourceOptions? opts = null)
public static DomainsMyOauth2clientCredential get(String name, Output<String> id, DomainsMyOauth2clientCredentialState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
Authorization string

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

CompartmentOcid string

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

DeleteInProgress bool

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

Description string

Description

DomainOcid string

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

ExpiresOn string

User credential expires on

IdcsCreatedBies List<DomainsMyOauth2clientCredentialIdcsCreatedByArgs>

(Updatable) The User or App who created the Resource

IdcsEndpoint string

The basic endpoint for the identity domain

IdcsLastModifiedBies List<DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs>

(Updatable) The User or App who modified the Resource

IdcsLastUpgradedInRelease string

(Updatable) The release number when the resource was upgraded.

IdcsPreventedOperations List<string>

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

IsResetSecret bool

Specifies if secret need to be reset

Metas List<DomainsMyOauth2clientCredentialMetaArgs>

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

Name string

(Updatable) User name

Ocid string

User's ocid

ResourceTypeSchemaVersion string

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

Schemas List<string>

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

Scopes List<DomainsMyOauth2clientCredentialScopeArgs>

Scopes

Status string

User credential status

Tags List<DomainsMyOauth2clientCredentialTagArgs>

A list of tags on this resource.

TenancyOcid string

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

User DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

Authorization string

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

CompartmentOcid string

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

DeleteInProgress bool

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

Description string

Description

DomainOcid string

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

ExpiresOn string

User credential expires on

IdcsCreatedBies []DomainsMyOauth2clientCredentialIdcsCreatedByArgs

(Updatable) The User or App who created the Resource

IdcsEndpoint string

The basic endpoint for the identity domain

IdcsLastModifiedBies []DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs

(Updatable) The User or App who modified the Resource

IdcsLastUpgradedInRelease string

(Updatable) The release number when the resource was upgraded.

IdcsPreventedOperations []string

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

IsResetSecret bool

Specifies if secret need to be reset

Metas []DomainsMyOauth2clientCredentialMetaArgs

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

Name string

(Updatable) User name

Ocid string

User's ocid

ResourceTypeSchemaVersion string

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

Schemas []string

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

Scopes []DomainsMyOauth2clientCredentialScopeArgs

Scopes

Status string

User credential status

Tags []DomainsMyOauth2clientCredentialTagArgs

A list of tags on this resource.

TenancyOcid string

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

User DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

authorization String

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

compartmentOcid String

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

deleteInProgress Boolean

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

description String

Description

domainOcid String

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

expiresOn String

User credential expires on

idcsCreatedBies List<DomainsMyOauth2clientCredentialIdcsCreatedByArgs>

(Updatable) The User or App who created the Resource

idcsEndpoint String

The basic endpoint for the identity domain

idcsLastModifiedBies List<DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs>

(Updatable) The User or App who modified the Resource

idcsLastUpgradedInRelease String

(Updatable) The release number when the resource was upgraded.

idcsPreventedOperations List<String>

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

isResetSecret Boolean

Specifies if secret need to be reset

metas List<DomainsMyOauth2clientCredentialMetaArgs>

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

name String

(Updatable) User name

ocid String

User's ocid

resourceTypeSchemaVersion String

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

schemas List<String>

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes List<DomainsMyOauth2clientCredentialScopeArgs>

Scopes

status String

User credential status

tags List<DomainsMyOauth2clientCredentialTagArgs>

A list of tags on this resource.

tenancyOcid String

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

user DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

authorization string

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

compartmentOcid string

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

deleteInProgress boolean

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

description string

Description

domainOcid string

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

expiresOn string

User credential expires on

idcsCreatedBies DomainsMyOauth2clientCredentialIdcsCreatedByArgs[]

(Updatable) The User or App who created the Resource

idcsEndpoint string

The basic endpoint for the identity domain

idcsLastModifiedBies DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs[]

(Updatable) The User or App who modified the Resource

idcsLastUpgradedInRelease string

(Updatable) The release number when the resource was upgraded.

idcsPreventedOperations string[]

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

isResetSecret boolean

Specifies if secret need to be reset

metas DomainsMyOauth2clientCredentialMetaArgs[]

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

name string

(Updatable) User name

ocid string

User's ocid

resourceTypeSchemaVersion string

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

schemas string[]

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes DomainsMyOauth2clientCredentialScopeArgs[]

Scopes

status string

User credential status

tags DomainsMyOauth2clientCredentialTagArgs[]

A list of tags on this resource.

tenancyOcid string

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

user DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

authorization str

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

compartment_ocid str

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

delete_in_progress bool

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

description str

Description

domain_ocid str

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

expires_on str

User credential expires on

idcs_created_bies DomainsMyOauth2clientCredentialIdcsCreatedByArgs]

(Updatable) The User or App who created the Resource

idcs_endpoint str

The basic endpoint for the identity domain

idcs_last_modified_bies DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs]

(Updatable) The User or App who modified the Resource

idcs_last_upgraded_in_release str

(Updatable) The release number when the resource was upgraded.

idcs_prevented_operations Sequence[str]

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

is_reset_secret bool

Specifies if secret need to be reset

metas DomainsMyOauth2clientCredentialMetaArgs]

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

name str

(Updatable) User name

ocid str

User's ocid

resource_type_schema_version str

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

schemas Sequence[str]

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes DomainsMyOauth2clientCredentialScopeArgs]

Scopes

status str

User credential status

tags DomainsMyOauth2clientCredentialTagArgs]

A list of tags on this resource.

tenancy_ocid str

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

user DomainsMyOauth2clientCredentialUserArgs

User linked to oauth2 client credential

authorization String

The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.

compartmentOcid String

(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.

deleteInProgress Boolean

(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

description String

Description

domainOcid String

(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.

expiresOn String

User credential expires on

idcsCreatedBies List<Property Map>

(Updatable) The User or App who created the Resource

idcsEndpoint String

The basic endpoint for the identity domain

idcsLastModifiedBies List<Property Map>

(Updatable) The User or App who modified the Resource

idcsLastUpgradedInRelease String

(Updatable) The release number when the resource was upgraded.

idcsPreventedOperations List<String>

(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

isResetSecret Boolean

Specifies if secret need to be reset

metas List<Property Map>

(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.

name String

(Updatable) User name

ocid String

User's ocid

resourceTypeSchemaVersion String

An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.

schemas List<String>

REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard "enterprise" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

scopes List<Property Map>

Scopes

status String

User credential status

tags List<Property Map>

A list of tags on this resource.

tenancyOcid String

(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.

user Property Map

User linked to oauth2 client credential

Supporting Types

DomainsMyOauth2clientCredentialIdcsCreatedBy

Value string

User's id

Display string

(Updatable) User display name

Ocid string

User's ocid

Ref string

(Updatable) The URI that corresponds to the user linked to this credential

Type string

The type of resource, User or App, that modified this Resource

Value string

User's id

Display string

(Updatable) User display name

Ocid string

User's ocid

Ref string

(Updatable) The URI that corresponds to the user linked to this credential

Type string

The type of resource, User or App, that modified this Resource

value String

User's id

display String

(Updatable) User display name

ocid String

User's ocid

ref String

(Updatable) The URI that corresponds to the user linked to this credential

type String

The type of resource, User or App, that modified this Resource

value string

User's id

display string

(Updatable) User display name

ocid string

User's ocid

ref string

(Updatable) The URI that corresponds to the user linked to this credential

type string

The type of resource, User or App, that modified this Resource

value str

User's id

display str

(Updatable) User display name

ocid str

User's ocid

ref str

(Updatable) The URI that corresponds to the user linked to this credential

type str

The type of resource, User or App, that modified this Resource

value String

User's id

display String

(Updatable) User display name

ocid String

User's ocid

ref String

(Updatable) The URI that corresponds to the user linked to this credential

type String

The type of resource, User or App, that modified this Resource

DomainsMyOauth2clientCredentialIdcsLastModifiedBy

Value string

User's id

Display string

(Updatable) User display name

Ocid string

User's ocid

Ref string

(Updatable) The URI that corresponds to the user linked to this credential

Type string

The type of resource, User or App, that modified this Resource

Value string

User's id

Display string

(Updatable) User display name

Ocid string

User's ocid

Ref string

(Updatable) The URI that corresponds to the user linked to this credential

Type string

The type of resource, User or App, that modified this Resource

value String

User's id

display String

(Updatable) User display name

ocid String

User's ocid

ref String

(Updatable) The URI that corresponds to the user linked to this credential

type String

The type of resource, User or App, that modified this Resource

value string

User's id

display string

(Updatable) User display name

ocid string

User's ocid

ref string

(Updatable) The URI that corresponds to the user linked to this credential

type string

The type of resource, User or App, that modified this Resource

value str

User's id

display str

(Updatable) User display name

ocid str

User's ocid

ref str

(Updatable) The URI that corresponds to the user linked to this credential

type str

The type of resource, User or App, that modified this Resource

value String

User's id

display String

(Updatable) User display name

ocid String

User's ocid

ref String

(Updatable) The URI that corresponds to the user linked to this credential

type String

The type of resource, User or App, that modified this Resource

DomainsMyOauth2clientCredentialMeta

Created string

The DateTime the Resource was added to the Service Provider

LastModified string

The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.

Location string

The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.

ResourceType string

Name of the resource type of the resource--for example, Users or Groups

Version string

The version of the Resource being returned. This value must be the same as the ETag HTTP response header.

Created string

The DateTime the Resource was added to the Service Provider

LastModified string

The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.

Location string

The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.

ResourceType string

Name of the resource type of the resource--for example, Users or Groups

Version string

The version of the Resource being returned. This value must be the same as the ETag HTTP response header.

created String

The DateTime the Resource was added to the Service Provider

lastModified String

The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.

location String

The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.

resourceType String

Name of the resource type of the resource--for example, Users or Groups

version String

The version of the Resource being returned. This value must be the same as the ETag HTTP response header.

created string

The DateTime the Resource was added to the Service Provider

lastModified string

The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.

location string

The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.

resourceType string

Name of the resource type of the resource--for example, Users or Groups

version string

The version of the Resource being returned. This value must be the same as the ETag HTTP response header.

created str

The DateTime the Resource was added to the Service Provider

last_modified str

The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.

location str

The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.

resource_type str

Name of the resource type of the resource--for example, Users or Groups

version str

The version of the Resource being returned. This value must be the same as the ETag HTTP response header.

created String

The DateTime the Resource was added to the Service Provider

lastModified String

The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.

location String

The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.

resourceType String

Name of the resource type of the resource--for example, Users or Groups

version String

The version of the Resource being returned. This value must be the same as the ETag HTTP response header.

DomainsMyOauth2clientCredentialScope

Audience string

Audience

Scope string

Scope

Audience string

Audience

Scope string

Scope

audience String

Audience

scope String

Scope

audience string

Audience

scope string

Scope

audience str

Audience

scope str

Scope

audience String

Audience

scope String

Scope

DomainsMyOauth2clientCredentialTag

Key string

Key or name of the tag.

Value string

User's id

Key string

Key or name of the tag.

Value string

User's id

key String

Key or name of the tag.

value String

User's id

key string

Key or name of the tag.

value string

User's id

key str

Key or name of the tag.

value str

User's id

key String

Key or name of the tag.

value String

User's id

DomainsMyOauth2clientCredentialUser

Display string

(Updatable) User display name

Name string

(Updatable) User name

Ocid string

User's ocid

Ref string

(Updatable) The URI that corresponds to the user linked to this credential

Value string

User's id

Display string

(Updatable) User display name

Name string

(Updatable) User name

Ocid string

User's ocid

Ref string

(Updatable) The URI that corresponds to the user linked to this credential

Value string

User's id

display String

(Updatable) User display name

name String

(Updatable) User name

ocid String

User's ocid

ref String

(Updatable) The URI that corresponds to the user linked to this credential

value String

User's id

display string

(Updatable) User display name

name string

(Updatable) User name

ocid string

User's ocid

ref string

(Updatable) The URI that corresponds to the user linked to this credential

value string

User's id

display str

(Updatable) User display name

name str

(Updatable) User name

ocid str

User's ocid

ref str

(Updatable) The URI that corresponds to the user linked to this credential

value str

User's id

display String

(Updatable) User display name

name String

(Updatable) User name

ocid String

User's ocid

ref String

(Updatable) The URI that corresponds to the user linked to this credential

value String

User's id

Import

MyOAuth2ClientCredentials can be imported using the id, e.g.

 $ pulumi import oci:Identity/domainsMyOauth2clientCredential:DomainsMyOauth2clientCredential test_my_oauth2client_credential "idcsEndpoint/{idcsEndpoint}/myOAuth2ClientCredentials/{myOAuth2ClientCredentialId}"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.