Which credential do I use?
Every build tool signs in to CloudRepo with a repository token. The question is who owns it: you, or your organization.
| Your own repository token | Organization token | |
|---|---|---|
| For | Your laptop and your own builds | CI and build servers |
| Who owns it | You. It acts as you, and stops working if you leave. | Your organization. It belongs to your organization, not to a person, so removing members never breaks it. |
| Who makes it | Any user, for themselves | The organization owner or an Admin |
| Username in your build | Your email address | token |
| Make one | Create a token | Make an organization token |
Use an organization token for anything your team shares, such as a CI pipeline. A build on your own token stops when you leave the organization.
Subscriber access keys for your customers, and npm login tokens, are compared in
Pick the Right Credential.
Setting Up CI
Section titled “Setting Up CI”Do not run CI as a member account on a shared mailbox. CloudRepo emails a password reset to the member’s own address, so anyone who can read that mailbox, and who can reset passwords in your organization, could choose a new password for the account.
Give your CI an organization token instead.