# Encrypt and decrypt age secrets with hardware-backed YubiKey identities

> Use age-plugin-yubikey when an agent needs age encryption tied to a physical YubiKey identity instead of software-only keys.

- Skill: `agentskillexchange/encrypt-and-decrypt-age-secrets-with-hardware-backed-yubikey` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/encrypt-and-decrypt-age-secrets-with-hardware-backed-yubikey`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/encrypt-and-decrypt-age-secrets-with-hardware-backed-yubikey/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/encrypt-and-decrypt-age-secrets-with-hardware-backed-yubikey

---


# Encrypt and decrypt age secrets with hardware-backed YubiKey identities

Use age-plugin-yubikey when an agent needs age encryption tied to a physical YubiKey identity instead of software-only keys.

## Prerequisites

age, age-plugin-yubikey, and a configured YubiKey with supported credentials

## Installation

Basic usage or getting-started notes:
- | Environment | CLI command |
- |-------------|-------------|
- | Cargo (Rust 1.70+) | cargo install age-plugin-yubikey |

- Source: https://github.com/str4d/age-plugin-yubikey
- Extracted from upstream docs: https://raw.githubusercontent.com/str4d/age-plugin-yubikey/HEAD/README.md

## Documentation

- https://github.com/str4d/age-plugin-yubikey#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/encrypt-and-decrypt-age-secrets-with-hardware-backed-yubikey-identities/)

