Manage packages silently from authenticated repositories with Installation Manager
We can silently install, update, modify, roll back or uninstall packages from an authenticated repository; however, we must provide the credentials to access protected repositories.The -keyring and -password options that are used to store credentials to a key ring file are deprecated. Use the -secureStorageFile and -masterPasswordFile options to store credentials to a credential file. For more information, see Migrate from key ring files to storage files. For versions 1.6.1 and earlier, use the -keyring option. For more information, see Store credentials in a key ring file.
Store our credentials before you access the authenticated repository to manage the packages. See Store credentials.
Authenticated repositories are repositories that are in a location that requires credentials. The credentials that authenticated repositories require are set by your company administrators unless we are using IBM service repositories. Installation Manager installs using the proxy server and repository URLs in the response files with the credentials saved in a storage file to authenticate with protected servers.
If we use a key ring file and share an instance of Installation Manager with other users, see Save credentials in a key ring file when we share an instance of Installation Manager.
Procedure
To access authenticated repositories in silent mode:
- Open a command-line utility.
- Open the tools directory.
- Enter the -secureStorageFile and -masterPasswordFile command-line options when you start Installation Manager in silent mode:
- Windows: imcl.exe input response_file -secureStorageFile storage_file -masterPasswordFile master_password_file -acceptLicense
- UNIX: ./imcl input response_file -secureStorageFile storage_file -masterPasswordFile master_password_file -acceptLicense
For versions 1.6.1 and earlier, use the -keyring and -password options:
Where the response_file contains the information for installing, updating, modifying, rolling back, or uninstalling the package.
- Windows: imcl.exe input response_file -keyring keyring_file -password password -acceptLicense
- Linux, UNIX, IBM i, IBM z/OS, and OS X: ./imcl input response_file -keyring keyring_file -password password -acceptLicense
Results
When you start the installation with the -secureStorageFile and -masterPasswordFile options, Installation Manager retrieves the credentials for a protected repository, proxy server, or response file from the storage file during the installation.
Example
Enclose file paths that include spaces with double quotation marks.
Operating system Command Windows imcl.exe input C:\response_file.xml -secureStorageFile C:\credential.store -masterPasswordFile C:\master_password_file.txt -acceptLicense Linux, UNIX, IBM i, z/OS, and OS X ./imcl input /root/myresponse/responsefile.xml -secureStorageFile /var/credential.store -masterPasswordFile /var/master_password_file.txt -acceptLicense
Home