title: Hyperledger Fabric 2.2 - securing private data with collection-config
body: <p>I have gone through <a href="https://hyperledger-fabric.readthedocs.io/en/release-2.2/commands/peerlifecycle.html" rel="nofollow noreferrer" title="hyperledger fabric peer lifecycle">documentation</a> and I want to secure private data using <code>GetTransient</code> but I am not having idea that where to put <code>collection-config.json</code>.</p>
  <p>If it is needed to be put under package root, then when should I pass it by flag <code>--collections-config</code>. As per documentation, it is suggested to pass for all three later methods - <code>approveformyorg</code>, <code>checkcommitreadiness</code> &amp; <code>commit</code>. I could not get example for this (node chaincode example will be preferred).</p>
  <p>Any help or direction, will be appreciated.</p>