fix key name for agent credentials;