Search STS
  • PDF

Search STS

  • PDF

  • View a secure token service or access key for a main/sub account.
  • You can use a temporary security credential (access key, secret key) or main/sub account access key issued with Create STS.

API URL

GET /credentials

x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Main/Sub Account Access Key or STS Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

API Header

Item Description
x-ncp-apigw-timestamp This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
If the time difference compared to the API Gateway server is more than 5 minutes, then the request is considered invalid.
x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key Main/sub account access key or STS access key created
x-ncp-iam-access-key:{Main/Sub Account Access Key or STS Access Key}
x-ncp-apigw-signature-v2 The signature encrypted with access key and secret key
x-ncp-apigw-signature-v2:{API Gateway Signature}

Go to NAVER Cloud Platform authentication key and signature creation guide

Request

None

Response

  • Response
{
	"accessKey": "string",
	"keySecret": "string",
	"createTime": "string",
	"expireTime": "string",
	"useMfa": "boolean"
}
Item Type Description Remarks
accessKey string accessKey
keySecret string secretKey Provided only when querying STS
createTime string Creation date
expireTime string Expiration date Provided only when querying STS
useMfa boolean MFA authentication status Provided only when querying STS

Error

Errors that may occur while using this action are listed below.
For more information about common errors, refer to NAVER Cloud Platform API.

HTTP status code Error code Error message
404 404 Invalid or expired access key/STS

Was this article helpful?

What's Next