A tester finds a 32-character hexadecimal string named apiKey in a client's bundled JavaScript, sent as an x-api-key header on REST calls. Which action BEST shows what the key allows?
Show the answer
Correct answerB. Send it in the x-api-key header to each endpoint and compare the responses
AWhy not this: AWS access keys have a key ID and a secret; a bare hex string is not one, so STS cannot validate it.
BWhy this is right: The key is validated by use: replaying it against endpoints and methods shows which resources it unlocks.
CWhy not this: The string is a bearer credential, not a password hash, so there is nothing to crack; hashcat is the wrong approach.
DWhy not this: A JWT has three dot-separated Base64 parts; a plain hex string has no claims to read, so this confuses it with a session token.
An API key is an opaque credential presented with each request, so its privileges show only by testing it against endpoints and methods and comparing responses within scope. It is neither a hash to crack nor a JWT nor an AWS key.