-
1. Re: Error while using cli to add vault options
mchoma Jul 12, 2018 4:34 PM (in response to venkatpc)How exactly your command look like? This is bash error so you have wrongly formatted the command. CLI command you mentioned should work in ./jboss-cli.sh -c.
Btw. vault is deprecated. Consider migrating to Elytron Credential Store.
-
2. Re: Error while using cli to add vault options
venkatpc Jul 12, 2018 4:44 PM (in response to mchoma)This is the latest one
[domain@host:9000 /] echo-dmr ./core-service=vault:add(vault-option=[("KEYSTORE_URL" => "vault.keystore"),("KEYSTORE_PASSWORD" => "MASK-34rTerOwqPfSD"),("KEYSTORE_ALIAS" => "vault"),("SALT" => "abcd1234"),("ITERATION_COUNT" => "50"),("ENC_FILE_DIR" => "pathtodir")])
{
"address" => [("core-service" => "vault")],
"operation" => "add",
"vault-option" => [
("KEYSTORE_URL" => "vault.keystore"),
("KEYSTORE_PASSWORD" => "MASK-34rTerOwqPfSD"),
("KEYSTORE_ALIAS" => "vault"),
("SALT" => "abcd1234"),
("ITERATION_COUNT" => "50"),
("ENC_FILE_DIR" => "pathtodir")
]
Do you have any idea about this?