Decrypt

cloud_kms.decrypt
ActionGoogle Cloudconnection required

Calls Cloud KMS POST cryptoKeys/{key}:decrypt.

Decrypt base64 ciphertext with a Cloud KMS symmetric key; emits text.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud KMS
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, location, key_ring
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
location
KMS location (overrides connection).
stringNo———
key_ring
Key ring id (overrides connection).
stringNo———
key
CryptoKey id.
stringYes———
ciphertext
Base64 ciphertext.
stringYes———

Input

Fallback source of the ciphertext.

FieldTypeExample
ciphertext
Base64 ciphertext; read when the config leaves ciphertext blank.
string—

Output

One shape.

result

FieldTypeExample
ok
boolean—
plaintext
string—
{
  "ok": false,
  "plaintext": ""
}

See Decrypt run in a workflow.

In a technical demo we add the Google Cloud KMS connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.