Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 7638d0a

Browse files
committed
different encrypted key for some scope
1 parent a533e2c commit 7638d0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rotate_keys.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ def main_function():
5454
dependabot_encrypted_secret_key = encrypt(dependabot_public_key,new_secret_key)
5555

5656
#upload secrets
57-
upload_repo_secret(owner_repository,access_key_name,encrypted_access_key,repo_pub_key_id,github_token)
58-
upload_repo_secret(owner_repository,secret_key_name,encrypted_secret_key,repo_pub_key_id,github_token)
59-
upload_dependabot_secret(owner_organization,access_key_name,encrypted_access_key,dependabot_pub_key_id,github_token)
60-
upload_dependabot_secret(owner_organization,secret_key_name,encrypted_secret_key,dependabot_pub_key_id,github_token)
57+
upload_repo_secret(owner_repository,access_key_name,repo_encrypted_access_key,repo_pub_key_id,github_token)
58+
upload_repo_secret(owner_repository,secret_key_name,repo_encrypted_secret_key,repo_pub_key_id,github_token)
59+
upload_dependabot_secret(owner_organization,access_key_name,dependabot_encrypted_access_key,dependabot_pub_key_id,github_token)
60+
upload_dependabot_secret(owner_organization,secret_key_name,dependabot_encrypted_secret_key,dependabot_pub_key_id,github_token)
6161

6262
#delete old keys
6363
delete_old_keys(iam_username, current_access_id)

0 commit comments

Comments
 (0)