IBM IIB or ACE :: how to access Security Identity or Vault details in Java compute node or any nodes - messagebroker

IBM IIB or IBM App Connect Enterprise has a feature to store user credentials such as username and password at the server level with the help of the following commands.
mqsisetdbparms
mqsivault
We wanted to access values of Username and password store using these command in Java Compute node or ESQL node so that these value to programmatically call to REST web service using HTTPURLConnection object.
Please help me to find out how to access the username and password store in the server using any IIB provided node or in Java compute node or ESQL node.

Related

access azure key vault from azure web app where ip changes often bc of CI/CD

I have a docker container that accesses azure key vault. this works when I run it locally.
I set up an azure web app to host my container, and it cannot access the key vault
Forbidden (HTTP 403). Failed to complete operation. Message:
Client address is not authorized and caller is not a trusted service.
Client address: 51.142.174.224 Caller:
I followed the suggestion from https://www.youtube.com/watch?v=QIXbyInGXd8 and
I went to the web app in the portal to set status to on
Created an access policy
and then receive the same error with a different ip
Forbidden (HTTP 403). Failed to complete operation. Message:
Client address is not authorized and caller is not a trusted service.
Client address: 4.234.201.129 Caller:
My web app ip address would change every time an update were made, so are there any suggestions how to overcome this?
It might depend on your exact use case and what you want to achieve with your tests, but you could consider using a test double instead of the real Azure Key Vault while running your app locally or on CI.
If you are interested please feel free to check out Lowkey Vault.
I found solution by setting up a virtual network,
and then whitelisting it in the keyvault access rights

How to set credentials in bindings file for JMSInput Node

I am using the JMSInput node in an IIB flow to connect with Rabbitmq. Locally it's working fine with a binding file, but how/where to set login credentials for a remote rabbitmq server?
You will have to use JMS Node and create your own JMSProviders in configurable services.

Unable to login using SQL Developer?

Recently I installed Oracle 12c and using the below commands in sqlplus I created a user, set the password and grant connection privileges. I can successfuly login with PYTHON user using sqlplus and create tables.
ALTER SESSION SET "_ORACLE_SCRIPT"=true;
CREATE USER PYTHON IDENTIFIED BY “1234”;
GRANT CONNECT TO PYTHON;
GRANT CREATE TABLE TO PYTHON;
BUT when I try to login with he same credentials using SQL Developer it shows me the below error
ORA-12505 , TNS listener does not currently know of SID given in connector description
There is no 12c XE..only 11g and 18c XE.
So your service name is wrong.
Try orcl
Or check your logs for the database service name

How to :server connect to neo4j database

I am starting to learn neo4j graph database. I have installed it and run it on my browser. It is asking me to connect to Neo4j database
How can i complete this process?
If using the downloaded version, neo4j/neo4j is the default login/password.
I could not get the default username: neo4j, password: neo4j to work on Neo4j Desktop 3.1.4. Since I connected as user neo4j, I suspect my credentials were provided when I signed into neo4j using OAuth (i.e., google or linkedIn credentials). I created a new user and password to access my database with the neo4j Bolt driver (python).

What is "the DataStax Enterprise user name"?

I am trying to use the Beeline terminal client. Reading the Datastax Beeline documentation, it states
Enter the DataStax Enterprise user name.
and later
Enter the password.
What username/password is this? Is it a username related to internal authentication? What if a cluster does not have internal authentication enabled? It doesn't seem to be stored in configuration files:
$ grep -r user /etc/dse/hive
/etc/dse/hive/hive-log4j.properties:hive.log.dir=/tmp/${user.name}
/etc/dse/hive/hive-site.xml: <value>cfs:///user/hive/warehouse</value>
/etc/dse/hive/hive-exec-log4j.properties:hive.log.dir=/tmp/${user.name}
/etc/dse/hive/hive-env.sh.template:# the Hive installation (so that users do not have to set environment variables
If you have DSE, you should have received an email from DataStax Enterprise Registration that would include your username and password

Resources