Files
threshold/website/content/docs/commands/targets/remove-credential-sources.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

44 lines
1.5 KiB
Plaintext

---
layout: docs
page_title: targets remove-credential-sources - Command
description: >-
The "targets remove-credential-sources" removes credential sources from target resources.
---
# targets remove-credential-sources
Command: `targets remove-credential-sources`
The `targets remove-credential-sources` command lets you remove credential sources from target resources.
## Example
This example removes the brokered credential sources `clvlt_1234567890` and `clvlt_0987654321` from a TCP target with the ID `ttcp_1234567890`:
```shell-session
$ boundary targets remove-credential-sources -id ttcp_1234567890 -brokered-credential-source clvlt_1234567890 -brokered-credential-source clvlt_0987654321
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary targets remove-credential-sources [options] [args]
```
</CodeBlockConfig>
### Command options
- `-application-credential-source=<string>` - This option is deprecated.
Use `-brokered-credential-source` instead.
- `-brokered-credential-source=<string>` - The credential source you want to remove.
You may specify multiple credential sources.
- `-id=<string>` - The ID of the target you want to remove the credential source from.
- `-injected-application-credential-source=<string>` - The credential source you want to remove.
You may specify multiple credential sources.
- `-version=<int>` - The version of the target to perform the operation on.
If you do not specify a version, the command performs a check-and-set automatically.
@include 'cmd-option-note.mdx'