Sirr

Manage ephemeral secrets with Sirr

Principal → Create Key

AI-generated

Summary

Create a personal API key for the current principal via the Sirr service.

Inputs

None.

Output shape

The API response body from Sirr, typically containing the created key's identifier and validity configuration.

The node returns the raw JSON from the POST /me/keys endpoint; no further transformation is applied.

Examples

Example 1: Create a key named 'workflow-access' that expires in 86400 seconds (1 day).

principalKeyName: 'workflow-access', principalKeyValidFor: 86400

Example 2: Create a key with no expiry and a hard cutoff timestamp.

principalKeyName: 'temp-key', principalKeyValidBefore: 1735689600

Links

Discussion