Comment 19 for bug 1849323

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-barbican-vault (master)

Reviewed: https://review.opendev.org/697691
Committed: https://git.openstack.org/cgit/openstack/charm-barbican-vault/commit/?id=4a1517d2fbde1b2531388d9abf5ad7af1255ae69
Submitter: Zuul
Branch: master

commit 4a1517d2fbde1b2531388d9abf5ad7af1255ae69
Author: Edward Hope-Morley <email address hidden>
Date: Fri Dec 6 16:29:22 2019 +0000

    Support trying all available tokens

    Since the relation with vault maybe contain more than one
    token and we have no way to know if they are valid, we
    support trying them all until we get a good one and raise
    the error only if we tried them all unsuccessfully and
    have no current secret-id otherwise return current
    secret-id.

    Change-Id: I2ee5ffe5d53e874efb3fabc6a880bf95b00a44f9
    Partial-Bug: #1849323