username property
Required if the container image is from a private Docker registry.
The username to login to the Docker registry that contains the image. You
can either specify the username directly by using plain text or specify an
encrypted username by using a Secret Manager secret: projects / * /secrets / * /versions / *
. However, using a secret is recommended for
enhanced security. Caution: If you specify the username using plain text,
you risk the username being exposed to any users who can view the job or
its logs. To avoid this risk, specify a secret that contains the username
instead. Learn more about
Secret Manager and
using Secret Manager with Batch.
Implementation
core.String? username;