All Products
Search
Document Center

CloudSSO:GetExternalSAMLIdentityProvider

Last Updated:Nov 18, 2024

Queries the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).

Operation description

This topic provides an example on how to query the configurations of the SAML IdP within the directory d-00fc2p61****.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cloudsso:GetExternalSAMLIdentityProviderget
*Directory
acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DirectoryIdstringYes

The ID of the directory.

d-00fc2p61****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

96D1E5FF-0301-5636-8D33-071E033CFB82
SAMLIdentityProviderConfigurationobject

The configurations of the IdP.

EntityIdstring

The entity ID of the IdP.

http://www.okta.com/exk3qwgtjhetR2Od****
SSOStatusstring

The status of SSO logon. Valid values:

  • Enabled
  • Disabled
Enabled
DirectoryIdstring

The ID of the directory.

d-00fc2p61****
EncodedMetadataDocumentstring

The metadata file of the IdP. The value of this parameter is Base64-encoded.

PD94bWwgdmVyc2lvbj0iMS4****
CreateTimestring

The time when the IdP was configured for the first time.

2021-11-09T09:30:13Z
WantRequestSignedboolean

Indicates whether CloudSSO needs to sign SAML requests. The requests are sent when users log on to the CloudSSO user portal to initiate SAML-based SSO. Valid values:

  • true: yes
  • false: no (default)
false
UpdateTimestring

The time when the IdP configurations were last modified.

2021-11-09T09:30:22Z
CertificateIdsarray

The ID of the SAML signing certificate.

Stringstring

The ID of the SAML signing certificate.

Multiple IDs are separated by commas (,).

[ "idp-c-00s6c04my7hvv1uj****" ]
LoginUrlstring

The logon URL of the IdP.

https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml
BindingTypestring

The Binding method for initiating a SAML request. Values:

  • Post: Initiate the SAML request using the Post method.
  • Redirect: Initiate the SAML request using the Redirect method.
Post

Examples

Sample success responses

JSONformat

{
  "RequestId": "96D1E5FF-0301-5636-8D33-071E033CFB82",
  "SAMLIdentityProviderConfiguration": {
    "EntityId": "http://www.okta.com/exk3qwgtjhetR2Od****",
    "SSOStatus": "Enabled",
    "DirectoryId": "d-00fc2p61****",
    "EncodedMetadataDocument": "PD94bWwgdmVyc2lvbj0iMS4****",
    "CreateTime": "2021-11-09T09:30:13Z",
    "WantRequestSigned": false,
    "UpdateTime": "2021-11-09T09:30:22Z",
    "CertificateIds": [
      "[ \"idp-c-00s6c04my7hvv1uj****\" ]"
    ],
    "LoginUrl": "https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml",
    "BindingType": "Post"
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-08-21The response structure of the API has changedView Change Details