---
title: blossom cloud_storage_provider:update
url: "/docs/reference/cli/cloud_storage_provider/update/"
canonical_url: https://docs.blossom88.com/docs/reference/cli/cloud_storage_provider/update/
markdown_url: https://docs.blossom88.com/docs/reference/cli/cloud_storage_provider/update.md
summary: Update a cloud storage provider
categories:
- cli
- reference
---

# blossom cloud_storage_provider:update

Update a cloud storage provider

## Usage

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

## Flags

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

Examples:

    blossom cloud_storage_provider:update --id cloud_storage_provider-100 --data cloud_storage_provider.yml
    blossom cloud_storage_provider:update --id cloud_storage_provider-100 -d '{"cloud_storage_provider":{"name":"production-backups"}}'

Mutable fields live under `cloud_storage_provider` in `--data`. The provider
type is immutable; omit `cloud_storage_provider.provider_type` from update data.

Do not include `cloud_storage_provider.id` in the data file. The id belongs in
`--id`; the payload only describes fields to change.

Credential updates replace the submitted credential fields. Use environment
variable substitution in YAML files for secrets; see `blossom help:data`.
