Skip to content

Commit

Permalink
Update Obtain credentials using TokenLibrary.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
nirav2 authored Oct 12, 2020
1 parent 916c88a commit c2ec485
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Notebooks/Scala/Obtain credentials using TokenLibrary.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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(\"<akvName>\", \"<secret>\", \"<akvLinkedService>\")\n",
"val secret: String = TokenLibrary.getSecret(\"<akvName>\", \"<secret>\")\n",
""
],
"attachments": {}
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit c2ec485

Please sign in to comment.