Skip to content

source-amazon-ads: Add secret annotation to refresh_token - #361

Merged
willdonnelly merged 1 commit into
masterfrom
wgd/2026-08-05-amazon-ads-refresh-token
Aug 5, 2026
Merged

source-amazon-ads: Add secret annotation to refresh_token#361
willdonnelly merged 1 commit into
masterfrom
wgd/2026-08-05-amazon-ads-refresh-token

Conversation

@willdonnelly

Copy link
Copy Markdown
Member

The refresh token is the customer's own OAuth credential used to mint their access tokens, so it should be annotated as secret like the sibling client_id and client_secret fields already are.

I believe this is trivially backwards-compatible, since runtime decryption collapses "foobar" and "foobar_sops" values together and isn't too picky about which form was present in the encrypted config or whether that lines up with the schema annotations.

The refresh token is the customer's own OAuth credential used to mint
their access tokens, so it should be annotated as secret like the
sibling client_id and client_secret fields already are.

I believe this is trivially backwards-compatible, since runtime
decryption collapses `"foobar"` and `"foobar_sops"` values together and
isn't too picky about which form was present in the encrypted config or
whether that lines up with the schema annotations.
@willdonnelly
willdonnelly requested a review from a team August 5, 2026 16:00

@Alex-Bair Alex-Bair left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@willdonnelly
willdonnelly merged commit 1465a98 into master Aug 5, 2026
45 checks passed
@willdonnelly
willdonnelly deleted the wgd/2026-08-05-amazon-ads-refresh-token branch August 5, 2026 16:18
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.

2 participants