Skip to content

Commit

Permalink
Merge pull request Azure#14 from SHSongs/main
Browse files Browse the repository at this point in the history
[keyvault] style: format to f-string samples/backup_restore_operations.py
  • Loading branch information
ianychoi authored Jul 30, 2022
2 parents c08a436 + 7f33d11 commit c8d423d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
# if the key already exists in the Key Vault, then a new version of the key is created.
print("\n.. Create Key")
key = client.create_key("keyName", "RSA")
print("Key with name '{0}' created with key type '{1}'".format(key.name, key.key_type))
print(f"Key with name '{key.name}' created with key type '{key.key_type}'")

# Backups are good to have, if in case keys gets deleted accidentally.
# For long term storage, it is ideal to write the backup to a file.
Expand Down

0 comments on commit c8d423d

Please sign in to comment.