--- title: "認証情報所有者の照会" slug: "get-caller-identity" updated: 2026-09-17T09:58:05Z published: 2026-09-17T09:58:05Z canonical: "api.ncloud-docs.com/get-caller-identity" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 認証情報所有者の照会 Classic/VPC環境で利用できます。 Access Keyの所有者を照会します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET | /api/v1/caller-identity | ### リクエストヘッダ Secure Token Service APIで共通して使用されるヘッダの詳細は、[Secure Token Serviceのリクエストヘッダ](/docs/ja/management-sts#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request GET 'https://sts.apigw.ntruss.com/api/v1/caller-identity' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `id` | String | - | Access Key所有者の固有 ID | | `loginAlias` | String | - | Access Key所有者のアクセスページ URL | | `userType` | String | - | Access Key所有者のタイプ - `Customer` \| `Sub` \| `Role` - `Customer`: メインアカウント - `Sub`: サブアカウント - `Role`: ロール切り替えした仮認証情報 | ### レスポンスステータスコード Secure Token Service APIで共通して使用されるレスポンスステータスコードの詳細は、[Secure Token Serviceのレスポンスステータスコード](/docs/ja/management-sts#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "id": "e***-e***-1***-8***-2***", "loginAlias": "test1010", "userType": "Sub" } ```