> For the complete documentation index, see [llms.txt](https://docs.k9.io/key9-identity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.k9.io/key9-identity/ssh/installation-and-setup/quickstart/2.-changing-the-yubikey-pin..md).

# 2. Changing the Yubikey PIN.

After the installation is complete, insert your Yubikey into your Mac and open the "Yubikey Manager" from the "Applications" folder in the "Finder."

First,  you’ll need to set up a PIN for your key.  To do this,  insert your Yubikey and run the “Yubikey Manager”.    To find the “Yubikey Manager”,  open “Finder” and “Applications”. &#x20;

Once in the Yubikey Manager,  click on “Applications -> PIV” and then “PIN Management” (use the “Configure PINs” button).  If this is a new Yubikey,  select the “Use default” PIN option for “Current PIN” enter your new PIN, and select “Change PIN”

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfk-hqIXzKhrfmzhJ7Vv-X9KIhnKkecGPLg68vIZh1apDSGmkENPZmD7xkjEwXyE3-jeK4sduDd9KT8tJfZ6hFwWkWodRhUzkcfkmh_fUHeA7HuORwOFqbo4twxyeOj_qU0r9zhDgmU1-eWx2_mUjEWBD8?key=gNhivzMZ8qTn-usg5b_RDA" alt=""><figcaption><p>Selecting the PIV option in the “Yubikey Manager”</p></figcaption></figure>

<br>

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcKzU0zYovusyMbPAqPd-rFxfts8eWXdDnYhAIOdAHoFjiFsOkyfo78MkoAKaGwOeOet-rAowvJN7x0wn_OiHmicv6pDusXyaTMjeo0xVvBPO8Y-FGZFa3PdY-RmQw54pRtWkWr5BtEiB7d3auRRza3xyxn?key=gNhivzMZ8qTn-usg5b_RDA" alt=""><figcaption><p>PIV Management “Configure PINs”</p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfg7FE4vikC0UNWlWspSFGV9J06Kq_jXPaMvSpQBZJTTKSHqNCyPINVbAzUPjif20GT0GsRW3mN4aCVbobzDFTNkWY8jOsH_4Yh2NWRitLcqkYopVdBZa2yr9Gr8P0pLd4UDl8VqDhigr6NxLzKAAKDWys?key=gNhivzMZ8qTn-usg5b_RDA" alt=""><figcaption><p>Changing the PIN</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.k9.io/key9-identity/ssh/installation-and-setup/quickstart/2.-changing-the-yubikey-pin..md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
