Straker Verify icon

Straker Verify

Interact with Straker Verify API

Actions7

Overview

This node interacts with the Straker Verify API to manage API keys among other resources. Specifically, the Key - Create operation allows users to create a new API key with an assigned role. This is useful in scenarios where you want to programmatically generate API keys for different users or services with specific access levels.

Practical examples include:

  • Automatically generating API keys for new users during onboarding.
  • Creating keys with limited permissions (e.g., "User" role) for external integrations.
  • Managing API keys without manually accessing the Straker Verify dashboard.

Properties

Name Meaning
Name The name of the API key to be created. This is a required string input that identifies the key.
Role The role assigned to the API key. Options are:
- Admin
- User

Output

The output JSON contains the response from the Straker Verify API after creating the API key. It typically includes details about the newly created key such as its identifier, name, role, and possibly the key value itself.

Example structure (simplified):

{
  "creation": {
    "id": "string",
    "name": "string",
    "role": "ADMIN" | "USER",
    "key": "string"
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the Straker Verify API.
  • The node expects the base environment URL and API key to be configured in the credentials.
  • Uses HTTP POST request with JSON body to create the key on the remote service.

Troubleshooting

  • Error: Missing required parameters
    Ensure that both "Name" and "Role" properties are provided before execution.

  • API authentication errors
    Verify that the API key credential is valid and has sufficient permissions to create keys.

  • Network or connectivity issues
    Check network access to the configured Straker Verify environment URL.

  • Unexpected API response or failure
    Review the error message returned by the API; it may indicate invalid input or server-side problems.

If the node is set to continue on fail, errors will be returned in the output JSON under an error field for each failed item.

Links and References

Discussion