Skip to content

Commit

Permalink
SM-874: In example.py, secrets.get should pass the id, not an array o…
Browse files Browse the repository at this point in the history
…f id's
  • Loading branch information
coltonhurst committed Nov 17, 2023
1 parent 39c2982 commit e8a445b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages/python/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
secret = client.secrets().create("TEST_SECRET", "This is a test secret", organization_id, "Secret1234!", [project2.data.id])
secret2 = client.secrets().create("Secret - Don't Delete Me!", "This is a test secret that will stay", organization_id, "Secret1234!", [project2.data.id])
secret_updated = client.secrets().update(secret.data.id, "TEST_SECRET_UPDATED", "This as an updated test secret", organization_id, "Secret1234!_updated", [project2.data.id])
secret_retrieved = client.secrets().get([secret.data.id])
secret_retrieved = client.secrets().get(secret.data.id)

input("Press Enter to delete the secret...")
client.secrets().delete([secret.data.id])
Expand Down

0 comments on commit e8a445b

Please sign in to comment.