1. Нам важно Ваше мнение!
    и обсуждайте вместе! Нажимайте "мне нравится" и рекомендуйте друзьям ;)
    Понравилось тема? Напишите в ней свой отзыв.
    Считаете что тема не достаточно полно раскрыта? Расскажите свою точку зрения!
    С Вашей помощью сделаем форум еще лучше!

Albuquerque : azure devops agile - Eduard Kabrinskiy

Тема в разделе 'Горячие новости для тех кто следит за собой', создана пользователем SHALOMEn, 19 май 2021.

  1. SHALOMEn

    SHALOMEn Member

    Эдуард Кабринский - Azure devops pat - Eduard Kabrinskiy


    <h1>Azure devops pat</h1>
    <p>[youtube]</p>
    Azure devops pat <a href="http://remmont.com">World news online</a> Azure devops pat
    <h1>Microsoft Azure DevOps ? REST APIs ? Part 3 ? Personal Access Tokens (PATs) ? ?Revoke?, ?Edit? and ?Regenerate? operations</h1>
    <p>LIFE IS BEAUTIFUL ?? I hope we all are safe ?? STAY SAFE, STAY HEALTHY, STAY HOME ??</p>
    <p><strong>Background</strong>: We have started discussing Azure DevOps. In last 9 articles of Azure DevOps we discussed</p>
    <p><strong><em>In this article we will move ahead and will discuss few more operations ? <strong><em>?Revoke?, ?Edit? and ?Regenerate?</em></strong> on Personal Access Token</em></strong> (PAT), which we created in last article. We need PATs for authenticating Azure DevOps. In one of the upcoming article we need to discuss ? calling REST APIs programmatically where we need Personal Access Token for authenticating DevOps.</p>
    <p><strong>Take away from this article</strong>: At the end of this article we will got to know about different operations ? ?<strong>Revoke</strong>?, ?<strong>Regenerate</strong>? and ?<strong>Edit</strong>? on PAT and their scenarios.</p>
    <p><strong>Details</strong> : There are few options available for the respective PAT as shown in below Fig</p>
    <p><ul>
    <li>Navigate to Personal Access Token (PAT) home page from <strong><em>User settings >> Personal access tokens</em></strong>as shown in below Fig</li>
    </ul>
    </p>
    <ul>
    <li>We will be redirected to Personal home page =><strong><em>https://dev.azure.com/ /_usersSettings/tokens ?</em></strong>here, <em><strong>https://dev.azure.com/prashamsabadra/_usersSettings/tokens</strong></em> as shown in below Fig</li>
    <li>On <strong>Personal Access Tokens home page</strong>, if we will select any PAT we will have options ? <strong>Revoke</strong>, <strong>Edit</strong> and <strong>Regenerate</strong> options available in command bar as shown in below Fig</li>
    </ul>
    <p><strong>Edit Personal access token</strong> :</p>
    <p><ul>
    <li>Select Personal access token which we want to Edit</li>
    <li>Click on ?<strong>Edit</strong>? link from top command bar as shown in below Fig</li>
    <li>We will have ?<strong>Edit a personal access token</strong>? dialog as shown in below fig which is similar when we have dialog while creating new Personal Access Token as shown in below fig</li>
    <li>From this dialog we can edit the respective metadata (Expiry date, Scopes ?)</li>
    <li><strong>Here we have an option to extend the expiry date for selected PAT</strong></li>
    </ul>
    </p>
    <p><strong>Regenerate</strong> :</p>
    <p><ul>
    <li>If some how we lost previous copied PAT or expired the existing PAT and forgot to edit respective PAT then we have ?<strong>Regenerate</strong>? option there</li>
    <li>There is ?<strong>Regenerate</strong>? option in command bar appears after selecting the respective PAT from the listings as shown in below fig</li>
    </ul>
    </p>
    <ul>
    <li>Once we have clicked on ?<strong>Regenerate</strong>? command and it success then we have ?<strong>Success!</strong>? pane as shown in below fig</li>
    <li>Please read carefully the warning ? We need to copy the PAT and save it properly. DevOps doesnt stores it and once ?<strong>Success!</strong>? pane is closed we wont have opportunity to recover it. We need to again ?<strong>Regenerate</strong>? it.</li>
    </ul>
    <ul>
    <li>On successful regeneration of PAT we have get <strong>email notification</strong> as shown in below fig</li>
    </ul>
    <p><strong>Revoke</strong> :</p>
    <p><ul>
    <li><strong>If we are done with the respective PAT or if it is compromised</strong> (<strong><em>in this case need to take immediate action</em></strong>) then we have an option to ?<strong>Revoke</strong>? it</li>
    <li>We will have an ?<strong>Revoke</strong>? option available from the command bar</li>
    <li>On clicking of ?<strong>Revoke</strong>? link we will have ?<strong>Confirmation</strong>? dialog for ?<strong>Revoke</strong>? as shown in below fig</li>
    </ul>
    </p>
    <ul>
    <li>Once we have ?<strong>Revoke</strong>? operation done successfully, the respective PAT will be removed from the PAT listing as shown in below fig</li>
    </ul>
    <p><strong>Best Practices</strong> : <strong>Generate PAT for smaller duration. If it expires then regenerate</strong>. User who created the PAT receives notification one week before expiration then respective user can take necessary action like extending expiry, regenerating new token or editing the scopes for given expiration and so on</p>
    <p><strong>Note</strong> : <strong><em>Once user left the company and if he removed from Azure AD, then PATs token invalidate within an hour, since refresh token is valid only for an hour</em> </strong></p>
    <p><strong>References</strong>:</p>
    <p><strong>Next Article</strong>:</p>
    <p><strong>We have very good series going on Azure DevOps</strong>. Please have a look once ? <em> <strong>https://knowledge-junction.com/?s=Azure DevOps</strong> </em> </p>
    <p>Thanks for reading ?? Feel free to discuss / comment / questions ?? SHARING IS CARING ??</p>
    <p>Enjoy the beautiful life ?? Have a FUN ?? HAVE A SAFE LIFE ?? TAKE CARE ??</p>
    <h2>Azure devops pat</h2>

    <h3>Azure devops pat</h3>
    <p>[youtube]</p>
    Azure devops pat <a href="http://remmont.com">Top news today</a> Azure devops pat
    <h4>Azure devops pat</h4>
    In the Azure DevOps series, today we will discuss different operations on Personal Access Token - Edit, Revoke and Regenerate.
    <h5>Azure devops pat</h5>
    Azure devops pat <a href="http://remmont.com">Azure devops pat</a> Azure devops pat
    SOURCE: <h6>Azure devops pat</h6> <a href="https://dev-ops.engineer/">Azure devops pat</a> Azure devops pat
    #tags#[replace: -,-Azure devops pat] Azure devops pat#tags#

    Кабринский Эдуард
    online news

Поделиться этой страницей