Home Auto Connect request for OpenSearch snaps

Hello,

This is a request for the autoconnect of the home plug to our snaps opensearch, and opensearch-chiseled.

The use case is to allow users to call opensearch.keytool and specify a path from home directory to the CA they want to import.

In snapcraft.yaml, we want to have something like this:

plugs:
  home:
    read: all

and

  keytool:
    command: opt/opensearch/keytool-wrapper.sh
    plugs:
      - home

This request has been added to the queue for review by the @reviewers team.

Hello @akram-boutou,

My sincere apologies for the delay in this request.

Can you provide more details on why read: all is necessary in this use case and why the basic home interface itself is not sufficient? Thank you!