Using elytron-tool.sh does not work with soft link files in JBoss EAP 7

Solution Verified - Updated -

Issue

If I use "elytron-tool.sh credential-store" to add an alias to a credential store and if "--location" parameter points to a soft link, the soft link will be removed and saved as the actual credential file.

To reproduce the issue:

1. Create a credential store
2. Create a soft link pointing to the credential store
3. Use "elytron-tool.sh credential-store --location <soft link> --add <alias>" to add the alias

The soft link will become a credential store with the newly added alias but the original credential store will not be updated.

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 7.1+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content