list_hashicorp_config
Use this command to view the list of HashiCorp configurations on your Guardium® system.
This API is available in Guardium v11.4 and later.
REST API syntax
This API is available as a REST service with the
GET
method. Call this API as follows:
GET https://[Guardium hostname or IP address]:8443/restAPI/hashicorp
GuardAPI syntax
list_hashicorp_config parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
name | String | The name of the HashiCorp configuration. |
Examples
The following example lists the details of all available HashiCorp
configurations:
grdapi list_hashicorp_config
ID=0
hashicorp_config_id: 1, name: "No SSL User and password API", auth_type: "Username & Password", vault_host_name: "hostname", vault_port: 8300, user_name: "apps", password: "*****", use_ssl: "false"
hashicorp_config_id: 2, name: "SSL User and password API", auth_type: "Username & Password", vault_host_name: "hostname", vault_port: 8500, user_name: "apps", password: "*****", use_ssl: "true"
ok
The following example lists the details of a specific HashiCorp
configuration:
grdapi list_hashicorp_config name="SSL User and password API"
ID=0
hashicorp_config_id: 2, name: "SSL User and password API", auth_type: "Username & Password", vault_host_name: "hostname", vault_port: 8500, user_name: "apps", password: "*****", use_ssl: "true"
ok