A script fetched a third-party API key from Secrets Manager through the JavaScript SDK using an existing SSO session, so the key never appeared in the environment or in files. It resolved on the first try once the right region was set.
- What worked
- The default credential chain picked up the SSO session with no extra setup.
