When using keys in a continuous build system it is always preferable to use a key as opposed to a username/password, as if the key is compromised, it doesn't lead to the username being leaked, as well an any password re-use that might happen.
Describe the solution you'd like
Add a --ossIndexApiKey that allows the usage of the ApiKey instead of username/password.
Describe alternatives you've considered
We can use username/password.
Additional context
General security guidelines prefer to use a key instead of the username/password.
When using keys in a continuous build system it is always preferable to use a key as opposed to a username/password, as if the key is compromised, it doesn't lead to the username being leaked, as well an any password re-use that might happen.
Describe the solution you'd like
Add a
--ossIndexApiKeythat allows the usage of the ApiKey instead of username/password.Describe alternatives you've considered
We can use username/password.
Additional context
General security guidelines prefer to use a key instead of the username/password.