def METHOD_NAME(app, access_key_3):
    from encoded.edw_hash import EDWHash
    from snovault import COLLECTIONS
    root = app.registry[COLLECTIONS]
    obj = root.by_item_type['access_key'][access_key_3['access_key_id']]
    pwhash = obj.properties['secret_access_key_hash']
    assert EDWHash.hash(access_key_3['secret_access_key']) == pwhash