Ondrej Kotek created WFWIP-378:
----------------------------------
Summary: The error message from export-secret-key on
(secret-key-)credential-store should be more helpful
Key: WFWIP-378
URL:
https://issues.redhat.com/browse/WFWIP-378
Project: WildFly WIP
Issue Type: Bug
Components: Security
Reporter: Ondrej Kotek
Assignee: Darran Lofthouse
The error message from the {{export-secret-key}} operation on the {{credential-store}} and
{{secret-key-credential-store}} resources should be more helpful when exporting invalid
alias
{noformat}
[standalone@localhost:9990 /]
/subsystem=elytron/secret-key-credential-store=b:read-aliases
{
"outcome" => "success",
"result" => ["key"]
}
[standalone@localhost:9990 /]
/subsystem=elytron/secret-key-credential-store=b:export-secret-key(alias=key2)
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
java.lang.IllegalArgumentException: value is null",
"rolled-back" => true
}
{noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)