---
title: blossom cloud_provider:init
url: "/docs/reference/cli/cloud_provider/init/"
canonical_url: https://docs.blossom88.com/docs/reference/cli/cloud_provider/init/
markdown_url: https://docs.blossom88.com/docs/reference/cli/cloud_provider/init.md
summary: Create a starter cloud_provider.yml
categories:
- cli
- reference
---

# blossom cloud_provider:init

Create a starter cloud_provider.yml

## Usage

    blossom cloud_provider:init [--type TYPE] [--force]

## Flags

| Flag | Description |
| --- | --- |
| `--type` | Cloud provider type |
| `--force, -f` | Overwrite an existing starter file |

Examples:

    blossom cloud_provider:init --type hetzner

cloud_provider.yml:

```yaml
cloud_provider:
  name: hetzner-production
  provider: hetzner
  credentials:
    api_token: REPLACE_ME
```

Creates a starter cloud provider payload file at cloud_provider.yml by default.
The default type is `hetzner`. Edit the file with your provider credentials,
then create the cloud provider:

    blossom cloud_provider:create --data cloud_provider.yml

Run `blossom cloud_provider:types` to see provider keys, required fields, and
which providers can be created from the CLI. Some providers use browser
authorization and should be added from the Blossom web UI.
