import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.cloud.inference.registry_credentials.replace( credential_name="docker-io", project_id=1, password="password", registry_url="registry.example.com", username="username",)
Inference Instances
Update inference registry credential
PUT
/
cloud
/
v3
/
inference
/
{project_id}
/
registry_credentials
/
{credential_name}
Python
Copy
Ask AI
import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.cloud.inference.registry_credentials.replace( credential_name="docker-io", project_id=1, password="password", registry_url="registry.example.com", username="username",)