---
title: "Space Keys"
description: "Space Keys are used to create Spaces where your team works together"
canonical_url: "https://docs.pairspaces.com/spaces/overview/keys"
markdown_url: "https://docs.pairspaces.com/spaces/overview/keys.md"
content_type: "documentation"
---

# Space Keys

Space Keys are used to create Spaces where your team works together

## What are Space Keys?

Space Keys are permissions that the PairSpaces CLI uses to create Spaces. A Space Key can be used to create an unlimited number of Spaces from any environment, e.g., a cloud platform, a DevContainer, or your local machine.

## Creating Keys

You can create Space Keys using the PairSpaces CLI and running `pair keys create`, selecting an Organization, and choosing the team members who can access Spaces:

### Linux, macOS, and Windows (WSL)

```sh
pair keys create

Select the Organization to work with.
↑/↓ to move, space to select, enter to confirm, q to cancel.
                                                
  1 item
                                                
> [ ] Dynamic Org

  ↑/k up • ↓/j down • / filter • q quit • ? more
Press q to cancel.
```

### Windows PowerShell

```powershell
pair.exe keys create

Select the Organization to work with.
↑/↓ to move, space to select, enter to confirm, q to cancel.
                                                
  1 item
                                                
> [ ] Dynamic Org

  ↑/k up • ↓/j down • / filter • q quit • ? more
Press q to cancel.
```

### Linux, macOS, and Windows (WSL)

```sh
Select users to share your Space with.
↑/↓ to move, space to select, enter to confirm, q to cancel.
                                                
  2 items                                       
                                                
> [ ] bob@pairspaces.com
  [ ] charlie@pairspaces.com

  ↑/k up • ↓/j down • / filter • q quit • ? more
Press q to cancel.
```

### Windows PowerShell

```powershell
Select users to share your Space with.
↑/↓ to move, space to select, enter to confirm, q to cancel.
                                                
  2 items                                       
                                                
> [ ] bob@pairspaces.com
  [ ] charlie@pairspaces.com

  ↑/k up • ↓/j down • / filter • q quit • ? more
Press q to cancel.
```

### Linux, macOS, and Windows (WSL)

```sh
Your Space Key is ready. Store this key securely — it cannot be retrieved from PairSpaces.

Live key: ps_live_7ATuLopVXIx_...
```

### Windows PowerShell

```powershell
Your Space Key is ready. Store this key securely — it cannot be retrieved from PairSpaces.

Live key: ps_live_7ATuLopVXIx_...
```

**Note** PairSpaces does not keep a copy of your Space Keys.
