Could you add an option to specify NGC API Key as an environment variable?

It is pretty cumbersome to enter the key every time I create a new terminal session. The great option would be to be able to specify it in bash initialization files as an environment variable. For example:

export NGC_API_KEY=****

The NGC repository login is performed with the script at “~/” The script is easy to edit/modify for your own environment/preferences.

If you find something that you like for long-term or scale out to multiple instances, you can use the “user-data” to configure instances at launch time.

1 Like