CreateIdentityProvider
POST {{baseUrl}}/identityProviders/
Deprecated. For more information, see Deprecated IAM Service APIs.
Creates a new identity provider in your tenancy. For more information, see Identity Providers and Federation.
You must specify your tenancy's OCID as the compartment ID in the request object. Remember that the tenancy is simply the root compartment. For information about OCIDs, see Resource Identifiers.
You must also specify a name for the IdentityProvider
, which must be unique
across all IdentityProvider
objects in your tenancy and cannot be changed.
You must also specify a description for the IdentityProvider
(although
it can be an empty string). It does not have to be unique, and you can change
it anytime with
UpdateIdentityProvider.
After you send your request, the new object's lifecycleState
will temporarily
be CREATING. Before using the object, first make sure its lifecycleState
has
changed to ACTIVE.
Request Body
{"name"=>"in Duis ad", "compartmentId"=>"{{tenancy_ocid}}", "productType"=>"IDCS", "description"=>"proident elit quis", "protocol"=>"SAML2"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations (e.g., if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
may be rejected). | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"id":"Duis cillum","compartmentId":"exercitation in qui","name":"enim","description":"sit","productType":"sed dolore","timeCreated":"1982-01-16T07:30:04.742Z","lifecycleState":"ACTIVE","protocol":"dolore proident cillum","definedTags":{},"freeformTags":{},"inactiveStatus":5053290}