A shield with a key, for credentials, access keys, passkeys and secure sign-in. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

ActionsNewv1.0.0Added
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M5.1825 5.1685C7.8303 4.8543 9.8295 3.5322 11.0242 2.3732C11.537 1.8756 12.463 1.8756 12.9758 2.3732C14.1705 3.5322 16.1697 4.8543 18.8175 5.1685C19.4672 5.2455 20 5.7506 20 6.3829L20 12.5708C20 14.3452 19.7111 16.1513 18.612 17.5729C17.4097 19.1277 15.5033 20.8703 12.8298 21.8525C12.2945 22.0492 11.7055 22.0492 11.1702 21.8525C8.4967 20.8703 6.5903 19.1277 5.388 17.5729C4.2889 16.1513 4 14.3452 4 12.5708L4 6.3829C4 5.7506 4.5328 5.2455 5.1825 5.1685ZM14 9.5C14 10.6046 13.1046 11.5 12 11.5C10.8954 11.5 10 10.6046 10 9.5C10 8.3954 10.8954 7.5 12 7.5C13.1046 7.5 14 8.3954 14 9.5ZM12 11.5L12 17.5M12 15.5L14 15.5"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • passkey
  • credentials
  • access key
  • security
  • password
  • encryption
  • secure
  • protected
  • protection
  • safe
  • trust
  • privacy
  • guard
  • antivirus
  • insurance

Related icons

The rest of the shield family first, then the Actions shelf.

FAQ

Answered from shield-key's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the shield-key icon for?
A shield with a key, for credentials, access keys, passkeys and secure sign-in. It is filed under Actions in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as passkey, credentials, access key, security, password, encryption, secure, protected, protection, safe, trust, privacy, guard, antivirus and insurance, and the browser's search matches all of those.
What styles does the shield-key icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of shield-key?
No. shield-key is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with shield-key?
shield, shield-check, shield-minus, shield-plus, shield-x and alert, and 12 more, all shown below. The shield family is listed first, then the rest of the Actions shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import shield-key in React?
<ShieldKey /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <ShieldKey size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the shield-key SVG?
icons/stroke/shield-key.svg, icons/two-tone/shield-key.svg, icons/duotone/shield-key.svg and icons/fill/shield-key.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was shield-key added to the set?
Added 17 Sept 2026. It ships in v1.0.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.