Skip to content

Commit

Permalink
docs: Alpha commit for Access Tokens documentation (#20)
Browse files Browse the repository at this point in the history
- Added Generating Anaconda Tokens
  • Loading branch information
geoffreygarrett committed Feb 14, 2023
1 parent bd11945 commit 78f2da8
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
Binary file added source/guides/graphics/anaconda_org_token_1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/guides/graphics/anaconda_org_token_2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/guides/graphics/anaconda_org_token_3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/guides/graphics/anaconda_org_token_4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 30 additions & 3 deletions source/guides/managing_access_tokens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,29 @@ Generating Access Tokens

In this section, we will provide step-by-step instructions for generating access tokens on Azure and GitHub.

Generating Tokens on Azure
^^^^^^^^^^^^^^^^^^^^^^^^^
Generating Organization Tokens on Anaconda
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Navigate to https://anaconda.org/ and sign in

.. image:: graphics/anaconda_org_token_1.jpeg

2. Go to the organization page, for example, if the organization is named "tudat-team", the URL would be https://anaconda.org/tudat-team
3. Click on the organization profile ("tudat-team") at the top-right of the page, followed by "Settings".

.. image:: graphics/anaconda_org_token_2.jpeg

4. Fill in the details for creating a new token: name your token, provide the appropriate scope, and specify an expiration date. Then, click "Create".

.. image:: graphics/anaconda_org_token_3.jpeg

5. The newly created organization token will be displayed. Copy the token and keep it safe, as it will only be shown once.

.. image:: graphics/anaconda_org_token_4.jpeg

.. important::
It is crucial to keep the organization token private and secure. Ensure that you do not share it or commit it to a public repository, as this could lead to security issues.

`<TODO>`

Generating User Tokens on GitHub
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -63,3 +82,11 @@ Generating User Tokens on GitHub
Generating Organization Tokens on GitHub
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Setting Access Tokens
---------------------

Defining Access Tokens on Azure Pipelines
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Defining Tokens in GitHub Actions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 comments on commit 78f2da8

Please sign in to comment.