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:
array trustArtifacts
Nested Schema : trustArtifacts
Type:
Show Source
array
-
[0]:
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 : IdentityDomain
Type:
Show Source
object
-
consentPageURL:
string
Fully qualified URL of the customized consent page
-
customAttrs:
string
Attribute of user in IDStore to store the encrypted secretkey for TOTP
-
description:
string
-
errorPageURL:
string
Fully qualified URL of the customized error page
-
identityProvider:
string
Name of the identity store against which authentication is completed
-
name:
string
Name of the Identity Domain
-
tokenSettings:
array tokenSetting
Nested Schema : TokenSettings
Type:
Show Source
object
-
lifeCycleEnabled:
boolean
Default Value:
false
-
refreshTokenEnabled:
boolean
Default Value:
false
-
refreshTokenExpiry:
integer(int64)
-
refreshTokenLifeCycleEnabled:
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"