index.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <link rel="canonical" href="https://OLC-LOC-Bioinformatics.github.io/AzureStorage/credentials/">
  9. <link rel="shortcut icon" href="../img/favicon.ico">
  10. <title>Credentials - OLC Bioinformatics Azure Storage</title>
  11. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700" />
  12. <link rel="stylesheet" href="../css/theme.css" />
  13. <link rel="stylesheet" href="../css/theme_extra.css" />
  14. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" />
  15. <script>
  16. // Current page data
  17. var mkdocs_page_name = "Credentials";
  18. var mkdocs_page_input_path = "credentials.md";
  19. var mkdocs_page_url = "/AzureStorage/credentials/";
  20. </script>
  21. <script src="../js/jquery-2.1.1.min.js" defer></script>
  22. <script src="../js/modernizr-2.8.3.min.js" defer></script>
  23. <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
  24. <script>hljs.initHighlightingOnLoad();</script>
  25. </head>
  26. <body class="wy-body-for-nav" role="document">
  27. <div class="wy-grid-for-nav">
  28. <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
  29. <div class="wy-side-scroll">
  30. <div class="wy-side-nav-search">
  31. <a href=".." class="icon icon-home"> OLC Bioinformatics Azure Storage</a>
  32. <div role="search">
  33. <form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
  34. <input type="text" name="q" placeholder="Search docs" title="Type search term here" />
  35. </form>
  36. </div>
  37. </div>
  38. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  39. <ul>
  40. <li class="toctree-l1"><a class="reference internal" href="..">Home</a>
  41. </li>
  42. </ul>
  43. <ul>
  44. <li class="toctree-l1"><a class="reference internal" href="../install/">Installation</a>
  45. </li>
  46. </ul>
  47. <ul class="current">
  48. <li class="toctree-l1 current"><a class="reference internal current" href="./">Credentials</a>
  49. <ul class="current">
  50. <li class="toctree-l2"><a class="reference internal" href="#general-usage">General Usage</a>
  51. </li>
  52. <li class="toctree-l2"><a class="reference internal" href="#azure-credentials-store">Azure credentials store</a>
  53. <ul>
  54. <li class="toctree-l3"><a class="reference internal" href="#required-arguments">Required arguments:</a>
  55. </li>
  56. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments">Optional arguments:</a>
  57. </li>
  58. <li class="toctree-l3"><a class="reference internal" href="#example-commands">Example commands:</a>
  59. </li>
  60. <li class="toctree-l3"><a class="reference internal" href="#usage">Usage</a>
  61. </li>
  62. </ul>
  63. </li>
  64. <li class="toctree-l2"><a class="reference internal" href="#azure-credentials-delete">Azure credentials delete</a>
  65. <ul>
  66. <li class="toctree-l3"><a class="reference internal" href="#required-arguments_1">Required arguments:</a>
  67. </li>
  68. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments_1">Optional arguments:</a>
  69. </li>
  70. <li class="toctree-l3"><a class="reference internal" href="#example-command">Example command:</a>
  71. </li>
  72. <li class="toctree-l3"><a class="reference internal" href="#usage_1">Usage</a>
  73. </li>
  74. </ul>
  75. </li>
  76. </ul>
  77. </li>
  78. </ul>
  79. <ul>
  80. <li class="toctree-l1"><a class="reference internal" href="../upload/">Upload</a>
  81. </li>
  82. </ul>
  83. <ul>
  84. <li class="toctree-l1"><a class="reference internal" href="../sas_url/">SAS URL</a>
  85. </li>
  86. </ul>
  87. <ul>
  88. <li class="toctree-l1"><a class="reference internal" href="../move/">Move</a>
  89. </li>
  90. </ul>
  91. <ul>
  92. <li class="toctree-l1"><a class="reference internal" href="../download/">Download</a>
  93. </li>
  94. </ul>
  95. <ul>
  96. <li class="toctree-l1"><a class="reference internal" href="../set_tier/">Set Tier</a>
  97. </li>
  98. </ul>
  99. <ul>
  100. <li class="toctree-l1"><a class="reference internal" href="../delete/">Delete</a>
  101. </li>
  102. </ul>
  103. <ul>
  104. <li class="toctree-l1"><a class="reference internal" href="../automate/">Automate</a>
  105. </li>
  106. </ul>
  107. <ul>
  108. <li class="toctree-l1"><a class="reference internal" href="../list/">List</a>
  109. </li>
  110. </ul>
  111. </div>
  112. </div>
  113. </nav>
  114. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  115. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  116. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  117. <a href="..">OLC Bioinformatics Azure Storage</a>
  118. </nav>
  119. <div class="wy-nav-content">
  120. <div class="rst-content">
  121. <div role="navigation" aria-label="breadcrumbs navigation">
  122. <ul class="wy-breadcrumbs">
  123. <li><a href="..">Docs</a> &raquo;</li>
  124. <li>Credentials</li>
  125. <li class="wy-breadcrumbs-aside">
  126. <a href="https://github.com/OLC-LOC-Bioinformatics/AzureStorage/edit/main/docs/credentials.md"
  127. class="icon icon-github"> Edit on GitHub</a>
  128. </li>
  129. </ul>
  130. <hr/>
  131. </div>
  132. <div role="main">
  133. <div class="section">
  134. <h2 id="azurecredentials">AzureCredentials</h2>
  135. <p>AzureCredentials allows you to store, modify, or delete your Azure account name and connection string in the system keyring</p>
  136. <p>Choose either the <a href="#azure-credentials-store"><code>store</code></a> or <a href="#azure-credentials-delete"><code>delete</code></a> functionality</p>
  137. <p><a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string#:~:text=You%20can%20find%20your%20storage,primary%20and%20secondary%20access%20keys.">Find your connection string</a></p>
  138. <p><a href="https://www.zenko.io/blog/how-to-find-keys-and-account-info-for-aws-azure-and-google/#:~:text=Azure%20Account%20Name%C2%A0%3D%20the%20name%20of%20your%20Azure%20storage%20account%20located%20on%20the%20top%20of%20the%20Azure%20Portal%20(screenshot%20below%20%E2%80%93%20%E2%80%9Cscalitydemo%E2%80%9D%20is%20Azure%20Account%20Name).">Find your account key</a></p>
  139. <h4 id="general-usage">General Usage</h4>
  140. <pre><code>usage: AzureCredentials [-h] {store,delete} ...
  141. Set, modify, or delete Azure storage credentials in the system keyring
  142. optional arguments:
  143. -h, --help show this help message and exit
  144. Available functionality:
  145. {store,delete}
  146. store Store or update Azure storage credentials in the system keyring
  147. delete Delete Azure storage credentials in the system keyring
  148. </code></pre>
  149. <h3 id="azure-credentials-store">Azure credentials store</h3>
  150. <p>Store or modify your account name and connection string in the system keyring</p>
  151. <h4 id="required-arguments">Required arguments:</h4>
  152. <ul>
  153. <li>account name</li>
  154. </ul>
  155. <h4 id="optional-arguments">Optional arguments:</h4>
  156. <ul>
  157. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  158. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  159. </ul>
  160. <h4 id="example-commands">Example commands:</h4>
  161. <p>To store the account name <code>account_name</code> and your connection string in the system keyring</p>
  162. <p><code>AzureCredentials store -a account_name</code></p>
  163. <p>NOTE: You will be prompted to enter your connection string by the script. Note that, as a security precaution, you will not see the text you entered.</p>
  164. <p>To store the account name <code>account_name</code> and your connection string in the system keyring using the passphrase <code>passphrase</code></p>
  165. <p><code>AzureCredentials store -a account_name -p passphrase</code></p>
  166. <p>NOTE: You will be prompted to enter your connection string by the script. Note that, as a security precaution, you will not see the text you entered. </p>
  167. <h4 id="usage">Usage</h4>
  168. <pre><code>usage: AzureCredentials store [-h] -a ACCOUNT_NAME [-p PASSPHRASE] [-v VERBOSITY]
  169. Store or update Azure storage credentials in the system keyring
  170. optional arguments:
  171. -h, --help show this help message and exit
  172. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  173. Name of the Azure storage account
  174. -p PASSPHRASE, --passphrase PASSPHRASE
  175. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  176. -v VERBOSITY, --verbosity VERBOSITY
  177. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  178. </code></pre>
  179. <h3 id="azure-credentials-delete">Azure credentials delete</h3>
  180. <p>Delete your account name and connection string from the system keyring</p>
  181. <h4 id="required-arguments_1">Required arguments:</h4>
  182. <ul>
  183. <li>account name</li>
  184. </ul>
  185. <h4 id="optional-arguments_1">Optional arguments:</h4>
  186. <ul>
  187. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  188. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  189. </ul>
  190. <h4 id="example-command">Example command:</h4>
  191. <p>To delete the account name <code>account_name</code> and your connection string from the system keyring</p>
  192. <p><code>AzureCredentials delete -a account_name</code></p>
  193. <p>NOTE: You will be prompted to enter your connection string by the script. Note that, as a security precaution, you will not see the text you entered.</p>
  194. <p>To delete the account name <code>account_name</code> and your connection string from the system keyring stored using the passphrase <code>passphrase</code></p>
  195. <p><code>AzureCredentials delete -a account_name -p passphrase</code></p>
  196. <p>NOTE: You will be prompted to enter your connection string by the script. Note that, as a security precaution, you will not see the text you entered.</p>
  197. <h4 id="usage_1">Usage</h4>
  198. <pre><code>usage: AzureCredentials delete [-h] -a ACCOUNT_NAME [-p PASSPHRASE] [-v VERBOSITY]
  199. Delete Azure storage credentials in the system keyring
  200. optional arguments:
  201. -h, --help show this help message and exit
  202. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  203. Name of the Azure storage account
  204. -p PASSPHRASE, --passphrase PASSPHRASE
  205. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  206. -v VERBOSITY, --verbosity VERBOSITY
  207. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  208. </code></pre>
  209. </div>
  210. </div>
  211. <footer>
  212. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  213. <a href="../upload/" class="btn btn-neutral float-right" title="Upload">Next <span class="icon icon-circle-arrow-right"></span></a>
  214. <a href="../install/" class="btn btn-neutral" title="Installation"><span class="icon icon-circle-arrow-left"></span> Previous</a>
  215. </div>
  216. <hr/>
  217. <div role="contentinfo">
  218. <!-- Copyright etc -->
  219. </div>
  220. Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  221. </footer>
  222. </div>
  223. </div>
  224. </section>
  225. </div>
  226. <div class="rst-versions" role="note" aria-label="versions">
  227. <span class="rst-current-version" data-toggle="rst-current-version">
  228. <a href="https://github.com/OLC-LOC-Bioinformatics/AzureStorage/" class="fa fa-github" style="float: left; color: #fcfcfc"> GitHub</a>
  229. <span><a href="../install/" style="color: #fcfcfc;">&laquo; Previous</a></span>
  230. <span style="margin-left: 15px"><a href="../upload/" style="color: #fcfcfc">Next &raquo;</a></span>
  231. </span>
  232. </div>
  233. <script>var base_url = '..';</script>
  234. <script src="../js/theme.js" defer></script>
  235. <script src="../search/main.js" defer></script>
  236. <script defer>
  237. window.onload = function () {
  238. SphinxRtdTheme.Navigation.enable(true);
  239. };
  240. </script>
  241. </body>
  242. </html>