# replicated registry add gar

Add a Google Artifact Registry

### Synopsis

Add a Google Artifact Registry using a service account key

```
replicated registry add gar [flags]
```

### Options

```
      --app-ids string             Comma-separated list of app IDs to scope this registry to
      --authtype string            Auth type for the registry (default "serviceaccount")
      --endpoint string            The GAR endpoint
  -h, --help                       help for gar
      --name string                Name for the registry
  -o, --output string              The output format to use. One of: json|table (default "table")
      --serviceaccountkey string   The service account key to authenticate to the registry with
      --serviceaccountkey-stdin    Take the service account key from stdin
      --token string               The token to use to auth to the registry with
      --token-stdin                Take the token from stdin
```

### Options inherited from parent commands

```
      --app string        The app slug or app id to use in all calls
      --debug             Enable debug output
      --profile string    The authentication profile to use for this command
      --skip-validation   Skip validation of the registry (not recommended)
```

### SEE ALSO

* [replicated registry add](replicated-cli-registry-add)	 - add