ibmint update vaultrc command
Use the ibmint update vaultrc command to store a vault key in a vaultrc file, or to remove a vault key from a vaultrc file.
Supported platforms
- Windows
- Linux®
- Linux on POWER®
- Linux on Z
- AIX®
- IBM® z/OS® Container Extensions (zCX)
Purpose
When you use the ibmint update vaultrc command, a vault key is stored in or removed from a vaultrc file. For more information about vaults in IBM App Connect Enterprise, see Configuring an IBM App Connect Enterprise vault.
Syntax
Parameters
- --vaultrc-location directory
- The path to the directory that contains the .mqsivaultrc file. If no directory is specified, the .mqsivaultrc is created or updated in the user's home directory.
- --store-vault-key key
- Store a vault key or an external directory vault key in a .mqsivaultrc file.
- --remove-vault-key key
- Remove a vault key or an external directory vault key from a .mqsivaultrc file.
- --work-directory directory
- The path to the work directory that is used by an independent integration server.
- --external-directory-vault vaultLocation
- The path to the directory that contains the external directory vault.
- --integration-node nodeName
- The name of a locally defined integration node.
- --default-key
- The key that is used to create, lock, or unlock the vault if the .mqsivaultrc file that is specified on a command does not contain a specific key for the vault.
- --vault-key key
- The vault key is used to access a local integration node vault or a local independent integration server vault.
- --external-directory-vault-key key
- The external directory vault key is used to access the external directory vault.
- --prompt
- Use a prompt to enter the vault key or the external directory vault key without displaying it.
- --trace filePath
- Send verbose internal trace to the specified file.
- --help
- Use this parameter to display help about the command.
Examples
Store a vault key in an external directory
vault:
ibmint update vaultrc --store-vault-key --external-directory-vault c:\mywrk\myAceExternalDirectoryVault --external-directory-vault-key myVaultKey
Store the default key in the user's home
directory:
ibmint update vaultrc -store-vault-key --default-key --vault-key myVaultKey
Remove the vaultrc file from the user's home
directory:
ibmint update vaultrc --remove-vault-key --external-directory-vault c:\mywrk\myAceExternalDirectoryVault