Reveals a secret value from H2O Secure Store and writes it to a file.
Retrieves a secret version from the secure store and writes its value to the specified path in the sandbox filesystem. The caller must be authorized to reveal the specified secret version.
Files are created with secure 0600 permissions (owner read/write only) to protect sensitive data.
The secret version name can use the "latest" alias to retrieve the most recently created version: "workspaces/{workspace}/secrets/{secret}/versions/latest" (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: The preposition "to" clearly indicates the destination format (file) and is essential for clarity. Alternative names like "RevealSecretAsFile" would be ambiguous. --)
Request
- Base URLhttps://docs.h2o.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Required. The name of the sandbox engine. Format: workspaces/{workspace}/sandboxEngines/{sandbox_engine}
Request body
Response
A successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.