update docs for decoding public account keys
---
-title: Decode Account Key with the Flow CLI
-sidebar_title: Decode Account Keys
-description: How to decode rlp encoded key pair from the command line
+title: Decode Account Keys with the Flow CLI
+sidebar_title: Decode Public Keys
+description: How to decode encoded public keys from the command line
---
-The Flow CLI provides a command to decode RLP encoded account key.
+The Flow CLI provides a command to decode encoded public account keys.
```shell
-flow keys decode <rlp encoded account key>
+flow keys decode <rlp|pem> <encoded public key>
```
## Example Usage
```shell
-> flow keys decode f847b84084d716c14b051ad6b001624f738f5d302636e6b07cc75e4530af7776a4368a2b586dbefc0564ee28384c2696f178cbed52e62811bcc9ecb59568c996d342db2402038203e8
+> flow keys decode rlp f847b84084d716c14b051ad6b001624f738f5d302636e6b07cc75e4530af7776a4368a2b586dbefc0564ee28384c2696f178cbed52e62811bcc9ecb59568c996d342db2402038203e8
Public Key 84d716c14b051ad6b001624f738f5d302636e6b07cc75e4530af7776a4368a2b586dbefc0564ee28384c2696f178cbed52e62811bcc9ecb59568c996d342db24
Signature algorithm ECDSA_P256
