# create

## Usage

```bash
bdy artifact create|add [options] [name]
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `name` | Artifact name (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-i, --identifier <identifier>` | Artifact identifier (auto-generated from name if omitted) |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `-p, --project <name>` | Project name. Can be set via variable: BUDDY_PROJECT |
| `-t, --type <type>` | Artifact type: "BUCKET" or "CONTAINER" (default: "BUCKET") |
| `-b, --buddy` | Enforce HTTP Buddy authorization |
| `-a, --auth <user:pass>` | Enforce HTTP basic authorization |
| `-h, --help` | display help for command |

## Examples

### Create file artifact with name

```bash
bdy art create test
```

### Create file artifact with buddy authorization and identifier

```bash
bdy art create test -b -i artifact-identifier
```

### Create file artifact with basic authorization

```bash
bdy art create -a user:pass
```

### Create docker containers artifact

```bash
bdy art create registry -t CONTAINER
```


---
Original source: https://buddy.works/docs/cli/artifact/create