Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No idempotency when using secret parameters #88

Open
markgoddard opened this issue Nov 22, 2021 · 1 comment
Open

No idempotency when using secret parameters #88

markgoddard opened this issue Nov 22, 2021 · 1 comment

Comments

@markgoddard
Copy link

Steps to reproduce

  • Run a task that creates a resource with a secret field, e.g. a remote with a client_key.
  • Run the task again.

Expected

The second task status is ok

Actual

The second task status is changed

Analysis

This seems to happen because the client_key is not returned by the API when the object is queried.

@mdellweg
Copy link
Member

That is correct. And there is no way the client tooling can know whether something changed. So given any secret, we always POST the entity and need to assume we changed sth.

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

No branches or pull requests

2 participants