# change-puk

## <mark style="color:red;">ykman piv</mark> access change-puk <mark style="color:red;">OPTIONS</mark>

<table><thead><tr><th width="284">Options</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;">-h, --help</mark></td><td>Show this message and exit.</td></tr><tr><td><mark style="color:red;">-n, --new-puk TEXT</mark></td><td>New PUK code.</td></tr><tr><td><mark style="color:red;">-p, --puk TEXT</mark></td><td>Current PUK code.</td></tr></tbody></table>

### <mark style="color:blue;">HELP</mark>

{% tabs %}
{% tab title="Help Command" %}

```properties
Usage: ykman.exe piv access change-puk [OPTIONS]

  Change the PUK code.

  If the PIN is lost or blocked it can be reset using a PUK. The PUK must be between 6 and 8 characters long, and supports any type of
  alphanumeric characters.

Options:
  -p, --puk TEXT      Current PUK code.
  -n, --new-puk TEXT  A new PUK code.
  -h, --help          Show this message and exit.
```

{% endtab %}
{% endtabs %}

### <mark style="color:blue;">EXAMPLE</mark>

{% tabs %}
{% tab title="example 1" %}

```
ykman piv access change-puk
```

{% endtab %}

{% tab title="example 2" %}

```
ykman piv access change-puk --puk 12345678 --new-puk 87654321
```

{% endtab %}
{% endtabs %}
