Skip to content

Commit 5a7c2be

Browse files
docs: add comment explaining version ordering in Secret Manager API
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent 2fd59c9 commit 5a7c2be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ def _write_secret_file(
328328
Optional[str]: Error message if no enabled version is found, None otherwise
329329
"""
330330
# List all enabled versions of the secret
331+
# This ensures versions[0] will be the most recently created enabled version
331332
response = client.list_secret_versions(
332333
request={"parent": secret.name, "filter": "state:ENABLED"}
333334
)

0 commit comments

Comments
 (0)