VaultCLI Import-CSV Command
Use the vaultCLI import-csv command to import secrets to your Vault from a CSV file.
All secrets in the CSV file must be of the same type. The supported types are: esxi, static, or SSH key endpoint.
Syntax
vaultcli import-csv [options]
Option | Description |
-h or --help |
Displays usage text. |
-c or --csv_file string |
CSV file to import. |
-t or --secret_type string |
Secret type, corresponding to the secrets in the CSV file. The secret type must be of the following: esxi, static, or SSH key endpoint. |