> ## Documentation Index
> Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create

> Create a new SSH Certificate Authority




## OpenAPI

````yaml https://raw.githubusercontent.com/ngrok/ngrok-openapi/refs/heads/main/ngrok.yaml post /ssh_certificate_authorities
openapi: 3.0.0
info:
  title: ngrok OpenAPI
  version: 1.0.0
servers:
  - url: https://api.ngrok.com
security:
  - authentication: []
paths:
  /ssh_certificate_authorities:
    post:
      tags:
        - SSHCertificateAuthorities
      summary: Create
      description: |
        Create a new SSH Certificate Authority
      operationId: SshCertificateAuthoritiesCreate
      parameters:
        - $ref: '#/components/parameters/ngrokVersion'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SSHCertificateAuthorityCreate'
      responses:
        '201':
          description: |
            Create a new SSH Certificate Authority
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SSHCertificateAuthority'
components:
  parameters:
    ngrokVersion:
      name: ngrok-version
      in: header
      required: true
      schema:
        type: integer
        default: 2
  schemas:
    SSHCertificateAuthorityCreate:
      type: object
      properties:
        description:
          description: >
            human-readable description of this SSH Certificate Authority.
            optional, max 255 bytes.
          type: string
        metadata:
          description: >
            arbitrary user-defined machine-readable data of this SSH Certificate
            Authority. optional, max 4096 bytes.
          type: string
        private_key_type:
          description: >
            the type of private key to generate. one of `rsa`, `ecdsa`,
            `ed25519`
          type: string
        elliptic_curve:
          description: |
            the type of elliptic curve to use when creating an ECDSA key
          type: string
        key_size:
          description: >
            the key size to use when creating an RSA key. one of `2048` or
            `4096`
          type: integer
    SSHCertificateAuthority:
      type: object
      properties:
        id:
          description: |
            unique identifier for this SSH Certificate Authority
          type: string
        uri:
          description: |
            URI of the SSH Certificate Authority API resource
          type: string
        created_at:
          description: >
            timestamp when the SSH Certificate Authority API resource was
            created, RFC 3339 format
          type: string
        description:
          description: >
            human-readable description of this SSH Certificate Authority.
            optional, max 255 bytes.
          type: string
        metadata:
          description: >
            arbitrary user-defined machine-readable data of this SSH Certificate
            Authority. optional, max 4096 bytes.
          type: string
        public_key:
          description: |
            raw public key for this SSH Certificate Authority
          type: string
        key_type:
          description: |
            the type of private key for this SSH Certificate Authority
          type: string
  securitySchemes:
    authentication:
      type: http
      scheme: bearer

````