Capture a key
Save a newly created key from a provider's page into your vault with the extension, and use the toolbar button to see which accounts use a site.
This page helps you save a key you just created at a provider without copying it into a file first.
#Before you start
- The extension is installed and StackHangar is open in a tab.
- Your vault is unlocked.
#Steps
- On the provider's page, select the key.
- Right-click and choose Save to StackHangar.
- Or click the extension's toolbar button, paste the key under Paste a key or password, and choose Save to StackHangar.
- A StackHangar tab opens on Save captured secret. It says where the key was captured, or "Pasted into the extension".
- Check the key. The page shows its length and its first and last characters. Use Show to see the whole value and Hide to hide it again.
- Choose the project, provider, type, account and environment. Name the item, and set Expiry or rotation if you want a reminder.
- Choose Save to vault, or Discard to drop the key.
If the site isn't one StackHangar knows, the page warns you. Check the address is the real site and pick the provider yourself.
The value is encrypted on your device when you save, as with any item you add by hand. See Add items.
#What happens next
The page shows Saved to your vault with Open project and Clear clipboard. The extension no longer has the key. Clear clipboard empties the clipboard on this device. Clipboard history tools and your other devices may still have a copy.
If an agent is waiting for the key through a secret request, the capture page offers to use it for that request.
#How long a capture lives
A captured key is kept in memory only, for 5 minutes. It is handed over once, to the tab the extension opened, and only when that tab is unlocked. Closing the tab, saving, discarding or locking your vault drops it. Nothing is written to disk.
#See what you already have at a provider
On a provider's site, click the toolbar button. If StackHangar recognises the site and your vault is unlocked in an open tab, the popup shows your accounts there, up to 5. Each shows how you sign in (for example Password, Sign in with Google or Company SSO), the projects that use it, and the next date: Expires, Renews or Rotation due. If there are more, it says More in StackHangar. Nothing is cached. It never shows a value.
#If something goes wrong
- The right-click does nothing, and the toolbar button shows a red mark. The selection was empty, too long (over 8192 characters) or not plain text, or the tab couldn't open. Hover the button for the reason.
- "Nothing is waiting to be saved." The capture expired or was already collected. Select the key again.
- "Unlock StackHangar to see this site's accounts." Unlock the vault in your open StackHangar tab.
- "StackHangar didn't answer." Try again.
- You pasted the wrong thing. Choose Discard. Nothing is saved.
See Troubleshooting.
Something missing or wrong on this page? Tell us.