Write Secret

security · A322 · starter-package 7.0.1

Stores a secret in secure storage.

Use

Send an API credential, password, or provider secret directly to the configured secret service instead of embedding it in normal workflow data.

What the block does

This block sends the request to the Provider endpoint you entered. Connect Provider credential only when the service requires sign-in. The response is checked before output continues to the next block.

Inputs

  • namespace — Namespace: text; maximum 64; default default.
  • name — Secret name: text; required; maximum 128; default none.
  • value — Secret value: text; required; maximum 16384; default none.
  • purpose — Purpose: text; options general, http-auth, cryptography, provider-auth; default general.
  • overwrite — Overwrite existing: boolean; options true, false; default false.
  • providerEndpoint — Provider endpoint: text; validated URL text; required; maximum 2048; default none.
  • providerCredential — Provider credential: text; accepted output Credential; default none.
  • timeoutMs — Timeout (ms): number; minimum 1000; maximum 300000; default 60000.

Outputs

  • secret — Secret reference: text; checked before the workflow continues.
  • version — Version: number; checked before the workflow continues.
  • fire — Fire: is true after successful execution.

Settings

Connected input takes precedence over the corresponding saved setting.

IDSettingControlDefaultBounds/options
namespaceNamespacetextdefaultmaximum 64
nameSecret nametextnonerequired; maximum 128
purposePurposeselectgeneraloptions general, http-auth, cryptography, provider-auth
overwriteOverwrite existingselectfalseoptions true, false
providerEndpointProvider endpointtextnonerequired; maximum 2048
timeoutMsTimeout (ms)number60000minimum 1000; maximum 300000

Error handling

  • Invalid input stops before the request and names the affected setting. Connection problems, timeouts, cancellation, denied access, an oversized response, and unreadable provider data each receive a clear message.
  • If a connected value is no longer available, the message asks the user to reconnect the output from the earlier block.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
namespaceNamespacetextdefault—
nameSecret nametextNot set—
providerEndpointProvider endpointtextNot set—
timeoutMsTimeout (ms)number60000—
purposePurposetogglegeneraloptions: general, http-auth, cryptography, provider-auth
overwriteOverwrite existingtogglefalseoptions: Yes (true), No (false)