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 c2ec485 commit 5f62078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Notebooks/Scala/Obtain credentials using TokenLibrary.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
"outputs": [],
"metadata": {},
"source": [
"// TokenLibrary can be used for obtaining secrets from AKV using either workspace MSI or user credentials as shown below respectively\n",
"// TokenLibrary can be used for obtaining secrets from AKV\n",
"\n",
"val secret: String = TokenLibrary.getSecret(\"<akvName>\", \"<secret>\", \"<akvLinkedService>\")\n",
"val secret: String = TokenLibrary.getSecret(\"<akvName>\", \"<secret>\")\n",
"val secret: String = TokenLibrary.getSecret(\"<akvName>\", \"<secret>\", \"<akvLinkedService>\") //uses workspace MSI\n",
"val secret: String = TokenLibrary.getSecret(\"<akvName>\", \"<secret>\") // uses user credentials \n",
""
],
"attachments": {}
Expand Down

0 comments on commit 5f62078

Please sign in to comment.