O que a ligação faz por si
Ligar a sua própria conta DigitalOcean associa a conta na nuvem que já paga ao seu painel Zinn®. Uma vez ligada, o cartão da conta em Integrações apresenta Mostrar regiões onde pode implementar: todas as regiões da DigitalOcean onde a sua conta pode criar um servidor neste momento, com o número de tamanhos de servidor disponíveis em cada uma, lidos diretamente da sua conta sempre que o abrir.
A ligação e a listagem limitam-se a ler a sua conta. Nada é criado, nada é alterado e nada é debitado na sua fatura da DigitalOcean ao ligá-la ou ao consultar as regiões.
Antes de começar
Uma conta DigitalOcean em situação regular (com um método de pagamento verificado na conta) e permissão na respetiva equipa para criar tokens de API.
1. Crie a chave na DigitalOcean
No painel de controlo da DigitalOcean, abra API no menu à esquerda, depois o separador Tokens, e prima Generate New Token (Gerar novo token). Dê-lhe um nome que reconheça (por exemplo, "Zinn®"), escolha uma data de expiração e conceda-lhe permissões de leitura e escrita. Copie o token quando for apresentado: a DigitalOcean mostra-o apenas uma vez.
2. Ligue-a aqui
Abra Integrações no seu painel e escolha Ligar uma conta. Selecione Os seus próprios servidores na nuvem como grupo e DigitalOcean como conta, preencha o Token de API e prima Ligar conta.
We test what you paste before anything is saved. A key that does not work is never stored, and the answer says what was wrong with it. A key that works is kept encrypted in our secrets vault — never in our database — and is never shown again, not even to you.
O que acontece a seguir
- A conta surge em Contas ligadas com a data em que a ligou.
- Prima Mostrar regiões onde pode implementar no respetivo cartão para ver cada região (por cidade) e quantos tamanhos de servidor a sua conta pode utilizar aí. Qualquer região onde a sua conta não possa criar instâncias não é listada.
- Verificamos novamente o token em segundo plano. Se a DigitalOcean começar a recusá-lo, o cartão indicará isso mesmo e o que deve fazer.
Se não ligar
A DigitalOcean recusou a credencial. O token foi eliminado, expirou ou foi copiado com um espaço. Gere um novo e volte a ligar.
Não são apresentadas regiões. A conta não pode criar um servidor em nenhum local neste momento, o que geralmente se deve a uma conta nova ainda em verificação, a um problema de pagamento na conta ou a um limite de droplets igual a zero. Verifique Faturação e Definições no painel de controlo da DigitalOcean.
It says the key was rejected. Almost always one of three things: a space or a line break copied with it, a key that has expired, or a key that was revoked or regenerated after you copied it. Create a fresh one and paste it again.
It connects, but something later fails. The key authenticates but lacks a permission the action needs. Create a new key with the permissions listed above, then disconnect the old connection and connect the new key.
Como desligar
Open Integrations, find the account and press Disconnect. Before anything changes, the dialog lists everything that uses the account, by name, and says what happens to each:
- Sites using it as their CDN have no CDN after you disconnect, unless you first press Move to a Zinn® CDN beside each one and wait for the move to finish. A footprint-free site always keeps a CDN, so the account cannot be disconnected while one depends on it.
- Sites served from it as their DNS must be switched to Zinn® DNS first; until then the disconnect is refused, because we could no longer change their records.
- Sites deployed through it (edge hosting or a git repository) keep serving the live copy, but updates stop deploying until you reconnect.
- Domains found in it leave your domain list; they stay registered where they are.
- A hosting panel using the login must be removed first.
When you confirm, the stored key is deleted at once. Over the API the first request returns the list and changes nothing, and the disconnect only happens when it is repeated with confirm=true. An AI assistant can show you the list, but it cannot disconnect an account: that is done by a signed-in person.
Disconnecting does not undo what was already done — records, deployments or settings we changed on your account stay as they are. If you think the key itself may have leaked, also revoke it at the vendor; disconnecting removes our copy, not theirs.