Testing SecretStore

Using SecretStore Manager, you can test the SecretStore service.


Testing the Service

SecretStore reads and writes secrets. The Run SS Test feature in SecretStore Manager enables you to find out whether SecretStore is functional.

For example, you can use Run SS Test if you suspect that secrets are not being created. By default, when you run SS Test from the main window, SecretStore Manager creates five enhanced-protected secrets in SecretStore. You can immediately verify the write capabilities of SecretStore.

SS Test also tells you whether your client/server setup is correct and running properly.

To test SecretStore:

  1. At SecretStore Manager's main dialog box, click Tests, then click Run SS Test.

  2. (Optional) View the secret (data) that was created during the test by double-clicking a secret identifier.


Making Advanced Tests

The Advanced SSTests option in SecretStore Manager enables you to test the write APIs.


The Advanced Test Options dialog box


Write Secrets Using ID_Create

Use the Write Secrets Using ID_Create option to create or write a secret. This option does the following:

The difference, however, is that using the NSSO_CREATE_ID_F flag won't prevent a Secret ID name collision in the event that the Secret ID name already exists. This option overwrites the existing secret data in that pre-existing secret ID.

WARNING:  Avoid using this option if you don't want to overwrite a secret.


Add Secret IDs

Use the Add Secret IDs option to test adding a secret, writing a secret, or both. This option uses the AddSecret call and then the WriteSecret call.


Number of Secret IDs

Select the number of test secrets. When you run SS Test, SecretStore Manager displays this number of secret identifiers in the Secret Identifier Display pane.


Secret identifiers from a test