added secret_key_base support