noobaa / noobaa-operator

Operator for NooBaa - object data service for hybrid and multi cloud environments :cloud: :wrench:
https://www.noobaa.io
Apache License 2.0
103 stars 101 forks source link

Support to update credentials manually to an account #1344

Closed achouhan09 closed 6 months ago

achouhan09 commented 7 months ago

Explain the changes

  1. Added a CLI command to manually update account credentials (access key and secret key). Users can provide the access key and secret key as flags, or they will be prompted to enter them if the flags are not specified. For example: noobaa account credentials --access-key=<access-key> --secret-key=<secret-key>

Additionally, validation checks have been implemented for both keys to ensure the command succeeds only with valid credentials.

Testing Instructions:

  1. make test-cli-flow
shirady commented 7 months ago

@achouhan09, General question - At which stage will the user set the credentials manually to the account?

achouhan09 commented 7 months ago

@achouhan09, General question - At which stage will the user set the credentials manually to the account?

@shirady As per the Epic, user requirement is to access both local and remote enpoints which require different credentials. Also, this feature will help in real object DR solution, allowing application write to s3 endpoint via load balancer and replicate the data in the background.