Closed ykeremy closed 2 weeks ago
<!-- ELLIPSIS_HIDDEN -->
Added scripts and database client functions to rotate and expire outdated API keys for all organizations.
Key points:
get_all_organizations
invalidate_auth_token
cloud/db/db_client.py
scripts/rotate_apikeys.py
cloud_db_client.get_all_organizations
create_org_api_token
scripts/expire_outdated_apikeys.py
cloud_db_client.get_valid_org_auth_tokens
get_valid_org_auth_token
skyvern/forge/sdk/db/client.py
get_valid_org_auth_tokens
Generated with :heart: by ellipsis.dev
Summary:
Added scripts and database client functions to rotate and expire outdated API keys for all organizations.
Key points:
get_all_organizations
andinvalidate_auth_token
incloud/db/db_client.py
.scripts/rotate_apikeys.py
to rotate API keys for all organizations.cloud_db_client.get_all_organizations
to fetch organizations.create_org_api_token
for each organization.scripts/expire_outdated_apikeys.py
to expire outdated API keys for all organizations.cloud_db_client.get_all_organizations
to fetch organizations.cloud_db_client.get_valid_org_auth_tokens
andinvalidate_auth_token
for each organization.get_valid_org_auth_token
inskyvern/forge/sdk/db/client.py
to order tokens by creation date.get_valid_org_auth_tokens
inskyvern/forge/sdk/db/client.py
to fetch valid tokens ordered by creation date.Generated with :heart: by ellipsis.dev