<p></p>
<p><b>@janosbrodbeck</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/15549#discussion_r639610091">examples/gcoap/gcoap_cli.c</a>:</p>
<pre style='color:#555'>> @@ -30,6 +30,27 @@
 #define ENABLE_DEBUG 0
 #include "debug.h"
 
+#if IS_ACTIVE(CONFIG_GCOAP_ENABLE_DTLS)
+#include "net/credman.h"
+#include "net/dsm.h"
+#include "tinydtls_keys.h"
+
+#define GCOAP_DTLS_CREDENTIAL_TAG 10
</pre>
<p>None. It's just a number I used here for the example. Credman does not allow storing multiple credentials with the same tag + type (PSK/RPK). The user would need to avoid same tag numbers in real applications.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/15549#discussion_r639610091">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYCRKBWO5Y5SDFWE74TTPTGUZANCNFSM4UL2PR7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYEMIPE2RFAO7FNLCRDTPTGUZA5CNFSM4UL2PR72YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOE7PBVNI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/15549#discussion_r639610091",
"url": "https://github.com/RIOT-OS/RIOT/pull/15549#discussion_r639610091",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>