Skip to content

Commit

Permalink
fix: don't return sensitive value
Browse files Browse the repository at this point in the history
  • Loading branch information
konturn committed Jun 13, 2023
1 parent 1cf48b9 commit 3f2e129
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func expandServiceEndpointGcp(d *schema.ResourceData) (*serviceendpoint.ServiceE
func flattenServiceEndpointGcp(d *schema.ResourceData, serviceEndpoint *serviceendpoint.ServiceEndpoint, projectID *uuid.UUID) {
doBaseFlattening(d, serviceEndpoint, projectID)

d.Set("private_key", (*serviceEndpoint.Authorization.Parameters)["PrivateKey"])
d.Set("private_key", d.Get("private_key").(string))
d.Set("client_email", (*serviceEndpoint.Authorization.Parameters)["Issuer"])
d.Set("token_uri", (*serviceEndpoint.Authorization.Parameters)["Audience"])
d.Set("scope", (*serviceEndpoint.Authorization.Parameters)["Scope"])
Expand Down

0 comments on commit 3f2e129

Please sign in to comment.