Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

158
Views
How can I check if a IAM access key is active via the AWS JS SDK

When using the AWS Management Console its easy to check whether a IAM access key is active or not.

How can I check if a IAM access key is active via the AWS JS SDK?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

The API call ListAccessKeys will return information about all of a user's access keys, including creation date (which answers your other question). There's also GetAccessKeyLastUsed, which as its name indicates tells you when a key was last used.

I don't use the JS SDK, so these functions might not exist there, but look under the IAM module.

about 4 years ago · Juan Pablo Isaza Report

0

There is no way to retrieve that, you can check if the key is available but not if active or not

API_GetAccessKeyInfo

This operation does not indicate the state of the access key. The key might be active, inactive, or deleted. Active keys might not have permissions to perform an operation. Providing a deleted access key might return an error that the key doesn't exist.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!