Capture credentials with CloudCredentials.