---
title: blossom git_ssh_key:create
url: "/docs/reference/cli/git_ssh_key/create/"
canonical_url: https://docs.blossom88.com/docs/reference/cli/git_ssh_key/create/
markdown_url: https://docs.blossom88.com/docs/reference/cli/git_ssh_key/create.md
summary: Create a Git SSH key
categories:
- cli
- reference
---

# blossom git_ssh_key:create

Create a Git SSH key

## Usage

    blossom git_ssh_key:create [--data DATA]

## Flags

| Flag | Description |
| --- | --- |
| `--data, -d` | YAML or JSON data, a path to a data file, or an HTTP(S) URL |

Examples:

    blossom git_ssh_key:init
    blossom git_ssh_key:create --data git_ssh_key.yml
    blossom git_ssh_key:create -d '{"git_ssh_key":{"name":"github-deploy-key"}}'

Creates a Git SSH key for private Git repository access. Blossom generates the
key pair and stores the private key securely.

```yaml
git_ssh_key:
  name: github-deploy-key
```
