shunping commented on code in PR #40558:
URL: https://github.com/apache/beam/pull/40558#discussion_r4285144239
##########
sdks/python/apache_beam/utils/secret.py:
##########
@@ -163,7 +194,7 @@ def from_json(
return secret_cls(spec)
else:
raise ValueError(
- f"Unsupported secret manager: '{secret_manager_name}'. Currently
supported options: 'GoogleCloudSecretManager',
'GoogleCloudHsmGeneratedSecretManager'."
+ f"Unsupported secret manager: '{secret_manager_name}'. Currently
supported options: 'GoogleCloudSecretManager',
'GoogleCloudHsmGeneratedSecretManager', 'AwsSecretsManager'."
Review Comment:
Done.
##########
sdks/python/apache_beam/utils/secret.py:
##########
@@ -110,22 +128,35 @@ def parse_secret_option(cls, secret: str) -> 'Secret':
if not secret_manager:
raise ValueError(
f'Invalid secret type {secret_type}, currently only '
- 'GcpSecret and GcpHsmGeneratedSecret are supported')
+ 'GcpSecret, GcpHsmGeneratedSecret, and AwsSecret are supported')
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]