pulumi-tencentcloud icon indicating copy to clipboard operation
pulumi-tencentcloud copied to clipboard

fix: do not include accessId, accessKey, securityToken in provider

Open everpcpc opened this issue 2 years ago • 0 comments

Credential should not be stored in provider. Because for temporary credential with security_token, the saved key is not available in next run if token timeout. Resulting in Pulumi always exit with error

Code=AuthFailure.TokenFailure, Message=Token verification failed. Please check your Token is correct.

in next pulumi refresh command.

  • related: alicloud only have ecs_role_name,region,profile in config https://github.com/pulumi/pulumi-alicloud/blob/master/provider/resources.go#L350-L367

everpcpc avatar May 22 '23 09:05 everpcpc