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.
Reviewed: https:/ /review. opendev. org/697691 /git.openstack. org/cgit/ openstack/ charm-barbican- vault/commit/ ?id=4a1517d2fbd e1b2531388d9abf 5ad7af1255ae69
Committed: https:/
Submitter: Zuul
Branch: master
commit 4a1517d2fbde1b2 531388d9abf5ad7 af1255ae69
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: I2ee5ffe5d53e87 4efb3fabc6a880b f95b00a44f9
Partial-Bug: #1849323