Files
threshold/website/content/docs/commands/scopes/list-key-version-destruction-jobs.mdx
T
Robert Main 18f469105c Deprecate website folder (#6212)
* Update website folder to indicate deprecation

Adds an alert banner to the top of all MDX files within `/website` to
indicate deprecation

* Update website README
2025-11-04 10:22:10 -05:00

42 lines
1.7 KiB
Plaintext

---
layout: docs
page_title: scopes list-key-version-destruction-jobs - Command
description: >-
The "scopes list-key-version-destruction-jobs" lists all pending key version destruction jobs within a scope 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-key-version-destruction-jobs
Command: `scopes list-key-version-destruction-jobs`
When the [key version destruction job](/boundary/docs/commands/scopes/destroy-key-version) runs, it asynchronously re-encrypts any existing data within the latest key version before it destroys the key version you selected for destruction.
The `scopes list-key-version-destruction jobs` command lists all pending key version destruction jobs within a scope.
## Example
This example lists all pending key version destruction jobs within the scope `global`:
```shell-session
$ boundary scopes list-key-version-destruction-jobs -scope-id global
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary scopes list-key-version-destruction-jobs [args]
```
</CodeBlockConfig>
### Command options
- `-scope-id=<string>` - The ID of the scope from which to list key version destruction jobs.
@include 'cmd-option-note.mdx'