Key management

When using external integrations with WireMock Cloud, the communication between WireMock Cloud and these integrated services must be secured. WireMock Cloud provides the means to generate, moderate and attach asymmetric keys to facilitate this secure communication.

Usage

For a key to be of use it must be attached to something that requires secure authentication with a third party. Currently, the only place in WireMock Cloud where a key can be attached is a mock API’s OpenAPI Git integration. Instructions for attaching a key to an OpenAPI Git integration can be found here.

Managing your keys

To view the keys you have access to, navigate to the security page in WireMock Cloud via your account avatar in the top right and click on the Keys tab.

Security page navigation

Keys list page

From this page you can create new keys, page between existing keys, and delete keys, as well as search for specific keys by name.

Creating new keys

Clicking the Create new key button on the main keys page will take you to a new page containing a form to enter the desired name of the new key.

Creating a new key

Saving this new key will generate a secure key pair, and the public key for this key pair will be displayed.

Viewing your new key

This key can then be attached to other parts of WireMock Cloud.

The private key is stored in encrypted form and only decrypted briefly when in use via a secure decryption service.

Moderating existing keys

To view and update a key, click on its name from the main key page.

Navigating to a key

From here, a key’s name can be updated, and the key can be shared with others in your organisation.

Key share button

Sharing a key