All Products
Search
Document Center

Enterprise Distributed Application Service:GetPackageStorageCredential

Last Updated:Mar 01, 2024

Queries the Security Token Service (STS) tokens that are required for temporary storage.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /pop/v5/package_storage_credential

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The content that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The message that is returned.

success
RequestIdstring

The ID of the request.

b197-40ab-9155-****
Credentialobject

The STS credential.

KeyPrefixstring

The object key prefix in Object Storage Service (OSS).

release-pkg/117274586608****
SecurityTokenstring

The security token issued by STS.

<yourSecurityToken>
AccessKeySecretstring

The AccessKey secret of your account.

<yourAccessKeySecret>
Expirationstring

The time when the STS credential expires. Example: 2019-11-10T07:20:19Z.

2019-11-10T07:20:19Z
AccessKeyIdstring

The AccessKey ID of your account.

<yourAccessKeyId>
Bucketstring

The name of the OSS bucket.

edas-bj
RegionIdstring

The ID of the region.

cn-beijing
OssPublicEndpointstring

The public endpoint of OSS.

oss-cn-beijing.aliyuncs.com
OssInternalEndpointstring

The private endpoint of OSS.

oss-cn-beijing-internal.aliyuncs.com
OssVpcEndpointstring

The VPC endpoint of OSS.

oss-cn-beijing-internal.aliyuncs.com

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "b197-40ab-9155-****",
  "Credential": {
    "KeyPrefix": "release-pkg/117274586608****",
    "SecurityToken": "<yourSecurityToken>",
    "AccessKeySecret": "<yourAccessKeySecret>",
    "Expiration": "2019-11-10T07:20:19Z",
    "AccessKeyId": "<yourAccessKeyId>",
    "Bucket": "edas-bj",
    "RegionId": "cn-beijing",
    "OssPublicEndpoint": "oss-cn-beijing.aliyuncs.com",
    "OssInternalEndpoint": "oss-cn-beijing-internal.aliyuncs.com",
    "OssVpcEndpoint": "oss-cn-beijing-internal.aliyuncs.com"
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history