STS
Overview
Provides an Application Programming Interface (API) that supports programmatic use of IaaS/PaaS products provided by SCP.
This guide provides a brief description of STS service and how to call API.
The API is provided as a RESTful API, and it responds in JSON format.
Version
| Version | Status | Supported Until |
|---|
| 1.0 | CURRENT | - |
OpenAPI URL
https://sts.{environment}.samsungsdscloud.com
Environment and Region List
| environment | region |
|---|
| s | kr-west1 |
| s | kr-east1 |
| g | kr-south1 |
| g | kr-south2 |
| g | kr-south3 |
| e | kr-west1 |
| e | kr-east1 |
1.1.1 - 1.0
post /v1/assume-role
Description
Acquire temporary role credential
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.0 | - |
Parameters
Responses
| HTTP Code | Description | Schema |
|---|
| 200 | OK | StsAssumeRoleResponse |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/assume-role
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = sts 1.0"
Request body
{
"duration_seconds": "",
"role_indicator": "",
"role_session_name": ""
}
Example HTTP response
Response 200
{
"assumed_role_user": {
"assumed_role_id": "",
"srn": ""
},
"credentials": {
"access_key_id": "",
"expiration": "2026-02-11T06:44:31.554Z",
"secret_access_key": "",
"session_token": ""
}
}
1.2.1 - 1.0
post /v1/assume-role-with-saml
Description
Acquire temporary role credential from SAML Assertion
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.0 | - |
Parameters
Responses
Example HTTP request
Request path
/v1/assume-role-with-saml
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = sts 1.0"
Request body
{
"duration_seconds": "",
"principal_indicator": "",
"role_indicator": "",
"saml_assertion": ""
}
Example HTTP response
Response 200
{
"assumed_role_user": {
"assumed_role_id": "",
"srn": ""
},
"audience": "",
"credentials": {
"access_key_id": "",
"expiration": "2026-02-11T06:44:31.599Z",
"secret_access_key": "",
"session_token": ""
},
"issuer": "",
"subject": "",
"subject_type": ""
}
1.3.1 - 1.0
post /v1/object-store-authorization
Description
Create new Signature based on Session Token
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.0 | - |
Parameters
Responses
Example HTTP request
Request path
/v1/object-store-authorization
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = sts 1.0"
Request body
{
"method": "",
"region": "us-east-1",
"service": "s3",
"url": "",
"x_amz_content_sha256": "",
"x_amz_date": ""
}
Example HTTP response
Response 200