You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/website/content/docs/commands/credentials/read.mdx

71 lines
1.5 KiB

---
layout: docs
page_title: credentials read - Command
description: >-
The "credentials read" command retrieves the details of an existing credential resource.
---
# credentials read
Command: `boundary credentials read`
The `credentials read` command retrieves information about a credential with a specified ID.
## Examples
The following example retrieves credential information for a credential with the ID `credup_29IUJANN59`:
```shell-session
$ boundary credentials read -id credup_29IUJANN59
```
**Example output:**
<CodeBlockConfig hideClipboard>
```plaintext
Credential information:
Created Time: Tue, 22 Aug 2023 18:26:06 PDT
Credential Store ID: csst_5GGWwRngd7
ID: credup_29IUJANN59
Name: tester
Type: username_password
Updated Time: Tue, 22 Aug 2023 18:26:06 PDT
Version: 1
Scope:
ID: p_1zMlAwGHtH
Name: quick-start-project
Parent Scope ID: o_R0wbo0H6Zl
Type: project
Authorized Actions:
no-op
read
update
delete
Attributes:
Password HMAC: bXhHJHgaGz6fpolEpQPd0azcICSgmbVuSLfyhJhmqJY
Username: tester
```
</CodeBlockConfig>
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary credentials read [options] [args]
```
</CodeBlockConfig>
### Command options
- `-id` `(string: "")` - The ID of the credential for which you want to retrieve information.
@include 'cmd-option-note.mdx'