Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl registry-credentials create

Create a registry credential, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.

orl registry-credentials create --auth-type <auth-type> --credentials <credentials> --name <name> --server <server>

Saves a registry login for the org: basic takes username and password; aws_ecr takes accessKeyId, secretAccessKey and region; gcp_gcr takes serviceAccountKey. A missing credential field, or an unknown authType, returns 400. The credentials are stored encrypted, and the response is the credential's summary without them.

Flags

FlagTypeRequired
--auth-typebasic, aws_ecr, gcp_gcryes
--credentialsmap[string]stringyes
--namestringyes
--serverstringyes
--bodystringnoa JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"}
--body-filestringnoread the --body JSON object from a file (- for stdin)

This wraps the createOrgRegistryCredential API operation.

On this page