Problem using sha256 password encryption

Hi, I trying to configure my kibana id from the basic auth to use sha256
I am not able to get this working and the documentation is not clear on how the auth_key_sha256 parameter should be defined.
i see both:

@normlee789 the value of that rule should be the calculated as sha256(“username:password”)

yes after some more reading and testing. i got it working.
i was not including the username in the string
all working now.