Add Azure DevOps connection documentation
This commit is contained in:
parent
facd1f0762
commit
fa2ff35cb2
1 changed files with 125 additions and 0 deletions
125
azure-devops/CONNECTION.md
Normal file
125
azure-devops/CONNECTION.md
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
# Azure DevOps - Configuração de Conexão
|
||||
|
||||
## Visão Geral
|
||||
|
||||
Este documento descreve a configuração de acesso ao Azure DevOps da organização **CN-Squad** (Projeto: Invista FIDC - Nexus).
|
||||
|
||||
## Credenciais e Configurações
|
||||
|
||||
### Arquivo de Configuração SSH
|
||||
**Localização:** `C:\Users\TiagoRibeiro\.ssh\config`
|
||||
|
||||
```
|
||||
Host azure-devops
|
||||
HostName ssh.dev.azure.com
|
||||
User git
|
||||
IdentityFile ~/.ssh/ic-ad
|
||||
IdentitiesOnly yes
|
||||
AddKeysToAgent yes
|
||||
```
|
||||
|
||||
### Arquivo de Autenticação
|
||||
**Localização:** `C:\Users\TiagoRibeiro\.ssh\azure_devops_auth.json`
|
||||
|
||||
```json
|
||||
{
|
||||
"organization": "CN-Squad",
|
||||
"project": "Invista FIDC - Nexus",
|
||||
"pat": "3t5wWZ3hXtj899rImLoei2STZ5Mp1LecfInf5qbxWE6j22UUVIltJQQJ99CBACAAAAAamI5kAAASAZDO2gOJ"
|
||||
}
|
||||
```
|
||||
|
||||
### Chave SSH
|
||||
- **Chave Pública:** `C:\Users\TiagoRibeiro\.ssh\ic-ad.pub`
|
||||
- **Chave Privada:** `C:\Users\TiagoRibeiro\.ssh\ic-ad`
|
||||
- **Email:** tiago.ribeiro@inventcloud.com.br
|
||||
|
||||
## Métodos de Conexão
|
||||
|
||||
### 1. HTTPS com PAT (Funcionando)
|
||||
```bash
|
||||
# Listar projetos
|
||||
curl -u "tiago.ribeiro:<PAT>" "https://dev.azure.com/CN-Squad/_apis/projects?api-version=7.0"
|
||||
|
||||
# Listar repositórios
|
||||
curl -u "tiago.ribeiro:<PAT>" "https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_apis/git/repositories?api-version=7.0"
|
||||
|
||||
# Clonar repositório
|
||||
git clone https://tiago.ribeiro:<PAT>@dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/<repo-name>
|
||||
```
|
||||
|
||||
### 2. SSH (Não funcionando)
|
||||
```bash
|
||||
# Testar conexão SSH
|
||||
ssh -T git@ssh.dev.azure.com
|
||||
|
||||
# Resultado: Permission denied (publickey)
|
||||
```
|
||||
|
||||
**Problema:** A chave pública SSH não está registada no Azure DevOps.
|
||||
|
||||
**Solução:** Adicionar a chave pública em:
|
||||
- Azure DevOps → User Settings → SSH public keys
|
||||
- Adicionar conteúdo de `ic-ad.pub`
|
||||
|
||||
## Repositórios Disponíveis
|
||||
|
||||
Total: **49 repositórios**
|
||||
|
||||
### Repositórios de Infraestrutura
|
||||
| Nome | URL |
|
||||
|------|-----|
|
||||
| tf_oci_clusters | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/tf_oci_clusters |
|
||||
| nats-k8s-config | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/nats-k8s-config |
|
||||
| o11y-adot | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/o11y-adot |
|
||||
| o11y-grafana | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/o11y-grafana |
|
||||
| o11y-jaeger | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/o11y-jaeger |
|
||||
| o11y-victoria-logs | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/o11y-victoria-logs |
|
||||
| o11y-victoria-metrics | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/o11y-victoria-metrics |
|
||||
| azure-pipelines-templates | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/azure-pipelines-templates |
|
||||
| database | https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/_git/database |
|
||||
|
||||
### Microservices (ms-*)
|
||||
- ms-auth-external
|
||||
- ms-auth-sso
|
||||
- ms-barramento
|
||||
- ms-belt
|
||||
- ms-notify
|
||||
- ms-parameters
|
||||
- ms-person
|
||||
- ms-poc
|
||||
- ms-user
|
||||
|
||||
### Micro Frontends (mfe-*)
|
||||
- mfe-auth
|
||||
- mfe-formalization
|
||||
- mfe-person
|
||||
- mfe-poc
|
||||
- mfe-shell
|
||||
- mfe-user
|
||||
|
||||
### Libraries (InvistaFIDC.Lib.*)
|
||||
- InvistaFIDC.Lib.AuditLog
|
||||
- InvistaFIDC.Lib.Bases
|
||||
- InvistaFIDC.Lib.DateHandler
|
||||
- InvistaFIDC.Lib.DocBuilder
|
||||
- InvistaFIDC.Lib.GrpcClient
|
||||
- InvistaFIDC.Lib.Helpers
|
||||
- InvistaFIDC.Lib.HttpClient
|
||||
- InvistaFIDC.Lib.Logging
|
||||
- InvistaFIDC.Lib.Messaging
|
||||
- InvistaFIDC.Lib.Middlewares
|
||||
- InvistaFIDC.Lib.Observability
|
||||
- InvistaFIDC.Lib.Results
|
||||
- InvistaFIDC.Lib.SecretProvider
|
||||
- InvistaFIDC.Lib.Storage
|
||||
- InvistaFIDC.Lib.ValueObjects
|
||||
|
||||
## URLs Úteis
|
||||
|
||||
- **Azure DevOps:** https://dev.azure.com/CN-Squad/
|
||||
- **Projeto:** https://dev.azure.com/CN-Squad/Invista%20FIDC%20-%20Nexus/
|
||||
|
||||
---
|
||||
|
||||
*Documento gerado em: 2026-02-17*
|
||||
Loading…
Reference in a new issue