Can we insert a terraform variable inside Linux virtual machine in Terraform Cloud

I need to copy/inject a token in side Cloud VM (Azure VM) without using userdata.
Since token should not be stored in GIT repo, but VM user data will be(so to avoid that).

Looking for a way to put in a Terraform Cloud workspace variables in side Linux shell at run time in someway (so that its not stored anywhere-State will still have i know)