Files
threshold/website/content/docs/commands/workers/certificate-authority.mdx
T
Dan HeathandRobin Beck b442c1fa60 docs: Update meta content - CLI (#5343)
* docs: Update meta content - CLI

* docs: Edits for consistency

* docs: More edits for consistency

* Apply batch of suggestions from code review

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* Apply batch suggestions from code review

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* docs: Remove given id references

* Update read.mdx

* Update read.mdx

---------

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
2024-12-17 14:13:18 -05:00

79 lines
2.0 KiB
Plaintext

---
layout: docs
page_title: workers certificate-authority - Command
description: >-
The "workers certificate-authority" command manages the certificate authority used to authorize worker resources.
---
# workers certificate-authority
Command: `boundary workers certificate-authority`
The `boundary workers certificate-authority` command lets you manage the certificate authority used to authorize Boundary workers.
## Example
This example lets you read information about the current certificate authority:
```shell-session
$ boundary workers certificate-authority read
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary workers certificate-authority [options]
# ...
Subcommands:
read Read the certificate authority used to authorize Boundary workers.
reinitialize Reinitialize the certificate authority used to authorize Boundary workers.
```
</CodeBlockConfig>
### Usages by type
You can read or reinitialize certificate authorities.
<Tabs>
<Tab heading="Read">
The `workers certificate-authority read` command lets you read the details of the certificate authority that is used to authorize Boundary workers.
#### Usage
```shell-session
$ boundary workers certificate-authority read [options] [args]
```
#### Worker certificate authority options
- `-scope-id=<string>` - The scope in which to read the certificate authority.
The default scope is `global`.
You can also specify the scope using the **BOUNDARY_SCOPE_ID** environment variable.
</Tab>
<Tab heading="Reinitialize">
The `workers certificate-authority reinitialize` command lets you reinitialize the certificate authority that is used to authorize Boundary workers.
#### Usage
```shell-session
$ workers certificate-authority reinitialize [options] [args]
```
#### Worker certificate authority options
- `-scope-id=<string>` - The scope in which to reinitialize the certificate authority.
The default scope is `global`.
You can also specify the scope using the **BOUNDARY_SCOPE_ID** environment variable.
</Tab>
</Tabs>
@include 'cmd-option-note.mdx'