Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)


keyManagerCommands command group

Use the Jython or Jacl scripting languages to configure security. The commands and parameters in the keyManagerCommands group can be used to manage key manager settings. We can use these commands to create, modify, list, or obtain information about key managers.

The keyManagerCommands command group includes the following commands:



createKeyManager

The createKeyManager command creates a key manager in the configuration.

Target object

None

Parameters and return values

-name

The name that uniquely identifies the key manager. (String, required)

-scopeName

The name of the scope. (String, optional)

-provider

Provider. (String, optional)

-algorithm

Algorithm name of the key manager. (String, optional)

-keyManagerClass

Custom class that implements the KeyManager interface. (String, optional)

Examples


Batch example...


Interactive example...



deleteKeyManager

The deleteKeyManager command deletes the key manager settings from the configuration.

Target object None.


Required parameters

-name

Name that uniquely identifies the key manager. (String, required)


Optional parameters

-scopeName

Unique name that identifies the management scope. (String, optional)

Examples


Batch example...


Interactive example...



getKeyManager

The getKeyManager command displays a properties object that contains the key manager attributes and values.

Target object None.


Required parameters

-name

Name that uniquely identifies the key manager. (String, required)


Optional parameters

-scopeName

Unique name that identifies the management scope. (String, optional)

Examples


Batch example...


Interactive example...



listKeyManagers

The listKeyManagers command lists the key managers within a particular management scope.

Target object None.


Required parameters None.


Optional parameters

-scopeName

Unique name that identifies the management scope. (String, optional)

-displayObjectName

Set the value of this parameter to true to list the key manager objects within the scope. Set the value of this parameter to false to list the strings that contain the key manager name and the management scope. (Boolean, optional)

-all

Specify the value of this parameter as true to list all key managers. This parameter overrides the scopeName parameter. The default value is false. (String, optional)

Examples


Batch example...


Interactive example...



modifyKeyManager

The modifyKeyManager command changes existing key manager settings.

Target object None.


Required parameters

-name

The name that uniquely identifies the key manager. (String, required)


Optional parameters

-scopeName

Unique name that identifies the management scope. (String, optional)

-provider

Provider name of the key manager. (String, optional)

-algorithm

Algorithm name of the key manager. (String, optional)

-keyManagerClass

Name of the key manager implementation class. You cannot use this parameter with the provider or the algorithm parameter. (String, optional)

Examples


Batch example...


Interactive example...


Key management for cryptographic uses
Use the wsadmin scripting AdminTask object for scripted administration
Automate SSL configurations using scripting
Create an SSL configuration at the node scope using scripting

+

Search Tips   |   Advanced Search