+

Search Tips   |   Advanced Search

XML Syntax for exporting and importing credential vault data

When using the XML command line for credential export or import, the command syntax is slightly different than for normal command-line use. Prerequisite configuration: Before we run the xmlaccess command to export or import credential vault data, make sure that we added the two properties export.userDN and export.enforceSSL to the WebSphere Application Server configuration. When using the XML command line for credential export or import, we need to add two more parameters: -credentialexport and -passphrase to the XML command. See the following example:

For z/OS :

Syntax element Description
-credentialexport This parameter, without a value, indicates that the export of credentials must be enabled.
-passphrase Specify the encryptionPassPhrase for the encryption. The minimum length of this string is the number of bits set as the export keylength in the WP Vault Service Custom properties, which are divided by 8. The -passphrase value is used to create a key of the specified length for the encryption. For details about the WP Credential Vault Service, see the topic about the Credential Vault Service. For details about how to configure or determine service configuration properties see the topic about Setting service configuration properties.

Usage notes:


Example

Following is an example of how to use the XML configuration interface to export/import credential secrets by using HTTPS:

For z/OS :

References: