Skip to content

Commit 0761463

Browse files
rgw/sts: correcting the error message returned for an sts key
to indicate that the key needs to be alphanumeric. Signed-off-by: Pritha Srivastava <[email protected]>
1 parent cd51a12 commit 0761463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_sts.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ int Credentials::generateCredentials(const DoutPrefixProvider *dpp,
8080
buffer::ptr secret(secret_s.c_str(), secret_s.length());
8181
int ret = 0;
8282
if (ret = cryptohandler->validate_secret(secret); ret < 0) {
83-
ldpp_dout(dpp, 0) << "ERROR: Invalid rgw sts key, please ensure its length is 16" << dendl;
83+
ldpp_dout(dpp, 0) << "ERROR: Invalid rgw sts key, please ensure it is an alphanumeric key of length 16" << dendl;
8484
return ret;
8585
}
8686
string error;

0 commit comments

Comments
 (0)