security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java
public String vaultConfiguration() {
        StringBuilder sb = new StringBuilder();
        sb.append("/core-service=vault:add(vault-options=[");
        sb.append("(\"KEYSTORE_URL\" => \"").append(keystoreURL).append("\")").append(",");
        sb.append("(\"KEYSTORE_PASSWORD\" => \"").append(keystoreMaskedPassword).append("\")").append(",");
        sb.append("(\"KEYSTORE_ALIAS\" => \"").append(vaultAlias).append("\")").append(",");
        sb.append("(\"SALT\" => \"").append(salt).append("\")").append(",");
        sb.append("(\"ITERATION_COUNT\" => \"").append(iterationCount).append("\")").append(",");
        sb.append("(\"ENC_FILE_DIR\" => \"").append(encryptionDirectory).append("\")");
        sb.append("])");
        return sb.toString();
    }
public String vaultConfiguration() {
        StringBuilder sb = new StringBuilder();
        sb.append("/core-service=vault:add(vault-options=[");
        sb.append("(\"KEYSTORE_URL\" => \"").append(keystoreURL).append("\")").append(",");
        sb.append("(\"KEYSTORE_PASSWORD\" => \"").append(keystoreMaskedPassword).append("\")").append(",");
        sb.append("(\"KEYSTORE_ALIAS\" => \"").append(vaultAlias).append("\")").append(",");
        sb.append("(\"SALT\" => \"").append(salt).append("\")").append(",");
        sb.append("(\"ITERATION_COUNT\" => \"").append(iterationCount).append("\")").append(",");
        sb.append("(\"ENC_FILE_DIR\" => \"").append(encryptionDirectory).append("\")");
        sb.append("])");
        return sb.toString();
    }
public String vaultConfiguration ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "/core-service=vault:add(vault-options=[" ) ; sb . append ( "(\"KEYSTORE_URL\" => \"" ) . append ( keystoreURL ) . append ( "\")" ) . append ( "," ) ; sb . append ( "(\"KEYSTORE_PASSWORD\" => \"" ) . append ( keystoreMaskedPassword ) . append ( "\")" ) . append ( "," ) ; sb . append ( "(\"KEYSTORE_ALIAS\" => \"" ) . append ( vaultAlias ) . append ( "\")" ) . append ( "," ) ; sb . append ( "(\"SALT\" => \"" ) . append ( salt ) . append ( "\")" ) . append ( "," ) ; sb . append ( "(\"ITERATION_COUNT\" => \"" ) . append ( iterationCount ) . append ( "\")" ) . append ( "," ) ; sb . append ( "(\"ENC_FILE_DIR\" => \"" ) . append ( encryptionDirectory ) . append ( "\")" ) ; sb . append ( "])" ) ; return sb . toString ( ) ; }
Returns vault configuration string in user readable form.
@return
Returns vault configuration string in user readable form .