Anyone know how to figure out where pulumi is getting its credentials from? We are using a service account to access azure and it keeps saying my credential is expired even though I can login with that credential. When I log with a verbosity of 11 it shows the old credential still! I don't see in the log where it is getting this from (but it is a giant log)
b
billowy-army-68599
04/26/2023, 2:35 AM
if you’ve set it in the stack cofnig, it’s stored in the state
q
quiet-hairdresser-18834
04/26/2023, 2:38 AM
I did set it in stack config. So somehow the state is out of sync with the config then?
b
billowy-army-68599
04/26/2023, 2:38 AM
no the service account is used in the provider configuration which is now in state and invalid. You’ll need to remove the old credential manually from state
q
quiet-hairdresser-18834
04/26/2023, 2:48 AM
that worked! Thanks so much! Been at this for way too long! 😄