Skip to content

Commit 517b92c

Browse files
authored
docs(key_manager): remove mention about key manager only supporting symmetric encryption (scaleway#1198)
1 parent 12e415b commit 517b92c

File tree

2 files changed

+2
-2
lines changed
  • scaleway-async/scaleway_async/key_manager/v1alpha1
  • scaleway/scaleway/key_manager/v1alpha1

2 files changed

+2
-2
lines changed

scaleway-async/scaleway_async/key_manager/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ async def encrypt(
629629
) -> EncryptResponse:
630630
"""
631631
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.
633633
:param key_id: The key must have an usage set to `symmetric_encryption` or `asymmetric_encryption`.
634634
:param plaintext: Data size must be between 1 and 65535 bytes.
635635
:param region: Region to target. If none is passed will use default region from the config.

scaleway/scaleway/key_manager/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def encrypt(
629629
) -> EncryptResponse:
630630
"""
631631
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.
633633
:param key_id: The key must have an usage set to `symmetric_encryption` or `asymmetric_encryption`.
634634
:param plaintext: Data size must be between 1 and 65535 bytes.
635635
:param region: Region to target. If none is passed will use default region from the config.

0 commit comments

Comments
 (0)