On 17 October 2014 10:13, saurabh <saurabh.ku...@techblue.co.uk> wrote:
> Hi All,
>
> I need to communicate password from one charm instance to another instance
> in order to authenticate services.
> Please suggest me a way to do that.

Hi Saurabh

I assume by "one charm instance to another" you mean two units in the
same service?

In which case, having the charm implement the peer relation would
allow that communication. E.g. if one unit does a relation-set
password=<secret>, all other units (instances) in the service will be
able to do "relation-get password" in the peer relation-changed hook.

More info at: 
https://juju.ubuntu.com/docs/authors-charm-metadata.html#peer-relations

If you mean between two instances of different charms, then a normal
relation will do, of course,

HTH

-- 
Simon

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to