Update examples to use sha256 (#5468)

sha_256 is supported but not referenced in our API docs.
This commit is contained in:
Jim Kalafut 2018-10-04 09:51:54 -07:00 committed by GitHub
parent b39b944c0d
commit 238a93d23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ supplied name.
```json
{
"sha_256": "d130b9a0fbfddef9709d8ff92e5e6053ccd246b78632fc03b8548457026961e9",
"sha256": "d130b9a0fbfddef9709d8ff92e5e6053ccd246b78632fc03b8548457026961e9",
"command": "mysql-database-plugin"
}
```

View File

@ -178,7 +178,7 @@ for your server at `path/to/plugins`:
```text
$ vault write sys/plugins/catalog/azure-auth \
command="vault-plugin-auth-azure" \
sha_256="..."
sha256="..."
```
1. Enable the azure auth method as a plugin:

View File

@ -73,7 +73,7 @@ An example plugin submission looks like:
```
$ vault write sys/plugins/catalog/myplugin-database-plugin \
sha_256=<expected SHA256 Hex value of the plugin binary> \
sha256=<expected SHA256 Hex value of the plugin binary> \
command="myplugin"
Success! Data written to: sys/plugins/catalog/myplugin-database-plugin
```

View File

@ -102,7 +102,7 @@ this your token will need sudo permissions.
```text
$ vault write sys/plugins/catalog/myplugin-database-plugin \
sha_256="..." \
sha256="..." \
command="myplugin"
Success! Data written to: sys/plugins/catalog/myplugin-database-plugin
```

View File

@ -49,7 +49,7 @@ you will need to enable ipc_lock capabilities for the plugin binary.
```text
$ vault write sys/plugins/catalog/oracle-database-plugin \
sha_256="..." \
sha256="..." \
command=vault-plugin-database-oracle
```

View File

@ -70,7 +70,7 @@ $ shasum -a 256 /etc/vault/vault_plugins/my-mock-plugin
2c071aafa1b30897e60b79643e77592cb9d1e8f803025d44a7f9bbfa4779d615 /etc/vault/vault_plugins/my-mock-plugin
$ vault write sys/plugins/catalog/my-mock-plugin \
sha_256=2c071aafa1b30897e60b79643e77592cb9d1e8f803025d44a7f9bbfa4779d615 \
sha256=2c071aafa1b30897e60b79643e77592cb9d1e8f803025d44a7f9bbfa4779d615 \
command=my-mock-plugin
Success! Data written to: sys/plugins/catalog/my-mock-plugin
```