Add a new trust artifact under an Identity Domain
post
/oam/services/rest/ssa/api/v1/oauthpolicyadmin/trustartifacts
Request
Supported Media Types
- application/json
- application/xml
Trust Artifacts that needs to be created under an Identity Domain
Root Schema : IDDomainTrustArtifact
Type:
Show Source
object
-
identityDomainName:
string
Name of the Identity Domain under which the trust artifacts are being imported
-
trustArtifacts(optional):
array trustArtifacts
Nested Schema : trustArtifacts
Type:
Show Source
array
-
Array of:
object TrustArtifactSettings
Trust artifacts added under an identity domain
Nested Schema : TrustArtifactSettings
Type:
object
Trust artifacts added under an identity domain
Show Source
-
artifactIdentifer:
string
Key Identifier of the Trust Artifact that is imported under the Identity Domain
-
artifactValue:
string
Base64 encoded public certificate value
Response
Supported Media Types
- application/json
200 Response
Sucessfully created entity - OAuthIdentityDomainTrustArtifact, detail
Root Schema : IdentityDomainResponse
Type:
Show Source
object
-
consentPageURL(optional):
string
Fully qualified URL of the customized consent page
-
description(optional):
string
-
errorPageURL(optional):
string
Fully qualified URL of the customized error page
-
identityProvider(optional):
string
Name of the identity store against which authentication is completed
-
name:
string
Name of the Identity Domain
-
tokenSettings(optional):
array tokenSetting
-
trustStoreIdentifier(optional):
array trustStoreIdentifier
Nested Schema : TokenSettings
Type:
Show Source
object
-
lifeCycleEnabled(optional):
boolean
Default Value:
false
-
refreshTokenEnabled:
boolean
Default Value:
false
-
refreshTokenExpiry:
integer(int64)
-
refreshTokenLifeCycleEnabled(optional):
boolean
Default Value:
false
-
tokenExpiry:
integer(int64)
-
tokenType:
string
Allowed Values:
[ "ACCESS_TOKEN", "AUTHZ_CODE", "SSO_LINK_TOKEN" ]
Type of the token
422 Response
Failed to modify OAuth entity "IdentityDomain" - name "NameofIdentityDomain"