Skip to content
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

HDDS-10692. ozone s3 getsecret prints some internal details #6531

Merged
merged 1 commit into from
Apr 17, 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 @@ -101,9 +101,7 @@ public S3Secret getProtobuf() {

@Override
public String toString() {
return "awsAccessKey=" + kerberosID + "\nawsSecret=" + awsSecret +
"\nisDeleted=" + isDeleted + "\ntransactionLogIndex=" +
transactionLogIndex;
return "awsAccessKey=" + kerberosID + "\nawsSecret=" + awsSecret;
}

@Override
Expand Down
2 changes: 2 additions & 0 deletions hadoop-ozone/dist/src/main/smoketest/security/S3-secret.robot
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ GetSecret success
${output}= Execute ozone s3 getsecret -u testuser2
Should contain ${output} awsAccessKey
Should contain ${output} awsSecret
Should not contain ${output} isDeleted
Should not contain ${output} transactionLogIndex

GetSecret failure
${output2}= Execute and Ignore Error ozone s3 getsecret -u testuser2
Expand Down