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

# blossom git_ssh_key:update

Update a Git SSH key

## Usage

    blossom git_ssh_key:update --id ID [--data DATA]

## Flags

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

Examples:

    blossom git_ssh_key:update --id git_ssh_key-100 --data '{"git_ssh_key":{"name":"github-deploy-key-renamed"}}'

Updates a Git SSH key.
