runai my-credential create
Synopsis
runai my-credential create SECRET_NAME --type <genericSecret|dockerRegistry|ngcApiKey> [flags]Examples
runai my-credential create app-config --type genericSecret --item key=API_URL,value=https://api.example.com --item key=DB_PASS,value=secret
runai my-credential create dockerhub-creds --type dockerRegistry --item user=myuser,password=secret,url=https://index.docker.io/v1/
runai my-credential create ngc-prod --type ngcApiKey --item ngc-api-key=YOUR_KEYOptions
--description string Optional description for the credential (e.g. "My API config" or a single word).
-h, --help help for create
--item stringArray Key=value pairs; required keys depend on --type (see above). For genericSecret only, repeat to add multiple pairs to one credential.
--type string Credential type: genericSecret, dockerRegistry, or ngcApiKey (required)Options inherited from parent commands
SEE ALSO
Last updated