steved@steve-mint ~/.dii/creds/prod1 $ vault read awsnonprod/creds/qm_xfer_svcKey Value--- -----lease_id awsnonprod/creds/qm_xfer_svc/e6be9f1f-c957-d976-7595-5fc7d6fb18bblease_duration 24h0m0slease_renewable trueaccess_key AKIAIK6YGLGCQU3P5JWAsecret_key REMOVEDsecurity_token <nil>
This email message, and any documents which may accompany it, contain information which is intended for use only by the intended recipient(s), and may contain information that is privileged and/or confidential. If you are not the intended recipient of this message you are hereby notified that any review, disclosure, dissemination, distribution, copy or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender by reply email, delete the email from your computer and destroy all copies of the communication and any attachments.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/52c08d5d-db38-4477-8bd5-58a9c6614ce4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Steve,You can use 'vault read sys/leases/lookup.......' to get this information.Best,Jeff
On Mon, Jun 5, 2017 at 1:05 PM, Steve Dillon <steve....@dycominc.com> wrote:
We create Expiring AWS credentials with default 24h TTL.steved@steve-mint ~/.dii/creds/prod1 $ vault read awsnonprod/creds/qm_xfer_svcKey Value--- -----lease_id awsnonprod/creds/qm_xfer_svc/e6be9f1f-c957-d976-7595-5fc7d6fb18bblease_duration 24h0m0slease_renewable trueaccess_key AKIAIK6YGLGCQU3P5JWAsecret_key REMOVEDsecurity_token <nil>I would like to be able to query the amount of time left on the lease. There appears to be an API for this: /sys/leases/lookup but I'm not finding a way to get this information from either the CLI client or the python SDK. Am I missing an easy way to query the remaining time on a lease?
This email message, and any documents which may accompany it, contain information which is intended for use only by the intended recipient(s), and may contain information that is privileged and/or confidential. If you are not the intended recipient of this message you are hereby notified that any review, disclosure, dissemination, distribution, copy or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender by reply email, delete the email from your computer and destroy all copies of the communication and any attachments.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/7f61ed4c-7369-42d6-a5ea-ba4c5a4dd13d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/75d2eba3-7e8d-46ef-86df-c30d913abeec%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.