--- title: "Ncloud Single Sign-On 메타데이터 조회" slug: "get-sp-metadata" updated: 2026-09-17T09:16:35Z published: 2026-09-17T09:16:35Z canonical: "api.ncloud-docs.com/get-sp-metadata" --- > ## 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. # Ncloud Single Sign-On 메타데이터 조회 Classic/VPC 환경에서 이용 가능합니다. Ncloud Single Sign-On의 메타데이터를 조회합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /api/v1/tenant/saml-idp/sp-metadata | ### 요청 헤더 Ncloud Single Sign-On API에서 공통으로 사용하는 헤더에 대한 정보는 [Ncloud Single Sign-On 요청 헤더](/docs/single-sign-on-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://sso.apigw.ntruss.com/api/v1/tenant/saml-idp/sp-metadata' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `EntityDescriptor.xmlns:md` | String | - | XML namespace 정보 - `urn:oasis:names:tc:SAML:2.0:metadata` (유효 값) | | `EntityDescriptor.ID` | String | - | Entity Descriptor의 고유 식별자 | | `EntityDescriptor.entityID` | String | - | SP 엔티티의 고유 식별자 | | `EntityDescriptor.SPSSODescriptor.AuthnRequestsSigned` | Boolean | - | AuthnRequest에 서명 여부 - `true` \| `false` - `true`: 서명 - `false`: 서명 안 함 | | `EntityDescriptor.SPSSODescriptor.WantAssertionsSigned` | Boolean | - | Assertion에 서명 여부 - `true` \| `false` - `true`: 서명 - `false`: 서명 안 함 | | `EntityDescriptor.SPSSODescriptor.protocolSupportEnumeration` | String | - | 지원 프로토콜 - `urn:oasis:names:tc:SAML:2.0:protocol` (유효 값) | | `EntityDescriptor.SPSSODescriptor.KeyDescriptor.use` | String | - | 인증서 용도 - `signing` (유효 값) | | `EntityDescriptor.SPSSODescriptor.KeyDescriptor.KeyInfo.xmlns:ds` | String | - | KeyInfo namespace 정보 - `http://www.w3.org/2000/09/xmldsig#` (유효 값) | | `EntityDescriptor.SPSSODescriptor.KeyDescriptor.KeyInfo.X509Data.X509Certificate` | String | - | IdP 서명용 X.509 인증서 | | `EntityDescriptor.SPSSODescriptor.NameIDFormat` | String | - | 지원 NameID 형식 - `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress` (유효 값) | | `EntityDescriptor.SPSSODescriptor.AssertionConsumerService.Binding` | String | - | SAML 로그인 시 프로토콜 바인딩 정보 - `urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST` \| `urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect` - `urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST`: HTTP-POST 방식 - `urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect`: HTTP-Redirect 방식 | | `EntityDescriptor.SPSSODescriptor.AssertionConsumerService.Location` | String | - | 바인딩 프로토콜에 매핑되는 SAML 로그인 URL | | `EntityDescriptor.SPSSODescriptor.AssertionConsumerService.index` | String | - | SAML 로그인 시 프로토콜 바인딩 서비스의 인덱스 | ### 응답 상태 코드 Ncloud Single Sign-On API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Ncloud Single Sign-On 응답 상태 코드](/docs/single-sign-on-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` MII******************vkhgLE= urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress ```