From c2ec48589e8ddecec33e15903cff4ae061a09f66 Mon Sep 17 00:00:00 2001 From: nirav2 <64491084+nirav2@users.noreply.github.com> Date: Mon, 12 Oct 2020 00:48:43 -0700 Subject: [PATCH] Update Obtain credentials using TokenLibrary.ipynb --- .../Obtain credentials using TokenLibrary.ipynb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Notebooks/Scala/Obtain credentials using TokenLibrary.ipynb b/Notebooks/Scala/Obtain credentials using TokenLibrary.ipynb index 12e83a5..5cb4c94 100644 --- a/Notebooks/Scala/Obtain credentials using TokenLibrary.ipynb +++ b/Notebooks/Scala/Obtain credentials using TokenLibrary.ipynb @@ -50,6 +50,20 @@ ], "attachments": {} }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "metadata": {}, + "source": [ + "// TokenLibrary can be used for obtaining secrets from AKV using either workspace MSI or user credentials as shown below respectively\n", + "\n", + "val secret: String = TokenLibrary.getSecret(\"\", \"\", \"\")\n", + "val secret: String = TokenLibrary.getSecret(\"\", \"\")\n", + "" + ], + "attachments": {} + }, { "cell_type": "code", "execution_count": null,