Description of changes:
This PR modifies GetCredentials with the changes needed to get credentials from KV v2 secrets engine mount. The version of the mount is determined by looking for the metadata key in the response which will only exist if the secret being returned is from the KV v2 secrets engine.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: GH-15
Description of changes: This PR modifies GetCredentials with the changes needed to get credentials from KV v2 secrets engine mount. The version of the mount is determined by looking for the
metadata
key in the response which will only exist if the secret being returned is from the KV v2 secrets engine.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.