---
title: "lean cloud object-store set"
description: "API reference for the command `lean cloud object-store set` in command line console."
canonical: https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-cloud-object-store-set
markdown: https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-cloud-object-store-set.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/05%20Lean%20CLI/99%20API%20Reference/15%20lean%20cloud%20object-store%20set
modified: 2026-10-30
index: https://www.quantconnect.com/llms.txt
---

# lean cloud object-store set

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Lean CLI](https://www.quantconnect.com/docs/v2/lean-cli.md) > [API Reference](https://www.quantconnect.com/docs/v2/lean-cli/api-reference.md) > lean cloud object-store set

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

Sets the data to the given key in the organization's cloud object store.

```
$ lean cloud object-store set [OPTIONS] KEY PATH
```

To use the CLI, you must be a member in an [organization](https://www.quantconnect.com/docs/v2/cloud-platform/organizations/tier-features.md) on a paid tier.

## Description

Uploads a local file to the organization's cloud Object Store under the given `<key>`. The `<path>` argument specifies the path to the local file to upload. If an entry with the same key already exists, it is overwritten.

To verify the upload, use [`lean cloud object-store list`](https://www.quantconnect.com/docs/v2/lean-cli/api-reference/lean-cloud-object-store-list.md) to view all available keys.

## Arguments

The `lean cloud object-store set` command expects the following arguments:

| Argument | Description |
| --- | --- |
| `<key>` | The key under which to save the file. |
| `<path>` | Path to the local file to upload. |

## Options

The `lean cloud object-store set` command supports the following options:

| Option | Description |
| --- | --- |
| `--verbose` | Enable debug logging |
| `--help` | Display the help text of the `lean cloud object-store set` command and exit |
