Rename secret to credentialId