Skip to content

feat(key_manager): add cli positional arguments and key usage doc #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ async def generate_data_key(
:param without_plaintext: Default value is `false`, meaning that the plaintext is returned.
Set it to `true` if you do not wish the plaintext to be returned in the response object.
:param region: Region to target. If none is passed will use default region from the config.
:param algorithm: Symmetric encryption algorithm of the data encryption key.
:param algorithm: Encryption algorithm of the data encryption key.
:return: :class:`DataKey <DataKey>`

Usage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class GenerateDataKeyRequest:

algorithm: Optional[DataKeyAlgorithmSymmetricEncryption]
"""
Symmetric encryption algorithm of the data encryption key.
Encryption algorithm of the data encryption key.
"""


Expand Down
2 changes: 1 addition & 1 deletion scaleway/scaleway/key_manager/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def generate_data_key(
:param without_plaintext: Default value is `false`, meaning that the plaintext is returned.
Set it to `true` if you do not wish the plaintext to be returned in the response object.
:param region: Region to target. If none is passed will use default region from the config.
:param algorithm: Symmetric encryption algorithm of the data encryption key.
:param algorithm: Encryption algorithm of the data encryption key.
:return: :class:`DataKey <DataKey>`

Usage:
Expand Down
2 changes: 1 addition & 1 deletion scaleway/scaleway/key_manager/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class GenerateDataKeyRequest:

algorithm: Optional[DataKeyAlgorithmSymmetricEncryption]
"""
Symmetric encryption algorithm of the data encryption key.
Encryption algorithm of the data encryption key.
"""


Expand Down