SHARDWIRE
ReferenceContracts & Diagnostics

generateSecretScope

Minimum `SecretPermissions` implied by a manifest (required events and actions). Use inside `server.secrets[].allow` when authoring scoped secrets.

function exported from src/dx/app-manifest.ts.

Summary

Minimum SecretPermissions implied by a manifest (required events and actions). Use inside server.secrets[].allow when authoring scoped secrets.

Signature

/**
 * Minimum `SecretPermissions` implied by a manifest (required events and actions).
 * Use inside `server.secrets[].allow` when authoring scoped secrets.
 *
 * @see https://shardwire.js.org/docs/reference/contracts-and-diagnostics/generate-secret-scope/
 */
export function generateSecretScope(manifest: ShardwireAppManifest): SecretPermissions;

On this page