You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/key_manager/v1alpha1/api.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -629,7 +629,7 @@ async def encrypt(
629
629
) ->EncryptResponse:
630
630
"""
631
631
Encrypt a payload.
632
-
Encrypt a payload using an existing key, specified by the `key_id` parameter. Only keys with a usage set to `symmetric_encryption` are supported by this method. The maximum payload size that can be encrypted is 64 KB of plaintext.
632
+
Encrypt a payload using an existing key, specified by the `key_id` parameter. The maximum payload size that can be encrypted is 64 KB of plaintext.
633
633
:param key_id: The key must have an usage set to `symmetric_encryption` or `asymmetric_encryption`.
634
634
:param plaintext: Data size must be between 1 and 65535 bytes.
635
635
:param region: Region to target. If none is passed will use default region from the config.
Copy file name to clipboardExpand all lines: scaleway/scaleway/key_manager/v1alpha1/api.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -629,7 +629,7 @@ def encrypt(
629
629
) ->EncryptResponse:
630
630
"""
631
631
Encrypt a payload.
632
-
Encrypt a payload using an existing key, specified by the `key_id` parameter. Only keys with a usage set to `symmetric_encryption` are supported by this method. The maximum payload size that can be encrypted is 64 KB of plaintext.
632
+
Encrypt a payload using an existing key, specified by the `key_id` parameter. The maximum payload size that can be encrypted is 64 KB of plaintext.
633
633
:param key_id: The key must have an usage set to `symmetric_encryption` or `asymmetric_encryption`.
634
634
:param plaintext: Data size must be between 1 and 65535 bytes.
635
635
:param region: Region to target. If none is passed will use default region from the config.
0 commit comments