Capture a key from the browser
Save a key you select on a provider's page into your vault, using the StackHangar browser extension and the Save captured secret page.
The Capture page is where a key you saved with the browser extension lands, so you can check it and file it in your vault. You don't open this page yourself: the extension opens it for you in a new tab.
For installing and using the extension, see Browser extension.
#Before you start
- Install and connect the extension. See Browser extension.
- Unlock your vault in StackHangar. See Unlock your vault.
#Save a captured key
- On the provider's page, select the key, right-click it and choose Save to StackHangar.
- A StackHangar tab opens with Save captured secret. It shows the page the key came from.
- Check the Value. It is masked, with a hint about how long it is and how it starts and ends. Select Show to see it.
- Choose the project, Provider, Type (API key, Login or Secure note), the provider account, Name, Environment and, for keys, Expiry or rotation.
- Select Save to vault. To throw it away instead, select Discard.
The key is encrypted on your device when you save. The extension forgets it as soon as it hands it over, and the page drops it when you save, discard, leave the page or lock the vault.
If StackHangar doesn't recognize the website as one of its providers, the page warns you. Check the address is the real site before you trust a key from it, and pick the provider yourself.
If an agent has asked you for a key, the form may offer Use for the request from that agent. See Secret requests.
#What happens next
The page shows Saved to your vault with Open project and Clear clipboard. If you copied the key, use Clear clipboard to empty it on this device. Clipboard history tools and your other devices may still have a copy.
#If something goes wrong
- Nothing is waiting to be saved means no captured key reached the page. A captured key is kept for five minutes and handed over once. Select the key on the provider's page again and repeat the steps.
- If the page says the extension isn't connected in this browser, see Browser extension.
- You can always add an item by hand with Add an item by hand, or see Import.
Something missing or wrong on this page? Tell us.