--- title: "CreateEabCredential" slug: "security-certificatemanager-createeabcredential" updated: 2026-09-17T09:16:59Z published: 2026-09-17T09:16:59Z canonical: "api.ncloud-docs.com/security-certificatemanager-createeabcredential" --- > ## 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. # CreateEabCredential Classic/VPC 환경에서 이용 가능합니다. ACME 클라이언트 연동에 사용할 EAB(External Account Binding) 자격 증명을 발급합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /api/v2/acme/account | ### 요청 헤더 Certificate Manager API에서 공통으로 사용하는 헤더에 대한 정보는 [Certificate Manager 요청 헤더](/docs/security-certificatemanager#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `validationMode` | String | Required | 검증 모드 - `PRE` \| `DNS01` | | `certificateTypeCode` | String | Required | 인증서 타입 - `NPD_01` \| `NPO_01` | | `validityDays` | Integer | Required | 인증서 유효 기간 (일) | | `alias` | String | Required | ACME 계정 별칭 | | `organizationNo` | String | Conditional | 조직 번호 - `certificateTypeCode`가 `NPO_01`인 경우, 필수 입력 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://certificatemanager.apigw.ntruss.com/api/v2/acme/account' \ --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' \ --header 'accept: application/json' \ --data '{ "validationMode": "PRE", "certificateTypeCode": "NPD_01", "validityDays": 198, "alias": "my-acme-account" }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `returnCode` | String | - | 응답 코드 - 성공: `0` | | `returnMessage` | String | - | 응답 메시지 | | `totalRows` | Integer | - | 조회된 목록의 총 개수 | | `success` | Boolean | - | 생성 성공 여부 | | `message` | String | - | 비즈니스 메시지 | | `accountId` | Long | - | ACME 계정 ID | | `status` | String | - | 계정 상태 - `pending` \| `valid` - `pending`: EAB 발급 후 ACME 서버 등록 전 - `valid`: ACME 서버 등록 완료 | | `eabKid` | String | - | EAB Key ID | | `eabHmacKey` | String | - | EAB HMAC Key | | `acmeDirectoryUrl` | String | - | ACME 디렉터리 URL | | `eabExpireAt` | String | - | EAB 만료 일시 (ISO-8601 형식) | ### 응답 상태 코드 Certificate Manager API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Certificate Manager 응답 상태 코드](/docs/security-certificatemanager#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "returnCode": "0", "returnMessage": "SUCCESS", "totalRows": 0, "success": true, "message": "Account and EAB credentials created successfully", "accountId": 50123, "status": "pending", "eabKid": "eab_7f3c2af1b9", "eabHmacKey": "uQx2kJp3A8Yz....", "acmeDirectoryUrl": "https://ra-beta.example.com/acme/directory", "eabExpireAt": "2026-05-20T09:00:00" } ```