Skip to content

Commit e8a2982

Browse files
committed
Docs: Add instructions to enable plugin in vault
1 parent 1486a04 commit e8a2982

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@ Client credentials grant is used by clients to obtain an access token outside of
88

99
## Usage
1010

11-
Download plugin's binary and [register the plugin with Vault](https://www.vaultproject.io/docs/internals/plugins.html#plugin-registration). We will assume it is registered under the name
11+
Download plugin's binary and [register the plugin with Vault](https://www.vaultproject.io/docs/internals/plugins.html#plugin-registration).
12+
Usually you register the plugin with the following commands.
13+
14+
```console
15+
$ vault write sys/plugins/catalog/secret/oauthapp \
16+
sha256=<calculated_sha256_hash> \
17+
command=vault-plugin-secrets-oauth-client-credentials
18+
```
19+
20+
We will assume it is registered under the name
1221
`oauthapp`.
1322

1423
Mount the plugin at the path of your choosing:

0 commit comments

Comments
 (0)