Skip to content

Commit c3c2aca

Browse files
committed
doc: tls_credentials_shell: Document credential load functionality
Document the credential load functionality added to `cred buf` command. Signed-off-by: Joakim Andersson <[email protected]>
1 parent 01d9110 commit c3c2aca

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

doc/connectivity/networking/api/tls_credentials_shell.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ Buffer Credential (``buf``)
1515

1616
Buffer data incrementally into the credential buffer so that it can be added using the :ref:`tls_credentials_shell_add_cred` command.
1717

18-
Alternatively, clear the credential buffer.
18+
Alternatively:
19+
20+
- Clear the credential buffer.
21+
22+
- Load credential directly to the credential buffer, ending with ``Ctrl + ``.
1923
2024
Usage
2125
-----
@@ -28,6 +32,14 @@ To append ``<DATA>`` to the credential buffer, use:
2832
2933
Use this as many times as needed to load the full credential into the credential buffer, then use the :ref:`tls_credentials_shell_add_cred` command to store it.
3034

35+
To load ``<DATA>`` directly to the credential buffer, use:
36+
37+
.. code-block:: shell
38+
39+
cred buf load
40+
<DATA>
41+
Ctrl + c
42+
3143
To clear the credential buffer, use:
3244

3345
.. code-block:: shell

0 commit comments

Comments
 (0)