if they are used in the password ${COMMAND_NAME} login --apikey A1B2C_31FWTSxE0zNr-Bvjx0-1kfDEsU7ai7Cg89b7nqp Use an API key to log in ${COMMAND_NAME} login --apikey @my_key_file Use a key file to log in IBMCLOUD_API_KEY=YOUR_API_KEY_VALUE ${COMMAND_NAME} login If environment variable 'IBMCLOUD_API_KEY' is set, login with the API key value specified by it ${COMMAND_NAME} login --cr-token A1B2C_31FWTSxE0zNr-Bvjx0-1kfDEsU7ai7Cg89b7nqp --profile my_profile_name Use a compute resource token to login ${COMMAND_NAME} login --cr-token @my_key_file --profile my_profile_name Use a compute resource key file to login IBMCLOUD_CR_TOKEN=YOUR_CR_TOKEN_VALUE ${COMMAND_NAME} login --profile my_profile_name If both the 'IBMCLOUD_CR_TOKEN' environment variable and the '--profile' flag is set, login as a compute resource IBMCLOUD_CR_TOKEN=YOUR_CR_TOKEN_VALUE IBMCLOUD_CR_PROFILE=YOUR_PROFILE ${COMMAND_NAME} login If both environment variables 'IBMCLOUD_CR_TOKEN' and 'IBMCLOUD_CR_PROFILE' are set, login as a compute resource ${COMMAND_NAME} login --vpc-cri Login as a VPC VSI compute resource using the default trusted profile linked to the instance ${COMMAND_NAME} login --vpc-cri --profile my_profile_id Login as a VPC VSI compute resource using the specified trusted profile IBMCLOUD_CR_PROFILE=YOUR_PROFILE ${COMMAND_NAME} login --vpc-cri Login as a VPC VSI compute resource using the trusted profile specified by the environment variable 'IBMCLOUD_CR_PROFILE' ${COMMAND_NAME} login --sso Request that ${COMMAND_NAME} provide a URL to obtain a one-time password to log in