Skip to content

Commit

Permalink
chore: Update cloud-secrets-manager command in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
h0n9 committed May 8, 2024
1 parent 8e2f32e commit 851cee3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Cloud Secrets Manager can be installed via Homebrew:
$ brew install h0n9/devops/cloud-secrets-manager
```

That's it! You can now use the `cloud-secrets-manager` command.
That's it! You can now use the `cloud-secrets-manager`, or `csm` commands.

> For `aws-vault` users, you can use the following command to execute the
`cloud-secrets-manager` command with the specified AWS profile:
Expand All @@ -148,7 +148,7 @@ $ aws-vault exec <profile> -- cloud-secrets-manager <command>
#### List Secrets

```bash
$ cloud-secrets-manager secrets list --provider aws --limit 3
$ csm secrets list --provider aws --limit 3
dev/hello-world
dev/very-precious-secret
dev/another-secret
Expand All @@ -158,7 +158,7 @@ The `--limit` option is available to limit the number of secrets to be listed.
#### Edit Secret

```bash
$ cloud-secrets-manager secrets edit --provider aws --secret-id dev/very-precious-secret
$ csm secrets edit --provider aws --secret-id dev/very-precious-secret
```

A text editor will be opened with the secret value. After editing, save and
Expand All @@ -169,5 +169,5 @@ If you want to use a specific editor, set the `EDITOR` environment variable.

```bash
$ export EDITOR=nano
$ cloud-secrets-manager secrets edit --provider aws --secret-id dev/very-precious-secret
$ csm secrets edit --provider aws --secret-id dev/very-precious-secret
```

0 comments on commit 851cee3

Please sign in to comment.