﻿---
title: stack kb elastic-agent-binary-download-sources post-fleet-agent-download-sources cli command
description: Create an agent binary download source Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/tree/main/cli/stack/kb/elastic-agent-binary-download-sources/post-fleet-agent-download-sources
---

# stack kb elastic-agent-binary-download-sources post-fleet-agent-download-sources cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb elastic-agent-binary-download-sources post-fleet-agent-download-sources \
  --host <host> \
  --name <name> \
  [options]
```

Create an agent binary download source
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--host string required">
  </definition>
  <definition term="--name string required">
  </definition>
  <definition term="--auth string">
  </definition>
  <definition term="--id string">
  </definition>
  <definition term="--is-default">
  </definition>
  <definition term="--proxy-id string">
    The ID of the proxy to use for this download source. See the proxies API for more information.
  </definition>
  <definition term="--secrets string">
  </definition>
  <definition term="--ssl string">
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>