Sha256: dedb46554b0d9aecf1eb85bd74a6cd78f3b0e954976c7958b17cb8df38cf3fb7
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
Feature: Contents The `CONTENTS` keyword is used to fetch the contents of another vault: ```javascript "fill_with": "CONTENTS['some_string']" ``` It takes one argument, the name of the vault holding the desired contents. The contents keyword should only be used in the **fill_with** field. If you want to use it in either the **lock_with** or **unlock_with** fields, you should consider the alias `KEY` instead. Here is an example of a vault that makes use of the `CONTENTS` keyword. ```javascript "locked_message":{ "fill_with": "CONTENTS['message_locked_with_random_key']", "lock_with": "KEY['unlocked_random_key']", "unlock_with": "KEY['unlocked_random_key']", "contents": "" } ```
Version data entries
4 entries across 4 versions & 1 rubygems