Wednesday, November 25, 2026

MobiVault IBM i Enterprise Secrets Management

 

MobiVault for IBM i

Enterprise Secrets Management. Built for IBM i.

Stop storing passwords, API keys, and sensitive credentials in application source code, configuration files, and scripts.

Introducing Mobi Vault for IBM i, a secure, native secrets management solution designed to protect the credentials your IBM i applications depend on.

As IBM i environments become increasingly connected to cloud services, APIs, external databases, and modern applications, managing credentials securely is more important than ever.

Mobi Vault provides a centralized, encrypted repository for storing and retrieving sensitive application credentials — without requiring an external secrets management platform or additional servers.

Your Secrets. Secured on IBM i.

Mobi Vault leverages IBM i Cryptographic Services and AES encryption to protect sensitive credentials while providing controlled access to authorized applications and users.

Whether your applications are written in RPG, CL, C/C++, Python, PHP, or other languages running in PASE, Mobi Vault makes it easier to manage credentials without embedding sensitive information directly in your applications.

Key Capabilities

  • Native IBM i Security: Leverages IBM i Cryptographic Services and native security capabilities.

  • AES-256 Encryption: Protects sensitive credentials using strong encryption and IBM i key management.

  • Centralized Secrets Repository: Manage API keys, database passwords, access tokens, and other application credentials in one place.

  • Application-Level Access Control: Define which IBM i user profiles can access specific secrets.

  • Multi-Language Integration: Retrieve credentials from RPG, CL, C/C++, Python, PHP, and PASE applications.

  • Simplified Application Modernization: Eliminate hardcoded credentials without completely rewriting existing applications.

  • Native Db2 Integration: Stores encrypted credentials in Db2 for i.

  • No External Vault Server Required: Keep your secrets management infrastructure on your existing IBM i platform.

Modern Security for Traditional and Modern Applications

Your IBM i applications are evolving. Your credential management should evolve with them.

Mobi Vault bridges traditional IBM i development and modern application integration, providing a consistent way to access sensitive credentials across native and PASE workloads.

Keep your credentials out of your code. Keep your applications moving.

Mobi Vault for IBM i — Modernization in Motion.

For more information contact MobiGoGo: info@mobigogo.net

Visit our web site: http://www.mobigogo.net



Thursday, November 05, 2026

Running IBM i PASE and QShell Commands via SQL Table Functions

If you've ever wanted to quickly run a Python, PHP, Node, bash script or other PASE based CLI command or program you've been able to use my QShell on i utilities to run them via the QSHEXEC or QSHBASH commands and then consume the results in a CL or RPG program by reading the OUTFILE results. 

There's also an RPGLE service program that can be used to call QSHEXEC and QSHBASH that makes things a bit simpler buy putting a sub procedure interface around the commands. 

IBM has recently been promoting the use of SQL table functions and I hadn't had a chance to play with them until today. This morning I was inspired by an example of running PASE commands via SQL from Jesse G to create a table function over the QSHEXEC and QSHBASH commands. The result of this effort is the ability to call QSHEXEC and QSHBASH as SQL table functions from an SQLRPGLE program.

Here's an example of running a PASE directory list with QSHEXEC or QSHBASH and returning the results as an SQL table: 

SELECT * FROM TABLE(QSHONI.QSHEXEC_TABLE('ls -l /tmp')) AS X;

SELECT * FROM TABLE(QSHONI.QSHBASH_TABLE('ls -l /tmp')) AS X;

Here's an example of running a Python application and returning the output results:

SELECT * FROM TABLE(QSHONI.QSHEXEC_TABLE('python3 /pythonapps/hello.py')) AS X;

SELECT * FROM TABLE(QSHONI.QSHBASH_TABLE('python3 /pythonapps/hello.py')) AS X;

The output fields in the resulting table are:

LINE_NO - Line number in the OUTFILE

OUTPUT_LINE - 1000 character line data

CMD_SUCCESS - This field shows is the command was successful or not. If any record has a value or 0 in the CMD_SUCCESS, the PASE command ran successfully. If any record has a value of -1 it means the PASE command didn't run successfully. The OUTPUT_LINE data will either contain valid STDOUT return data on success or any relevant error messages on failure. The table functions should not hard halt on errors so always make sure to check the CMD_SUCCESS result field at least for LINE_NO 1.

Since this is an SQL table the contents can also be filtered:

This example lists and filters a directory result list for anything containing "tmp":

SELECT * FROM TABLE(QSHONI.QSHEXEC_TABLE('ls -l /tmp')) AS X where output_line like '%tmp%';

The SQL functions can be created using ACS Run SQL scripts in any library although the example SQL scripts create them in QSHONI. 

The SQL table function source is located here on the QSHONI site:

https://github.com/richardschoen/QshOni/tree/master/sqlsamples

Have fun and let me know how you're using these with your SQL RPG programs.