How to store multiple passwords inside a VAULT ?
Issue
-
Can we store more than one credential inside a single Vault?
-
While adding vault for storing second password, giving below exceptions:
/host=the_host/core-service=vault:add(vault-options=[("KEYSTORE_URL" => "/abc/jboss-eap-7.3/vault/vault.keystore"),("KEYSTORE_PASSWORD" => "MASK-********"),("KEYSTORE_ALIAS" => "vault"),("SALT" => "1234abcd"),("ITERATION_COUNT" => "120"),("ENC_FILE_DIR" => "/abc/jboss-eap-7.3/vault/")])
"outcome" => "failed",
"result" => {},
"failure-description" => {"host-failure-descriptions" => {"Server-1" => "WFLYCTL0212: Duplicate resource [
(\"host\" => \"Server-1\"),
(\"core-service\" => \"vault\")
]"}},
"rolled-back" => true
}
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.