update_hashicorp_config
This command updates the HashiCorp configuration.
This API is available in Guardium v11.4 and later.
REST API syntax
This API is available as a REST service with the
PUT
method. Call this API as follows:
PUT https://[Guardium hostname or IP address]:8443/restAPI/hashicorp
GuardAPI syntax
update_hashicorp_config parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
AuthType | String | For valid values, call update_hashicorp_config from the command line with --help=true .
|
name | String | Required. For valid values, call update_hashicorp_config from the command line with --help=true .
|
password | String | The password. |
username | String | The username. |
useTLS | Boolean | Transport Layer Security (TLS) with server-side or client-side
authentication. Valid values:
Default = 1 (true) |
vaultHostName | String | The vault hostname. |
vaultPortNumber | Integer | The port number. |
Example
The following example updates the username, authentication method, and port
number.
grdapi update_hashicorp_config name="No TLS User and password API" username="newname" useTLS="true" vaultPortNumber="9999"
ID=1
ok