--- title: "getPodIdentityAssociation" slug: "pub-vnks-v3-pod-identity-association-getpodidentityassociation" updated: 2026-11-24T09:24:24Z published: 2026-11-24T09:24:24Z canonical: "api.ncloud-docs.com/pub-vnks-v3-pod-identity-association-getpodidentityassociation" --- > ## 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. # getPodIdentityAssociation 이 가이드는 API 명세를 기반으로 자동 생성했습니다. VPC 환경에서 이용 가능합니다. Ncloud API 표준 규격을 적용한 API입니다. Pod Identity 매핑의 상세 정보를 조회합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /vnks/v3/clusters/{clusterId}/pod-identity-associations/{podIdentityAssociationId} | ### 요청 헤더 Ncloud Kubernetes Service API에서 공통으로 사용하는 헤더에 대한 정보는 [Ncloud Kubernetes Service 요청 헤더](/docs/pub-vnks-v3-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `clusterId` | String (uuid) | Required | 클러스터 ID (UUID) - <예시> a1b2c3d4-e5f6-7890-abcd-ef1234567890 | | `podIdentityAssociationId` | String (uuid) | Required | Pod Identity 매핑 UUID - <예시> f6a7b8c9-d0e1-2345-f012-456789012345 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://kr-nks.apigw.ntruss.com/vnks/v3/clusters/a1b2c3d4-e5f6-7890-abcd-ef1234567890/pod-identity-associations/f6a7b8c9-d0e1-2345-f012-456789012345' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 헤더 응답 헤더에 대한 설명은 다음과 같습니다. | 필드 | 필수 여부 | 설명 | | --- | --- | --- | | `retry-after` | - | 재시도 권장 대기 시간(초) (429 응답) | Ncloud Kubernetes Service API에서 공통으로 사용하는 헤더에 대한 정보는 [Ncloud Kubernetes Service 응답 헤더](/docs/pub-vnks-v3-overview#%EC%9D%91%EB%8B%B5%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `podIdentityAssociation` | Object | Required | Pod Identity 매핑 - <예시> `{"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "clusterId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "namespace": "default", "serviceAccount": "my-app", "roleId": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "roleNrn": "nrn:PUB:IAM::1234567:Role/b2c3d4e5-f6a7-8901-bcde-f12345678901", "sourceIdentityId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890/default/my-app", "createdDateTime": "2026-02-24T10:00:00Z"}` | | `podIdentityAssociation.id` | String (uuid) | Required | id 값 - <예시> a1b2c3d4-e5f6-7890-abcd-ef1234567890 - (읽기 전용) | | `podIdentityAssociation.clusterId` | String (uuid) | Required | 클러스터 UUID - <예시> a1b2c3d4-e5f6-7890-abcd-ef1234567890 - (읽기 전용) | | `podIdentityAssociation.namespace` | String | Required | ServiceAccount의 네임스페이스 - <예시> default | | `podIdentityAssociation.serviceAccount` | String | Required | ServiceAccount 이름 - <예시> my-app | | `podIdentityAssociation.roleId` | String | Required | 연결된 IAM Service Role의 ID - <예시> b2c3d4e5-f6a7-8901-bcde-f12345678901 | | `podIdentityAssociation.roleNrn` | String | Required | 연결된 IAM Service Role의 NRN - <예시> nrn:PUB:IAM::1234567:Role/b2c3d4e5-f6a7-8901-bcde-f12345678901 - (읽기 전용) | | `podIdentityAssociation.sourceIdentityId` | String | Required | 이 매핑으로 발급된 임시 자격 증명에 IAM이 기록하는 출처 식별자(`{clusterId}/{namespace}/{serviceAccount}`). Role 정책의 조건으로 사용할 수 있습니다. - <예시> a1b2c3d4-e5f6-7890-abcd-ef1234567890/default/my-app - (읽기 전용) | | `podIdentityAssociation.createdDateTime` | String (date-time) | Required | 생성 일시 (UTC) - <예시> 2026-02-24T10:00:00Z - (읽기 전용) | ### 응답 상태 코드 호출에 실패하면 [기본 오류 응답](/docs/type-error-response) 형식의 응답 바디를 반환하며, 오류 코드는 `error.errorCode` 값입니다. 응답 상태 코드에 대한 설명은 다음과 같습니다. | HTTP 상태 코드 | 코드 | 메시지 | 설명 | | --- | --- | --- | --- | | 200 | - | - | Pod Identity 매핑 조회 성공 | | 400 | `InvalidParameter` | `The specified parameter is invalid.` | 경로 파라미터(UUID 형식 등) 또는 쿼리 파라미터의 형식·값이 유효하지 않습니다. 값을 고쳐 다시 요청하십시오. | | 403 | `Forbidden` | `You do not have sufficient permissions to perform this action.` | 이 Action을 수행할 권한이 없습니다. 자원 존재 여부와 무관하게 권한 검사를 먼저 수행하므로 Sub Account 정책에 해당 Action 권한이 있는지 확인하십시오. | | 404 | `ClusterNotFound` | `The cluster does not exist.` | 지정한 클러스터가 없습니다. `clusterId`를 확인하십시오. | | 404 | `PodIdentityAssociationNotFound` | `The pod identity association does not exist.` | 지정한 Pod Identity 매핑이 없습니다. `podIdentityAssociationId`를 확인하십시오. | | 502 | `BadGateway` | `The server received an invalid response from an upstream service. Retry your request later.` | NKS 내부 처리 서비스가 오류를 반환했습니다. 잠시 후 재시도하십시오. | 참고 Ncloud Kubernetes Service API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Ncloud Kubernetes Service 응답 상태 코드](/docs/pub-vnks-v3-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "podIdentityAssociation": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "clusterId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "namespace": "default", "serviceAccount": "my-app", "roleId": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "roleNrn": "nrn:PUB:IAM::1234567:Role/b2c3d4e5-f6a7-8901-bcde-f12345678901", "sourceIdentityId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890/default/my-app", "createdDateTime": "2026-02-24T10:00:00Z" } } ```