You shouldn't need to do this.  This section is all about grabbing user information from the environment if it's defined there.  For example, the AWS one grabs it from ~/.aws/config.  If you have a standard credentials / config file for CloudStack, this would be the place for it.  Otherwise, you can get rid of this case statement.