This CLI command retrieves the details of WebAPI keys for integrating with Zend Server.
This table specifies the various arguments used in the command:
Abbreviated | Full | Description | Required/Optional |
-n |
--name |
The WebAPI key name. |
Required |
This table lists arguments common to all zs-manage commands:
Abbreviated | Full | Description | Required/Optional |
-N |
--key-name |
WebAPI key name. |
Required |
-K |
--secret-key |
WebAPI secret key. |
Required |
-U |
--server-url |
Zend Server URL. Default: http://localhost:10081/ZendServer. |
Required - when action is performed on a remote server. |
-h |
--help |
Show usage information and exit. |
Optional |
|
|
|
To use api-keys-get-list:
/usr/local/zend/bin/zs-manage api-keys-get-list --help
/usr/local/zend/bin/zs-manage api-keys-get-list -n <key name> -N <existing key name> -K <existing key secret> Your CLI will return the details of the WebAPI key specified. Save these details for future use: KEY_NAME = newkey KEY_USER_NAME = admin KEY_HASH = ed4ff21bb839b55d870c1c485deddd8c1164634c70c3dbe17da9fb3f410178a3 |
|
Tip: If you want to retrieve the details of more than one key, just add another '-n' parameter with the name of the key. |
|
|
|
Related Links: |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.