Skip to content

Correct the ServiceAccountKey file-read comment - #12

Merged
dubinsky merged 1 commit into
masterfrom
cursor/service-account-key-read-comment-094b
Nov 12, 2026
Merged

dubinsky merged 1 commit into
masterfrom
cursor/service-account-key-read-comment-094b

Conversation

@dubinsky

Copy link
Copy Markdown
Owner

The comment on writeCredentials said this library does not read the credentials file it writes. That is wrong: existingCredentials reads the file so KeyFile.shouldWriteCredentials can skip the write when the JSON is unchanged.

Pulumi itself still authenticates with GOOGLE_CREDENTIALS from .envrc, never with this file. The copy-script note is unchanged. Comment only.

./gradlew build passes on Temurin 25.

Open in Web Open in Cursor 

existingCredentials reads the key file so KeyFile.shouldWriteCredentials can
skip the write when the JSON is unchanged. Pulumi authenticates with
GOOGLE_CREDENTIALS from .envrc, never with this file.

Co-authored-by: Leonid Dubinsky <dub@podval.org>
@dubinsky
dubinsky merged commit e81eb98 into master Nov 12, 2026
2 checks passed
@dubinsky
dubinsky deleted the cursor/service-account-key-read-comment-094b branch November 18, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant