typo fixes
parent
3a03c1f387
commit
d3ca08d7cd
@ -26,7 +26,7 @@ The connector currently supports four authorization methods.
|
|||||||
.withId("token-id")
|
.withId("token-id")
|
||||||
.withDisplayName("token name")
|
.withDisplayName("token name")
|
||||||
.build();
|
.build();
|
||||||
// Write token to Vault (orphan creatin and role binding possible).
|
// Write token to Vault (orphan creation and role binding possible).
|
||||||
AuthResponse createResponse = connector.createToken(token);
|
AuthResponse createResponse = connector.createToken(token);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
### Connection
|
### Connection
|
||||||
|
|
||||||
The package features an HTTP connector by default.
|
The package features an HTTP connector by default.
|
||||||
To establish connection to your Vault cluter, the connector needs to be instantiated with the relevant parameters.
|
To establish connection to your Vault cluster, the connector needs to be instantiated with the relevant parameters.
|
||||||
|
|
||||||
To do so, use the builder to configure your connector.
|
To do so, use the builder to configure your connector.
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ For internal sites or to enforce a specific CA you might provide a custom CA cer
|
|||||||
|
|
||||||
#### Configuration from environment variables
|
#### Configuration from environment variables
|
||||||
|
|
||||||
It is also possible to provide the configuraiton externally through environment variables.
|
It is also possible to provide the configuration externally through environment variables.
|
||||||
This feature supports the default Vault environment variables:
|
This feature supports the default Vault environment variables:
|
||||||
|
|
||||||
* `VAULT_ADDR` - URL to Vault cluster (e.g. _https://vault.example.com:8200_)
|
* `VAULT_ADDR` - URL to Vault cluster (e.g. _https://vault.example.com:8200_)
|
||||||
|
@ -62,7 +62,7 @@ Several common features have been abstracted to reduce overhead code.
|
|||||||
// Update metadata to maximum Versions 10 and enforce CAS.
|
// Update metadata to maximum Versions 10 and enforce CAS.
|
||||||
connector.updateSecretMetadata("mount", "to/write", 10, true);
|
connector.updateSecretMetadata("mount", "to/write", 10, true);
|
||||||
|
|
||||||
// Delete specifc secret version(s). undelete...() and destroy...() also available.
|
// Delete specific secret version(s). undelete...() and destroy...() also available.
|
||||||
connector.deleteSecretVersions("mount", "to/delete", 1, 2, 4);
|
connector.deleteSecretVersions("mount", "to/delete", 1, 2, 4);
|
||||||
```
|
```
|
||||||
#### Read database credentials
|
#### Read database credentials
|
||||||
|
Loading…
x
Reference in New Issue
Block a user