Skip to content

Import local SAML signing DR bundle.

POST
/api/admin/saml-settings/local-signing/dr-bundle/import
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/saml-settings/local-signing/dr-bundle/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "bundle": { "version": "saml-local-signing-dr-bundle-v1" }, "passphrase": "correct horse battery staple" }'

Decrypts and imports a local SAML signing disaster recovery bundle into the current tenant, then returns the reloaded SAML settings.

Media type application/json
object
bundle
required
object
key
additional properties
passphrase
string
Example
{
"bundle": {
"version": "saml-local-signing-dr-bundle-v1"
},
"passphrase": "correct horse battery staple"
}

Successful JSON response.

Media type application/json
object
tenantId
required
string
entityIdStyle
required
string
interactiveLoginUrlPolicy
required
string
certificateSubject
object
key
additional properties
certificateSubjectAlternativeNames
Array<string>
signingKeyPolicies
object
key
additional properties
metadata
required
object
key
additional properties
localSigning
required
object
key
additional properties
generated
required
object
issuerUrl
required
string format: uri
idpEntityId
required
string
spEntityId
required
string
idpMetadataUrl
required
string format: uri
spMetadataUrl
required
string format: uri
key
additional properties
Example
{
"tenantId": "tenant_123",
"entityIdStyle": "tenant_path",
"interactiveLoginUrlPolicy": "tenant_login_url",
"certificateSubject": {
"commonName": "Authrim SAML"
},
"certificateSubjectAlternativeNames": [],
"signingKeyPolicies": {},
"metadata": {
"publicationEnabled": true
},
"localSigning": {
"certificateSubject": {
"commonName": "Authrim SAML"
},
"certificateSubjectAlternativeNames": [],
"idpSigningKeyPolicy": {},
"spSigningKeyPolicy": {}
},
"generated": {
"issuerUrl": "https://auth.example.com",
"idpEntityId": "https://auth.example.com/saml/idp/metadata",
"spEntityId": "https://auth.example.com/saml/sp/metadata",
"idpMetadataUrl": "https://auth.example.com/saml/idp/metadata",
"spMetadataUrl": "https://auth.example.com/saml/sp/metadata"
}
}