curl --request GET \
--url https://api.qovery.com/cluster/{clusterId}/argoCdConfig \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"argocd_url": "https://argocd.example.com",
"argocd_token": "REDACTED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_checked_at": "2023-11-07T05:31:56Z"
}Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
curl --request GET \
--url https://api.qovery.com/cluster/{clusterId}/argoCdConfig \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"argocd_url": "https://argocd.example.com",
"argocd_token": "REDACTED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_checked_at": "2023-11-07T05:31:56Z"
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Cluster ID
ArgoCD credentials
Was this page helpful?