secrets property
A mapping of secret names to their corresponding values.
Unlike the Docker CLI, these can be passed by value and do not need to exist on-disk or in environment variables.
Build arguments and environment variables are persistent in the final image, so you should use this for sensitive values.
Similar to Docker's --secret flag.
Implementation
final pulumi.Input<Map<String, String>>? secrets;