---
layout: docs
page_title: scopes list-keys - Command
description: >-
The "scopes list-keys" command lists the available keys within a scope or resource.
---
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
> [!IMPORTANT]
> **Documentation Update:** Product documentation previously located in `/website` has moved to the [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs) repository, where all product documentation is now centralized. Please make contributions directly to `web-unified-docs`, since changes to `/website` in this repository will not appear on developer.hashicorp.com.
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
# scopes list-keys
Command: `boundary scopes list-keys`
The `boundary scopes list-keys` command lets you list the keys within a given scope or resource.
## Example
This example lists all keys within the scope `s_1234567890`:
```shell-session
$ boundary scopes list-keys -scope-id s_1234567890
```
## Usage
```shell-session
$ boundary scopes list-keys [args]
```
### Command options
- `-scope-id=` - The ID of the enclosing scope from which to list the keys.
@include 'cmd-option-note.mdx'